Thanks, my regressions are rolling properly. The new results were being added to the prior results. which looked like the window was increasing. I fixed that myself.
Marty
Search found 6 matches
- Thu May 08, 2014 5:55 pm
- Forum: Help With Programming
- Topic: Using the SSTAT command
- Replies: 10
- Views: 13791
- Thu May 08, 2014 10:17 am
- Forum: Help With Programming
- Topic: Using the SSTAT command
- Replies: 10
- Views: 13791
Re: Using the SSTAT command
I'm working on a similar rolling MGARCH regression but I am now using observation numbers in place of dates because I have too many missing values. My problem is that the window is not moving, the start date is the same in all my regressions. My goal is to run 1-year (width=250) regressions every si...
- Wed Sep 04, 2013 8:45 am
- Forum: Help With Programming
- Topic: Using the SSTAT command
- Replies: 10
- Views: 13791
Re: Using the SSTAT command
Yes, I'm trying to create a series of conditional covariances of all four variables.
I added the space and got:
## SX22. Expected Type SERIES[REAL], Got RECTANGULAR[REAL] Instead
>>>>set COV4 <<<<
Do I need a different operator to multiply a constant by a series?
I added the space and got:
## SX22. Expected Type SERIES[REAL], Got RECTANGULAR[REAL] Instead
>>>>set COV4 <<<<
Do I need a different operator to multiply a constant by a series?
- Tue Sep 03, 2013 8:49 am
- Forum: Help With Programming
- Topic: Using the SSTAT command
- Replies: 10
- Views: 13791
Re: Using the SSTAT command
Tom, I was headed in the wrong direction, I don need to use SSTAT, I need to calculate the covariance at each observation. My formula is as follows: set COV4=(%beta(1))*(%beta(3))*ht0(2,4)+(%beta(1))*(%beta(4))*ht0(2,3)+(%beta(2))*(%beta(3))*ht0(1,4)+(%beta(2))*(%beta(4))*ht0(1,3) $ +(%beta(1)))*(sp...
- Tue Aug 13, 2013 2:26 pm
- Forum: Help With Programming
- Topic: Using the SSTAT command
- Replies: 10
- Views: 13791
Re: Using the SSTAT command
Thanks for your help. I will have to think about whether I need to adjust the mean for the lost observation. My final calculation is as follows: set OHR = COV4 / (ht0(2,4)) dis " OHR = " OHR I get this OHR = DISPLAY cannot show SERIES[REAL] It doesn't like me dividing the covariance that I...
- Wed Aug 07, 2013 11:02 am
- Forum: Help With Programming
- Topic: Using the SSTAT command
- Replies: 10
- Views: 13791
Using the SSTAT command
I have the following code that I am using to create rolling MGARCH regressions, I need to calculate the covariance for the four variables each time through. My SSTAT equation returns "NA". Any help will be appreciated. My code is below. compute width=1305 do begin=2001:01,2002:01,22 * lin(...