Search found 7462 matches

by TomDoan
Tue Mar 10, 2026 9:34 am
Forum: Structural Breaks and Switching Models
Topic: ICSS test on standardized GARCH residuals for parameter stability
Replies: 1
Views: 1039

Re: ICSS test on standardized GARCH residuals for parameter stability

I'm not sure that that will provide any better information than you could get with just the standard @flux test. In particular, it would be unlikely to help with any specific "parameter stability" since it really wouldn't be testing for that, but just for a general process break. The progr...
by TomDoan
Wed Mar 04, 2026 9:57 am
Forum: VARs (Vector Autoregression Models)
Topic: How to incorporate dollarization into SVAR model
Replies: 2
Views: 1223

Re: How to incorporate dollarization into SVAR model

I'm not sure I understand what you are trying to do. Are you studying an economy which transitioned to dollarization, or an economy which has been dollarized throughout the data range? A VAR, or at least a VAR applied to that economy, can't really help much with the first.
by TomDoan
Wed Mar 04, 2026 9:54 am
Forum: General Econometrics
Topic: correlation coefficient between two time series
Replies: 1
Views: 1373

Re: correlation coefficient between two time series

That is and has been a problem for decades. At one point people looked into frequency domain methods (such as cross-spectral analysis) to try to break down the correlation by frequency, where the longer (multi-year) cycles were the main focus. The problem there is that first-differencing series larg...
by TomDoan
Wed Mar 04, 2026 9:42 am
Forum: Looking for Code?
Topic: STAR-GARCH model
Replies: 1
Views: 1127

Re: STAR-GARCH model

The Chan-McAleer AFE 2003 replication actually estimates the STAR-GARCH model first before moving on to the more complicated model. You should read the rather lengthy comments in that post, as the model really doesn't work well in the presence of outliers.
by TomDoan
Wed Mar 04, 2026 9:32 am
Forum: Examples and Sample Code
Topic: Chan-McAleer(2003), STAR-STGARCH model
Replies: 0
Views: 7700

Chan-McAleer(2003), STAR-STGARCH model

chanmcaleer_afe2003.zip is a replication file for Felix Chan & Michael McAleer, 2003. "Estimating smooth transition autoregressive models with GARCH errors in the presence of extreme observations and outliers," Applied Financial Economics , vol. 13, no 8, 581-592. This demonstrates es...
by TomDoan
Wed Mar 04, 2026 9:24 am
Forum: Looking for Code?
Topic: STAR-GARCH MODEL
Replies: 6
Views: 7964

Re: STAR-GARCH MODEL

It's now tsay3p185.rpf. (We changed the naming system to include the edition in the textbook examples).
by TomDoan
Mon Feb 23, 2026 5:35 pm
Forum: State Space Models/DSGE
Topic: question about time-varying trigonometric cycle
Replies: 2
Views: 1593

Re: question about time-varying trigonometric cycle

Have you looked at the harveyp090.rpf example? That does the cycle as a separate trigonometric cycle rather than an AR(2) with complex roots.
by TomDoan
Mon Feb 02, 2026 5:50 pm
Forum: Newsletters
Topic: January 2026 Newsletter
Replies: 0
Views: 4841

January 2026 Newsletter

Jan2026RATSLetter.pdf
(216.5 KiB) Downloaded 584 times
Main Topics
  • RATS Version 11.1
  • RATS e-courses now available at no charge
  • OECD Download now available
  • RATS on RePEc
by TomDoan
Thu Jan 29, 2026 11:03 am
Forum: ARCH and GARCH Models
Topic: DECO GARCH error
Replies: 1
Views: 3376

Re: DECO GARCH error

You can do the whole extra calculation with the single instruction: gset hcov %regstart() %regend() = %mqform(%cvtocorr(q),%diag(%xt(vol,t))) The problem was with trying to do a COMPUTE on a single element of HCOV without the range of the SERIES[SYMM] ever having been set. GSET takes care of that. (...
by TomDoan
Sun Jan 25, 2026 9:39 pm
Forum: ARCH and GARCH Models
Topic: garchmvbootstrap.rpf
Replies: 53
Views: 64812

Re: garchmvbootstrap.rpf

ac_1 wrote: Sun Jan 25, 2026 1:09 pm acKupiecBlockBoot.src is wrong, can it be fixed?
11.1 fixed a problem with parameters or options inside PARMSETS used in SUMMARIZE.
by TomDoan
Sat Jan 24, 2026 1:33 pm
Forum: ARCH and GARCH Models
Topic: garchmvbootstrap.rpf
Replies: 53
Views: 64812

Re: garchmvbootstrap.rpf

Compute the percentage of draws that are on the wrong side of the hypothesized alpha.

sstats(mean) 1 ndraws (alphahatDist>alpha)>>pctover (alphadataDist<alpha)>>pctunder

whichever of pctover and pctunder is appropriate. See the first example in the description of SSTATS.
by TomDoan
Sat Jan 24, 2026 12:16 pm
Forum: State Space Models/DSGE
Topic: a question about the smoothness of the trend
Replies: 8
Views: 19317

Re: a question about the smoothness of the trend

If you put it in the Z (as a addition to the trend state), then it will accumulate in the state (it will be an innovational shift) while you seem to be describing it as a additive shift.
by TomDoan
Sat Jan 24, 2026 11:06 am
Forum: ARCH and GARCH Models
Topic: garchmvbootstrap.rpf
Replies: 53
Views: 64812

Re: garchmvbootstrap.rpf

No. You're not bootstrapping to get an estimate of alpha; the mean across bootstrap samples should be roughly the same as the mean of the data. Instead, you're bootstrapping to get the sampling distribution and to compare that to the assumed value of alpha. So you want to count the percentage of tim...
by TomDoan
Sat Jan 24, 2026 8:12 am
Forum: ARCH and GARCH Models
Topic: garchmvbootstrap.rpf
Replies: 53
Views: 64812

Re: garchmvbootstrap.rpf

No. That's a different type of bootstrap (which is bootstrapping data under the null). You need to compare the results with the assumed value of alpha.
by TomDoan
Fri Jan 23, 2026 1:31 pm
Forum: ARCH and GARCH Models
Topic: UV garch model forecasts
Replies: 95
Views: 2283550

Re: UV garch model forecasts

The series are correct; the display in the Series window isn't. The Series window was designed for displaying information with standard dates (it was originally for displaying RATS data files) and wasn't adapted to mapped dates, which require a separate "time series" of information with t...