Search found 7463 matches
- Mon Jun 15, 2026 12:18 pm
- Forum: Help With Programming
- Topic: do loop syntax updated??
- Replies: 1
- Views: 5101
Re: do loop syntax updated??
} has always been synonymous with END. This appears to work because the { (which is synonymous with BEGIN) at the end of the line gets eaten by the parser. On the other hand, do i=1,3 { ?i } (where the { is on a separate line) doesn't work as the } is closing the {} block and not the do loop. do i=1...
- 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: 17032
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...
- Wed Mar 04, 2026 9:57 am
- Forum: VARs (Vector Autoregression Models)
- Topic: How to incorporate dollarization into SVAR model
- Replies: 2
- Views: 17010
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.
- Wed Mar 04, 2026 9:54 am
- Forum: General Econometrics
- Topic: correlation coefficient between two time series
- Replies: 1
- Views: 17474
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...
- Wed Mar 04, 2026 9:42 am
- Forum: Looking for Code?
- Topic: STAR-GARCH model
- Replies: 1
- Views: 17103
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.
- Wed Mar 04, 2026 9:32 am
- Forum: Examples and Sample Code
- Topic: Chan-McAleer(2003), STAR-STGARCH model
- Replies: 0
- Views: 36534
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...
- Wed Mar 04, 2026 9:24 am
- Forum: Looking for Code?
- Topic: STAR-GARCH MODEL
- Replies: 6
- Views: 20720
Re: STAR-GARCH MODEL
It's now tsay3p185.rpf. (We changed the naming system to include the edition in the textbook examples).
- Mon Feb 23, 2026 5:35 pm
- Forum: State Space Models/DSGE
- Topic: question about time-varying trigonometric cycle
- Replies: 2
- Views: 15021
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.
- Mon Feb 02, 2026 5:50 pm
- Forum: Newsletters
- Topic: January 2026 Newsletter
- Replies: 0
- Views: 29677
January 2026 Newsletter
Main Topics
- RATS Version 11.1
- RATS e-courses now available at no charge
- OECD Download now available
- RATS on RePEc
- Thu Jan 29, 2026 11:03 am
- Forum: ARCH and GARCH Models
- Topic: DECO GARCH error
- Replies: 1
- Views: 19702
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. (...
- Sun Jan 25, 2026 9:39 pm
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 131720
- Sat Jan 24, 2026 1:33 pm
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 131720
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.
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.
- Sat Jan 24, 2026 12:16 pm
- Forum: State Space Models/DSGE
- Topic: a question about the smoothness of the trend
- Replies: 8
- Views: 38120
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.
- Sat Jan 24, 2026 11:06 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 131720
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...
- Sat Jan 24, 2026 8:12 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 131720
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.