Re: [R] Impulse response analysis within package vars

2011-05-02 Thread jessezeng
Hi, I have a similar question: ir <- irf(varsumm, impulse=c("prod", "rea", "rpo") n.ahead=20, runs=500, ci=0.95) will calculate the orthogonalized impulse responses from "prod", "rea", and "rpo", i.e. a (1, 1, 1)' vector. What do I need to do to make the impulse (-1, 1, 1)', i.e. I want the the

Re: [R] Impulse response analysis within package vars

2008-08-07 Thread Samuel Bächler
Thank you Bernhard, just rescale the result. Please note that *unit change* refers to the error term. By the same token you can also rescale the impulse responses by making use of the standard deviation of the residuals. Best, Bernhard > Hi Everyone > > > var.2c<-VAR(Canada,p=2,type="const

Re: [R] Impulse response analysis within package vars

2008-08-07 Thread Pfaff, Bernhard Dr.
hello Sam, just rescale the result. Please note that *unit change* refers to the error term. By the same token you can also rescale the impulse responses by making use of the standard deviation of the residuals. Best, Bernhard > >Hi Everyone > > > var.2c <- VAR(Canada,p=2,type="const") > > irf

[R] Impulse response analysis within package vars

2008-08-07 Thread Samuel Bächler
Hi Everyone > var.2c <- VAR(Canada,p=2,type="const") > irf.rw.e <- irf(var.2c,impulse="rw",response=c("e")) ...makes *vars* to compute the orthogonalised impulse responses to a *unit* change in variable rw. Now, if I want to compute the the orthogonalised impulse responses to a *0.25* change in