Displaying 20 results from an estimated 10000 matches similar to: "Vars package - specification of VAR"
2005 Nov 19
3
cointegration rank
Dear R - helpers,
I am using the urca package to estimate cointegration relations, and I
would be really grateful if somebody could help me with this questions:
After estimating the unrestriced VAR with "ca.jo" I would like to impose
the rank restriction (for example rank = 1) and then obtain the
restricted estimate of PI to be utilized to estimate the VECM model.
Is it possible?
It
2006 Jun 29
1
Cointegration Test in R
Hello!
I'm using the blrtest() function in the urca package
to test cointegration relationships.
Unfortunately, the hypothesis (restrictions on beta)
specifies the same restriction on all cointegration vectors.
Is there any possibility to specify different restrictions on
the cointegration vectors?
Are there any other packages in R using cointegration tests?
Thanks and best regards.
Dennis
2005 Feb 25
1
summary method in URCA package doesn't work
I can't figure out how to get the "summary" method in the URCA package to
work.
E.g. when I use the following code fragment in the help for the "ca.jo"
function,
it always tries to use the "summary" method from the "base" package,
not the "urca" package.
How do I force it use the "summary" method of the "urca" package?
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
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")].
2010 Feb 07
1
Out-of-sample prediction with VAR
Good day,
I'm using a VAR model to forecast sales with some extra variables (google
trends data). I have divided my dataset into a trainingset (weekly sales +
vars in 2006 and 2007) and a holdout set (2008).
It is unclear to me how I should predict the out-of-sample data, because
using the predict() function in the vars package seems to estimate my
google trends vars as well. However, I want
2010 Aug 30
1
Johansen test
Hi all, I am working on exporting "Johansen test statistics" (Johansen test:
"ca.jo" in package "urca")to Excel. The problem is that the function output
is not a number, but like this:
#####################################################
# Johansen-Procedure Unit Root / Cointegration Test #
#####################################################
The value of the
2007 Apr 09
1
How to solve differential and integral equation using R?
Hello,
I want to know if there are some functions or packages to solve differential
and integral equation using R.
Thanks.
Shao chunxuan.
[[alternative HTML version deleted]]
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<-
2010 May 12
2
Reading R code help--Beginner
Hi, I am brand new to R and not familiar with the language, though I
have been reading the manuals and making some slow going progress. I am
working with some source code from a Global Vector Auto -Regressive
program written by Ranier Puhr from the R-forge group. I need help
interpreting the processes of the following code.
I am going to
post in parts since it's pretty long:
GVAR
2004 Mar 25
1
S+Finmetrics cointegration functions
Dear all,
S+Finmetrics has a number of very specilised functions. I am
particularly interested in the estimation of cointegrated VARs (chapter
12 of Zivot and Wang). In this context the functions coint() and
VECM() stand out. I looked at package "dse1", but found no comparable
functionality. Are there any other packages you could point me to? In
general, are there efforts for
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
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 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
2012 Aug 21
1
Trace values in the function ca.jo()
Hi all R users,
I'm trying to replicate the same results that are given in a published
article after been granted
the same data that the authors use.
I'm having problems to determine the cointegration rank of my data set using
the Johnasen's trace test.
This trace test is already programmed in the package ur.ca and can be found
in the function
ca.jo().
After I run the ca.jo()
2012 Mar 07
1
VECM simulation
Dear members,
I estimated a vector error correction model (VECM) using the "ca.jo"
function in package "urca". I need to simulate the estimated model using R.
I am aware how to simulate a VAR(p) model. Since the VECM is
in difference form, I can't modify the VAR simulation codes to VECM. May
one help me in this regard please?
Thanks
Mamush
[[alternative HTML version
2012 Jul 12
1
SVAR Restriction on AB-model
Hello!
I'm doing a svar and when I make the estimation the next error message
appears:
In SVAR(x, Amat = amat, Bmat = bmat, start = NULL, max.iter = 1000, :
The AB-model is just identified. No test possible.
Could you help me to interpret it please.
Also I have the identification assumption that one of my shocks is exogenous
relative to the contemporaneous values of the other variables
2008 Oct 15
2
dynlm and lm: should they give same estimates?
Hi,
I was wondering why the results from lm and dynlm are not the same for what I think is the same model.
I have just modified example 4.2 from the Pfaff book, please see below for the code and results.
Can anyone tell my what I am doing wrongly?
Many thanks,
Werner
set.seed(123456)
e1 <- rnorm(100)
e2 <- rnorm(100)
y1 <- ts(cumsum(e1))
y2 <- ts(0.6*y1 + e2)
lr.reg <- lm(y2
2009 Mar 05
8
R on netbooks et al?
Dear useRs,
With the rise of netbooks and 'lifestyle laptops" I am tempted to get one of these to mainly run R on it. Processor power and hard disk space seem to be ok. What I wonder is the handling and feel with respect to R.
Has anyone here installed or is running R on one of these, and if so, what is your experience? Would it be more of a nice looking gadget than a feasable platform
2002 Sep 09
0
Function: VECM (Johansen)
[message bounced because of "octet-stream" attachment which
are not allowed in our mailing lists;
manually fixed and approved, MM]
Dear R-list,
R: 1.5.1
OS: Windows NT
additional packages needed: tseries
for those of you who are interested, pls. find attached a function for
estimating VECM's by employing the method of Johansen (see for example:
Hamilton,