Displaying 20 results from an estimated 6000 matches similar to: "saving multiple panes to PNG"
2012 Apr 02
2
Default parameter values in R functions?
Hi all,
I have a newbie question:
If I have a function with the following documentation:
ca.jo(x, type = c("eigen", "trace"), ecdet = c("none", "const", "trend"), K = 2,
spec=c("longrun", "transitory"), season = NULL, dumvar = NULL)
Let's take "type" as an example... if I omit this parameter when
calling the
2007 Oct 13
2
a question on impulse responses
Dear R users,
I am using the vars package to calculate the impulse response functions and the forecast error variance decomposition of a VAR model. Unfortunately I do not know whether these functions assume unit or one standard deviation shocks. I tried to look into the code of these functions, but in vain: neither irf, nor vars::irf, nor vars:::irf output the code of the functions. Does someone
2007 Sep 12
1
vars package, impulse response functions ??
I am fitting a reduced form VAR model using VAR in the vars library. I have
several endogenous variables, and two exogenous variables. I would like to
explore the effects of a shock to one of the exogenous variables on one of
the endogenous variables. Using irf in the vars library only calculates the
irf for the endogenous variables, this is obviously by design, is there some
theoretical
2011 Mar 30
1
VECM with UNRESTRICTED TREND
Dear All,
My question is:
how can I estimate VECM system with "unrestricted trend" (aka "case 5")
option as a deterministic term?
As far as I know, ca.jo in urca package allows for "restricted trend"
only [vecm
<- ca.jo(data, type = "trace"/"eigen", ecdet = "trend", K = n, spec =
"transitory"/"longrun")].
2011 Nov 11
1
Fwd: Use of R for VECM
----- Forwarded Message -----
From: vramaiah at neo.tamu.edu
To: "bernhard pfaff" <bernhard.pfaff at pfaffikus.de>
Sent: Friday, November 11, 2011 9:03:11 AM GMT -06:00 US/Canada Central
Subject: Use of R for VECM
Hello Fellow R'ers
I am a new user of R and I am applying it for solving Bi-Variate (Consumption and Output) VECM with Co-Integration (I(1)) with three lags on
2007 Jul 09
1
ca.jo
Dear R users;
I'm using ca.jo for a VECM model. Is there a way that I can get sd/p-value
to see whether coefficients estimated are statistical significant? Thank
you
Yours,
Yihsu
[[alternative HTML version deleted]]
2008 Mar 20
1
Cointegration no constant
Hi,
I am trying to estimate a VECM without constant using the following code:
data(finland)
sjf <- finland
sjf.reg<-ca.jo(sjf, type = c("eigen"), ecdet = c("none"), K = 2,spec=c("transitory"), season = NULL, dumvar = NULL)
cajools(sjf.reg)
While the cointegration test does not use a constant, it is used in the cajools which I do not want. I am sure I am
2011 Jan 13
2
standard errors in johansen test
Dear all,
I have a question. How to get the standard errors of alpha and beta
when using "ca.jo" to test cointergration?
In the paper by Bernhard Pfaff and Kronberg im Taunus “VAR, SVAR and SVEC
Models: Implementation Within R Package” pp.24-25. The standard errors are
listed on the table 5 following the code:
R> vecm.r1 <- cajorls(vecm, r = 1)
I tried this in my Mac R, but
2010 Aug 14
1
Help with graphing impulse response functions
Dear colleagues/contributors,
I'd be pleased if someone could provide insights on how to plot impulse response functions in a format that can easily be copied in a word document just as plotting time-series of variables.
I had followed the outline suggested by Benhard Pfaff [see http://127.0.0.1:17693/library/vars/html/irf.html] but I am unable to get the impulse response functions in a
2007 Oct 12
1
calculate impulse responses
Dear R users,
I need perform structural analysis on a no intercept VAR model. Unfortunately the functions irf.VAR and dfev that come with the MSBVAR package only work with objects output by the reduced.form.var function, which seems to only evaluate VAR models with intercept. Is there a way to suppress the estimation of intercept term in reduced.form.var? Do I need to modify the code, and if I
2012 May 25
1
Rolling Sample VAR
hi guys,
I am using trivariate VAR model to get 10 step ahead orthogonalized impulse
response functions. I want to use rolling sample analysis on the
coefficients of the irf but I have no idea how to do that. I looked through
the forums but I can't seem to find any solutions.
Any suggestions would be helpful.
B
--
View this message in context:
2012 Jul 09
1
Using loops to create matrices where the variables is called with $
Hi there,
I am trying to make a VECM model which does a loop to pull of long run
impact coefficients. The problem is that to calculate these for a,b,c I use
the irf() function and they are stored in irf$a, irf$b, irf$c. What I would
really like is to be able to call irf$[variablename(x)] where I can loop
through i:n for x and it will pull out the right variable. This is a bit of
a waste of time
2012 May 25
2
Collecting results of a test with array
Dear contributors
I have tried this experiment:
x<-c()
for (i in 1:12){
x[i]<-list(cbind(x1[i],x2[i])) #this is a list of 12 couples of time
series I am using to perform a test
} # that compares them 2 by 2
#
#################
#trace statistic
test<-data.frame()
cval<-array( , dim=c(2,3,12))
for (i in 2:12){
for (k in 1:2){
for (j in 1:3){
result[k,j,i]<-
2007 Aug 09
0
Interpret impulse response functions from irf in MSBVAR library
Hello,
I am wondering if anyone knows how to interpret the values returned by irf
function in the MSBVAR library. Some of the literature I have read indicates
that impulse responses in the dependent variables are often based on a 1
unit change in the independent variable, but other sources suggest that they
are based on a a change of 1 standard deviation. Any ideas which irf uses to
compute the
2010 May 30
1
Calling fft from C
Hi
I have made a R function 'convolve2' for convolution of two real
valued vectors based on Rs 'convolve' with option type="open" - see
below.
(exp.length and irf.length are variables set in another part of the program)
I wish to implement the function convolve2 in C and use it in a
function used from R with .Call - e.g. I need to call fft in C.
All I can find in the
2001 Nov 27
2
printing captions in multiple panes
Dear List,
I would like to add captions to a set of graphics. The graphs are each
composed of two scatter plots in an upper and lower pane.
I'd like to add a caption below the lower pane. The troubel I'm hitting is
that in order to fit the caption using mtext, I must increase the margins
for both panes-- these shrinks my plots considerably and leaves a big
blank area.
The second trouble
2011 Apr 29
1
question of VECM restricted regression
Dear Colleague
I am trying to figure out how to use R to do OLS restricted VECM regression. However, there are some notation I cannot understand.
Please tell me what is 'ect', 'sd' and 'LRM.dl1 in the following practice:
#OLS retricted VECM regression
data(denmark)
sjd <- denmark[, c("LRM", "LRY", "IBO", "IDE")]
sjd.vecm<-
2011 Nov 06
1
VAR and VECM in multivariate time series
Hello to everyone!
I am working on my final year project about multivariate time series. There
are three variables in the multivariate time series model.
I have a few questions:
1. I used acf and pacf plot and find my variables are nonstationary. But in
adf.test() and pp.test(), the data are stationary. why?
2.I use VAR to get a model. y is the matrix of data set and I have made a
once
2008 Apr 09
2
New patches to Souffleur
Hello all,
I am really excited to post these new patches since a lot of things
have been done to the software lately. I know, I still have to write a
README file but I am struggling to get a "basic" functional version out
before I can concentrate efforts on documentation (I know, not the best
practice).
Anyway, here we go with the diffs and its comments:
* MediaInfo.py.diff
2011 Apr 16
1
cajolst
Dear R users,
I am quite new to R, so most of the problems I've encountered working with
it are technical, absurd or simple things. Sorry.
Despite this, I am struggling with cajolst function for a day and still
nothing. The problem is that I can't get an estimate for the break point
(which is in the slot "bpoint") by using cajolst function.
Finally, I've tried Johansen and