Search found 213 matches

by moderator
Sat Jun 02, 2018 10:03 pm
Forum: RATS Procedures
Topic: VARIRF—Impulse responses from VAR
Replies: 4
Views: 16242

Re: VARIRF - Impulse responses from VAR

In this first section, you aren't declaring the type of IMPLABEL: dec vect[strings] shocklabels varlabels compute shocklabels=||"Aggregate demand","Oil","Aggregate Supply"|| compute varlabels=||"Output","Oil Prices","Unemployment rate"|| co...
by moderator
Wed Feb 11, 2015 11:56 am
Forum: Panel Data
Topic: VECM
Replies: 4
Views: 8673

Re: VECM

So should I try to switch my code to using panel FMOLS values instead of the Johanssen results? Would that get rid of the issue? Thanks, What you need to do first is to figure out precisely what form your model is taking. What's heterogeneous and what (if anything) is homogeneous? You might want to...
by moderator
Mon Dec 02, 2013 5:15 pm
Forum: General Econometrics
Topic: Graph Condtional Moments
Replies: 47
Views: 62533

Re: Graph Condtional Moments

In the first part, you have the following definitions as FRML's so you can estimate: frml e = x-a10-a11*x{1}-a12*temp1{1} frml mux = a10+a11*x{1}+a12*e{1} frml muT = a20+a21*f1{1}+a22*f2{1} frml d1 = beta10^2+(beta11^2)*(e{1}-gama11)^2+(beta12^2)*temp2{1}+(alpha11^2)*f1{1}^2+(alpha12^2)*f2{1}^2 frml...
by moderator
Sat May 11, 2013 5:53 pm
Forum: RATS Procedures
Topic: THRESHTEST—Regression with threshold breaks
Replies: 13
Views: 25468

Re: THRESHTEST - Regression with threshold breaks

So you aren't estimating the break values, but want to input them? You don't need to use bootstrapping in that case since that would have standard asymptotics.
by moderator
Wed Mar 27, 2013 12:43 pm
Forum: Other Time Series Analysis
Topic: VAR with time-varying parameters and stochastic volatility
Replies: 51
Views: 178086

Re: VAR with time-varying parameters and stochastic volatili

I am visiting this topic after a while. The codes by Todd or more generally the DLM routine in RATS use the Durbin-Koopman instead of Carter-Kohn to draw the states. I was just wondering if there are any specific advantages for doing so. They are distinct algorithms for doing the same type of draw,...
by moderator
Fri Oct 12, 2012 5:08 pm
Forum: CATS News and Announcements
Topic: RATS Handbook for the Cointegrated VAR Model: NEW!
Replies: 0
Views: 184028

RATS Handbook for the Cointegrated VAR Model: NEW!

At long last, we've completed work on reproducing the results from the second half of Juselius' Cointegrated VAR Model textbook. We've also made significant revisions to the coverage of the first half of the book that we published a couple of years ago. We think the completed handbook will be a valu...
by moderator
Wed Sep 26, 2012 11:30 am
Forum: Help With Programming
Topic: Saving after using dedit
Replies: 1
Views: 6273

Re: Saving after using dedit

You need to use the QUIT instruction, not CLOSE, to close a file that has been opened using DEDIT. So, try using QUIT instead. If it still doesn't seem to work, email us at support@estima.com with your full contact information and we'll take a look.

Regards,
Tom Maycock
by moderator
Tue Sep 25, 2012 11:59 am
Forum: Help With Programming
Topic: %FRACTILES
Replies: 3
Views: 6253

Re: %FRACTILES

You would have to copy each of the cross sections into a series in order to do that. (Though you might find that setting this all up as a RECT[SERIES] would be easier). If you keep the same arrangement, you would need something like (for statistic (i,j)) set temp 1 bootdraws = beta(t)(i,j) then do t...
by moderator
Tue Sep 18, 2012 11:32 am
Forum: Other Time Series Analysis
Topic: From Cointegration to estimation
Replies: 37
Views: 229153

Re: From Cointegration to estimation

If the variables aren't cointegrated, then you can run the regression in differences. You might also have to deal with some short-term dynamics, but the first difference regression would be the place to start.
by moderator
Tue Sep 04, 2012 10:44 am
Forum: Help With Programming
Topic: looping ~error
Replies: 2
Views: 5170

Re: looping ~error

Add an explicit

source dfunit.src

before the loop.
by moderator
Thu Aug 23, 2012 9:21 am
Forum: Other RATS Usage Questions
Topic: Count number of series loaded into memory
Replies: 4
Views: 12030

Re: Count number of series loaded into memory

One way to do it is to use the SCRATCH command, which is normally used to create series by number. The last parameter on SCRATCH can be used to save the number one less than that of the first new series created, so if you tell it to create zero series: scratch 0 / count The variable "count"...
by moderator
Thu Aug 02, 2012 4:57 pm
Forum: VARs (Vector Autoregression Models)
Topic: IRF minimum distance estimator
Replies: 16
Views: 23805

Re: IRF minimum distance estimator

Ricardo, Looking at the code, I assume this command > compute ceemetric=ceemetric+(theoretical(i,1)(h)-estimated(i,1)(h))^2/%sigma(i,1)(h) is giving you an error like this ## SX17. Missing Operator or Adjacent Operands >>>>(h))^2/%sigma(i,1)(<<<< The %SIGMA array is just a regular two-dimensional sy...
by moderator
Wed Aug 01, 2012 8:27 am
Forum: State Space Models/DSGE
Topic: DSGE Canova and Menz (2011)
Replies: 4
Views: 10954

Re: DSGE Canova and Menz (2011)

You asked a similar question about a log-linearized DSGE, and the answer is quite similar---you use DLM with TYPE=SIMULATE. You just don't have to invert the log-linearization. An example is the following
novp024.rpf
Example for Simulation of DSGE
(3.86 KiB) Downloaded 1482 times
by moderator
Tue Jul 24, 2012 9:31 am
Forum: ARCH and GARCH Models
Topic: Garch models for stock returns
Replies: 2
Views: 5430

Re: Garch models for stock returns

If you are new to RATS, the first place to start is with the Introduction to RATS book. Work through at least the first few examples presented there. Spending 30 to 60 minutes doing that should give you a the fundamental skills you'll need, including the ability to read in data, generate graphs, do ...
by moderator
Sun Jul 22, 2012 9:44 am
Forum: Other Time Series Analysis
Topic: URADF vs. ADFAUTOSELECT
Replies: 15
Views: 23097

Re: URADF vs. ADFAUTOSELECT

See the updated description of @ADFAUTOSELECT. It should answer your question. BTW, if that's annual data, your maximum lags are way too high. 3 or 4 is the most you should even consider.