Search found 7369 matches

by TomDoan
Thu Jun 26, 2025 7:55 pm
Forum: Examples and Sample Code
Topic: REPORTMATRIX—Use of REPORT for a cross table of statistics
Replies: 0
Views: 22001

REPORTMATRIX—Use of REPORT for a cross table of statistics

REPORTMATRIX uses REPORT to create a cross table of test statistics for pairs of series (in this case "spillover" tests for a BEKK-GARCH model).

Detailed Description
by TomDoan
Thu Jun 26, 2025 7:48 pm
Forum: Examples and Sample Code
Topic: INCLANTIAO—ICSS Examination of Variance Breaks
Replies: 0
Views: 1692

INCLANTIAO—ICSS Examination of Variance Breaks

INCLANTIAO is a replication for an example from Inclan and Tiao(1994). Most of the work is done by the @ICSS procedure.

Detailed Description
by TomDoan
Thu Jun 26, 2025 7:45 pm
Forum: RATS Procedures
Topic: ICSS—Variance Break Procedure
Replies: 0
Views: 34645

ICSS—Variance Break Procedure

@ICSS is a procedure for performing the ICSS procedure for searching for breaks in variance using the algorithm described in Inclan and Tiao, "Use of Cumulative Sums of Squares for Retrospective Detection of Changes in Variance", JASA 1994, vol 89, pp 913-923. There are new options for ch...
by TomDoan
Thu Jun 26, 2025 7:43 pm
Forum: Examples and Sample Code
Topic: IRFCONSTRAIN—SVAR with constraints at arbitrary horizons
Replies: 0
Views: 1603

IRFCONSTRAIN—SVAR with constraints at arbitrary horizons

IRFCONSTRAIN is an example of the use of the @IRFRESTRICT procedure to put restrictions at steps other than just impact and long-run.

Detailed Description
by TomDoan
Thu Jun 26, 2025 10:37 am
Forum: Examples and Sample Code
Topic: WZSAMPLER—Waggoner-Zha Gibbs Sampler
Replies: 0
Views: 8066

WZSAMPLER—Waggoner-Zha Gibbs Sampler

WZSAMPLER uses the Waggoner-Zha(2003), “A Gibbs sampler for structural vector autoregressions,” Journal of Economic Dynamics and Control, 28(2), 349–366 to analyze the A form model from the CVMODEL.RPF example. (The WZ sampler only applies to A form models).

Detailed Description
by TomDoan
Thu Jun 26, 2025 10:34 am
Forum: Examples and Sample Code
Topic: GARCHDCCFORECAST—Forecast of DCC Model
Replies: 0
Views: 2601

GARCHDCCFORECAST—Forecast of DCC Model

GARCHDCCFORECAST is an example of out-of-sample forecasting of a DCC GARCH model. DCC has no closed form for forecasting so this uses a two-step approximation.

Detailed Description
by TomDoan
Thu Jun 26, 2025 6:43 am
Forum: Examples and Sample Code
Topic: NNDYNFORE—Dynamic forecasts with neural network
Replies: 0
Views: 7180

NNDYNFORE—Dynamic forecasts with neural network

NNDYNFORE is an example of multi-step ahead forecasting using a neural network model.

Detailed Description
by TomDoan
Mon Jun 16, 2025 12:45 am
Forum: Help With Programming
Topic: Problem with a rolling regression
Replies: 2
Views: 5082

Re: Problem with a rolling regression

It seems to work fine when I do it with random data. I would need to see the more complete program to see if there is something about how you are setting the loop control values. If you are having problems with an apparent infinite loop, you probably can only debug it by taking the NOPRINT off the B...
by TomDoan
Wed Jun 11, 2025 12:01 pm
Forum: Data: Reading, Writing, Transforming
Topic: summing available daily observations to monthly
Replies: 2
Views: 1837

Re: summing available daily observations to monthly

RATS tries to guess the date scheme in the input data and (here) doesn't do a very good job of it. However, it will work if you force it to recognize the input data as daily: cal(d,save=forcedaily) 1990:1:1 cal(m) 1990:1 comp stsmpl=1990:1, endsmpl=2019:12 all endsmpl smpl stsmpl endsmpl open data M...
by TomDoan
Wed Jun 11, 2025 11:56 am
Forum: State Space Models/DSGE
Topic: How to estimate the MF-VAR model in Winrats?
Replies: 3
Views: 2109

Re: How to estimate the MF-VAR model in Winrats?

It's a mixed frequency state-space model.
by TomDoan
Wed Jun 11, 2025 9:48 am
Forum: State Space Models/DSGE
Topic: How to estimate the MF-VAR model in Winrats?
Replies: 3
Views: 2109

Re: How to estimate the MF-VAR model in Winrats?

For a (fairly complicated) example, see Arouba, Diebold and Scotti(2009) which has daily, weekly and quarterly data.
by TomDoan
Tue Jun 10, 2025 10:46 pm
Forum: Structural Breaks and Switching Models
Topic: A TAR model with three regimes
Replies: 1
Views: 2045

Re: A TAR model with three regimes

That's a really crude way to handle that. Use the @MULTIPLEBREAKS procedure instead. Note, however, that if you don't really find even one break, you are very unlikely to find two.
by TomDoan
Tue Jun 10, 2025 9:29 pm
Forum: Data: Reading, Writing, Transforming
Topic: write out colunm name
Replies: 6
Views: 3249

Re: write out colunm name

That's a known bug that will be fixed soon. However, you can just use the DFORMAT option to set the format for the date column.
by TomDoan
Thu Jun 05, 2025 5:54 pm
Forum: State Space Models/DSGE
Topic: Variables Defined in DLM
Replies: 3
Views: 2402

Re: Variables Defined in DLM

But if you want to classify as <1%, 1-5%, 5-10%, can't you do that just as well with the values of %TSTATS as you could with the significance levels? The significance levels will be computed as N(0,1)'s from the t-stats.
by TomDoan
Thu Jun 05, 2025 1:51 pm
Forum: Examples and Sample Code
Topic: Terasvirta 1994 STAR Models
Replies: 2
Views: 11146

Re: Terasvirta 1994 STAR Models

That appears to be just a repackaging of @RegSTRTest with time as the transition variable.