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 failed.
Thanks.
--
Best Regards
Walter an ACCA Affiliate (Association of Chartered Certified
Accountants)
I COME FROM CHINA
我有一所房子,面朝大海,春暖花开
[[alternative HTML version deleted]]
Hi Walter,
The paper can be found at
http://cran.r-project.org/web/packages/vars/vignettes/vars.pdf It seems
that you need the "vars" library before trying the function you
mention.
What happens if you do the following?
install.packages("vars")
require(vars)
?cajorls
?ca.jo
HTH,
Jorge
On Wed, Jan 12, 2011 at 10:35 PM, Walter Zhang <> wrote:
> 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 failed.
>
> Thanks.
>
>
> --
> Best Regards
>
> Walter an ACCA Affiliate (Association of Chartered Certified
> Accountants)
>
> I COME FROM CHINA
>
> 我有一所房子,面朝大海,春暖花开
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
[[alternative HTML version deleted]]
Hi,
I have the very same problem of this here
http://grokbase.com/t/r/r-help/111d386yn9/r-standard-errors-in-johansen-test,
I replicated all the steps in the Papar:
http://cran.r-project.org/web/packages/vars/vignettes/vars.pdf
untill here:
R> vecm <- ca.jo(Canada[, c("rw", "prod",
"e", "U")], type = "trace",
+ ecdet = "trend", K = 3, spec = "transitory")
R> vecm.r1 <- cajorls(vecm, r = 1)
then I obtained the standard errors for the loading factors (alphas)
with this command:
> summary(vecm.r1$rlm)
How do I get the equivalent for the betas?
in the paper (pg. 25 tab.5)
http://cran.r-project.org/web/packages/vars/vignettes/vars.pdf
these standard errors are used to assess the significance of the
cointegration factors ... this is what I need to do.
could anyone help with this?
thanks in advance,
vitaliano