Re: [R] : How wo read stability VAR plot?

2009-09-11 Thread Pfaff, Bernhard Dr.
>
>
>I have made program code for Vector Auto Regressive in terms
>of completing my undergraduate program using R. I have an important
>question related to my project.
>If I have:
>data(Canada)
>var.2c <- VAR(Canada, p = 2, type = "const")
>var.2c.stabil <- stability(var.2c, type = "OLS-CUSUM")
>I want to get the value of plot(var.2c.stabil). Can you 
>help me what should I do or write so the result can occur?

Dear Arif,

the stability function employs the package strucchange. Have a look at

str(var.2c.stabil$stability)

and then, for a particular equation (e.g. unemployment)

str(var.2c.stabil$stability$U)


the data for the process is contained in the list element "process".

HTH,
Bernhard

> 
>It means if I have source code:
>data(Canada)
>x=acf(Canada)
> 
>I will get the value of acf if I write x in R. Thanks in advance
>_
>
>
>ry-edit.aspx
>   [[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.
>
*
Confidentiality Note: The information contained in this ...{{dropped:10}}

__
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.


[R] : How wo read stability VAR plot?

2009-09-11 Thread Arif Chandra

I have made program code for Vector Auto Regressive in terms
of completing my undergraduate program using R. I have an important
question related to my project.
If I have:
data(Canada)
var.2c <- VAR(Canada, p = 2, type = "const")
var.2c.stabil <- stability(var.2c, type = "OLS-CUSUM")
I want to get the value of plot(var.2c.stabil). Can you help me what should 
I do or write so the result can occur?
 
It means if I have source code:
data(Canada)
x=acf(Canada)
 
I will get the value of acf if I write x in R. Thanks in advance
_


ry-edit.aspx
[[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.