Search found 48 matches
- Mon Jun 20, 2016 5:24 am
- Forum: VARs (Vector Autoregression Models)
- Topic: Variance Decomposition
- Replies: 13
- Views: 17547
Re: Variance Decomposition
Is it possible for transform two correlated series into uncorrelated by doing cholesky decomposition?
- Sun Jun 19, 2016 7:34 am
- Forum: VARs (Vector Autoregression Models)
- Topic: Variance Decomposition
- Replies: 13
- Views: 17547
Re: Variance Decomposition
Hello Tom!How Can I compute a variance decomposition for two series in a linear regression(y dependent variable,x independent variable) as in a VAR system?Thanks in advance!
- Mon May 30, 2016 5:16 am
- Forum: Other Time Series Analysis
- Topic: Shock to exogenous variable
- Replies: 3
- Views: 6942
Re: Shock to exogenous variable
Thank you for your help,the typo t+h is becuase I want to calulate sth like linreg(lags=30,lwindow=newey) LIND # constant LIND{1} LIND{2} SHOCK{1} linreg(lags=30,lwindow=newey) LIND # constant LIND{2} LIND{3} SHOCK{2} linreg(lags=30,lwindow=newey) LIND # constant LIND{3} LIND{4} SHOCK{3} linreg(lags...
- Thu May 26, 2016 7:31 am
- Forum: Other Time Series Analysis
- Topic: Shock to exogenous variable
- Replies: 3
- Views: 6942
Shock to exogenous variable
Hello,Tom!I got a question about impulse response of linear regression.The regression equation is attached,What should i do to construct the IRF of variable Yt to shock of variable Zt,like considering the impulse of output to oil price shock...should I use impulse option or forecast?
- Tue Apr 19, 2016 7:46 am
- Forum: Looking for Code?
- Topic: Calculate the fitted value
- Replies: 1
- Views: 5563
Calculate the fitted value
Hello ,Tom!I am trying to estimate a two-variable model where the squared VIX(actural data) and the past realized variance(RVAR) are used as predictors,the equation is attached.How can i get the fitted value in rats?
- Fri Apr 08, 2016 9:16 pm
- Forum: Graphics, Reports, and Other Output
- Topic: plotting IRFs - line pattern
- Replies: 10
- Views: 14491
Re: plotting IRFs - line pattern
I used the print window as in the graphs I attached( i am sorry that I am using the Japanese version right now,so i will try to make it clealy). Step1,I clicked the print button to produce a print window. in step2 i checked the button which means[ export to file] in the print window. In step3 i chan...
- Fri Apr 08, 2016 7:43 am
- Forum: Graphics, Reports, and Other Output
- Topic: plotting IRFs - line pattern
- Replies: 10
- Views: 14491
Re: plotting IRFs - line pattern
Thank you very much!It works fine. And I got another question about printing a landscape graph.This is the code open styles comcom.txt grparm(import=styles) env gsave="c:\Estima\test.rgf" gformat=LANDSCAPE spgraph(vfields=3,hfields=4,STYLE=SYMBOLS) spgraph(rgf="c:\Estima\comp1.rgf&quo...
- Thu Apr 07, 2016 5:46 am
- Forum: Graphics, Reports, and Other Output
- Topic: plotting IRFs - line pattern
- Replies: 10
- Views: 14491
Re: plotting IRFs - line pattern
Hello Tom! I used this code to create a style file, the lines and colors are OK.But it did not produce any symbol I want ,is there sth wrong?
Code: Select all
symbol_color_1=0,000000,1.0
symbol_color_2=7,0000FF,1.0
symbol_color_3=9,FF0000,1.0
- Thu Mar 31, 2016 10:19 pm
- Forum: Graphics, Reports, and Other Output
- Topic: Export graphs directly to PNG, PDF, or other formats?
- Replies: 18
- Views: 30743
Re: Export graphs directly to PNG, PDF, or other formats?
I am sorry ,it means when I add the eps graphs produced by Rats in a latex file ,the error as attached appears .... i have tried many other ways to import the graphs produced by rats into latex,such as converting the wmf format into png,it works fine but the graph is not that clear.
- Wed Mar 30, 2016 9:46 pm
- Forum: Graphics, Reports, and Other Output
- Topic: Export graphs directly to PNG, PDF, or other formats?
- Replies: 18
- Views: 30743
Re: Export graphs directly to PNG, PDF, or other formats?
It means i click the graph and save it as an eps graph as shown in graph attached ,but it failed to appear in latex.
And I also change the root into ,the graph was saved but it also cannot be read in latex this time.
And I also change the root into
Code: Select all
environment gsave="c:\Estima\output.eps" gformat=portrait- Wed Mar 30, 2016 3:16 am
- Forum: Graphics, Reports, and Other Output
- Topic: Export graphs directly to PNG, PDF, or other formats?
- Replies: 18
- Views: 30743
Re: Export graphs directly to PNG, PDF, or other formats?
Hello Tom! I need you to help me exporting the graphs in eps format,I failed with the code environment gsave="c:\output.eps" gformat=portrait ,and also failed with clicking the graph to export in eps. i don`t know how to solve this .I need to add the graphs in latex. Can you help me? Thank...
- Sat Mar 26, 2016 5:47 am
- Forum: Graphics, Reports, and Other Output
- Topic: plotting IRFs - line pattern
- Replies: 10
- Views: 14491
Re: plotting IRFs - line pattern
Thank you very much!It woks fine. And I'm sorry for that I did not make it clearly.Actually I am running this program now for the US data,and I run it again for Japan data,the question is how can i get the impulse responses of the same variable such as the assets in one single graph? Thanks in advan...
- Thu Mar 24, 2016 9:50 pm
- Forum: Graphics, Reports, and Other Output
- Topic: plotting IRFs - line pattern
- Replies: 10
- Views: 14491
Re: plotting IRFs - line pattern
Hello Tom!I got some questions about compute spgraph,first I got errors like Subscripting Error. Had Array Reference with (). Needed (INTEGER,INTEGER) ## SX27. Illegal Combination of Data Types for Operation >>>>ader=shocklabels(5)<<<< when i compute my code compute shocklabels=||"Y","...
- Wed Mar 23, 2016 4:21 am
- Forum: Examples and Sample Code
- Topic: Bjornland-Leitemo JME 2009
- Replies: 17
- Views: 114190
Re: Bjornland-Leitemo JME 2009
Hello Tom!I have no idea about how to generate the variance composition in this procedure ,is there any examples?
- Thu Feb 18, 2016 6:07 am
- Forum: VARs (Vector Autoregression Models)
- Topic: Variance Decomposition
- Replies: 13
- Views: 17547
Re: Variance Decomposition
I have no idea about how to generate the variance decompositon,should I use errors(model=varmodel,steps=nstep,factor=swish)? *1. Cholesky factorizations * compute f=%decomp(vsigma) compute fd=%xdiag(f) ewise f(i,j)=f(i,j)/fd(j) impulse(steps=nstep,model=varmodel,responses=responsefirst,factor=f) com...