Search found 20 matches
- Thu Apr 16, 2009 10:53 pm
- Forum: Programming
- Topic: Rolling GARCH with forecasting
- Replies: 26
- Views: 92563
Re: Rolling GARCH with forecasting
You need to set sample to the next period for the forecast. smpl !i+1 !i+1 As for the next set of code there is an issue with the line series sigmat2_n = omega_n + (alpha_n * z(-1)^2) + (beta_n * sigmat2_n(-1)) the first observation is calculated as sigmat2_n(t=1) = omega_n + (alpha_n * z(t=0)^2) + ...
- Fri Mar 06, 2009 5:10 pm
- Forum: Estimation
- Topic: How can I run this eqation (GARCH)
- Replies: 5
- Views: 10201
Re: How can I run this eqation (GARCH)
EViews doesn't handle "non-standard" GARCH in Mean specifications. Here is one solution: - You can estimate your garch model without the garch in the mean part. - Save the conditional variance. - Then estimate you model again this time with the conditional variance saved from the previous ...
- Wed Jan 28, 2009 10:29 am
- Forum: Programming
- Topic: How to constraint estimated VAR coefficient to zero?
- Replies: 1
- Views: 5780
Re: How to constraint estimated VAR coefficient to zero?
I have problems in constructing constrained VAR. After estimating the unrestricted VAR, I would like to set its certain coefficients to zero and then translate them to impulse response function to compare the effect with the baseline VAR (unconstrained one), but I haven't found any possible way to ...
- Tue Jan 27, 2009 12:57 pm
- Forum: Programming
- Topic: Group Object in a loop
- Replies: 4
- Views: 10227
Re: Group Object in a loop
Hi gene, thanks for your help. I see what you mean and working with a group object is indeed somewhat cumbersome. But still, there is a error massage saying that ...-1 to -4 is not a valid index. Do you have any further ideas? I tried the syntax both ways Cheers, Adam Then you'll have to build up t...
- Fri Jan 23, 2009 3:32 pm
- Forum: Programming
- Topic: Group Object in a loop
- Replies: 4
- Views: 10227
Re: Group Object in a loop
Here is what I would do... with USA, UK and JPN as the example countries, assuming you have USA_Y, USA_X, UK_Y, UK_X, etc. in your workfile. Notice I don't use the groups. for %country USA UK JPN equation eq_{%country} !mininfocrit=999999 for !lag=-4 to -2 eq_{%country}.ls {%country}_y {%country}_x ...
- Fri Jan 02, 2009 12:05 pm
- Forum: Programming
- Topic: a program for the kpss test
- Replies: 4
- Views: 11934
Re: a program for the kpss test
Hi, I want to use the kpss test but on the version of eviews i am using i don't have this test on the "view" window, i wanted to know if someone knew how to program a kpss test. thanks If you have EViews 4.1 or later, then KPSS should be available. To access the test, open a series in a w...
- Fri Jan 02, 2009 11:48 am
- Forum: Data Manipulation
- Topic: how to create dum variable if there are many obs?
- Replies: 3
- Views: 11913
Re: how to create dum variable if there are many obs?
Alternatively, you can use @RECODE(3) Code your dummy variables with something like the following:Code: Select all
smpl if str<20 series dum1=0 smpl if str>=20 dum1=1
Code: Select all
series dum1 = @recode(str<20,0,1)
- Wed Dec 17, 2008 10:15 pm
- Forum: Estimation
- Topic: What is the Fitted values in GARCH estimation?
- Replies: 6
- Views: 11761
Re: What is the Fitted values in GARCH estimation?
Should I use the information criteria, or loglikelihood or forecasting errors or do you of any other technique. You can use either information criteria (IC) or loglikelihood. IC might be preferred since they are designed specifically with model selection in mind. Check User's Guide's Appendix F. In...
- Tue Dec 16, 2008 10:52 am
- Forum: Programming
- Topic: seasonal adjustment - lunar new year
- Replies: 5
- Views: 10806
Re: seasonal adjustment - lunar new year
Anyone know how to seasonally adjust data that have a lunar new year effect? (e.g. China or Taiwan industrial production data). I know the census x12 program has this option, but I do not see it available in the eviews command. Thanks. X12 has too many options to be completely supported in EViews. ...
- Thu Dec 11, 2008 1:49 pm
- Forum: Estimation
- Topic: GARCH with variables
- Replies: 29
- Views: 70344
Re: GARCH with variables
I'm doing something wrong. In excel i calculated reruns as R(t)=ln(P(t)/P(t-1)). Column "news": news = 1, no news = 0. In eviews mean equation i write: R ar(1); news included in variance regressors. I get: AR(1) -0.058436 Variance Equation C 1.34E-08 RESID(-1)^2 0.103805 GARCH(-1) 0.79242...
- Tue Nov 25, 2008 3:01 pm
- Forum: Bug Reports
- Topic: EGARCH (1,1) FTSE100 daily data Error in Omega Calculation
- Replies: 4
- Views: 12606
Re: EGARCH (1,1) FTSE100 daily data Error in Omega Calculation
EViews use an exponential smooth method to calculate the presample variance, while most other programs use the unconditional variance. My guess is this difference is the cause of the discrepancy between EViews and other GARCH programs. This hypothesis is easily testable—use the unconditional varianc...
- Sun Nov 23, 2008 11:04 pm
- Forum: Estimation
- Topic: Robust Errors in ml estimation
- Replies: 1
- Views: 5282
Re: Robust Errors in ml estimation
I am trying to estimate a GARCH model [in ML object] and need to calculate Bollerlev - Wooldrige robust errors. I don't think you can do this in the ML object. BW-standard errors are calculated after ML estimation and in a particular way that's only applicable to GARCH models. This is not how the M...
- Thu Nov 13, 2008 10:52 pm
- Forum: Estimation
- Topic: GARCH Hedge Ratio Using BEKK
- Replies: 5
- Views: 13797
multivariate GARCH-M
does anyone know whether there is a way of estimating a multivariate GARCH-M in EViews 6? EViews 6 doesn't support ARCH-in-mean for multivariate ARCH models. You can roll your own ARCH-in-mean by following the steps below: 1) estimating a GARCH model first without conditional variance in the mean e...
- Thu Nov 13, 2008 10:28 pm
- Forum: Programming
- Topic: normal bivariate random generator
- Replies: 3
- Views: 13354
Re: normal bivariate random generator
Hi everyone ! Is there some mean to get a random sample from a Normal Bi-variate distribution (known means, std.dev. and rho) ? Thank you ! Regards Phil You want to generate an nx1 vector of normal random numbers u ~ N(0,S), where n x n S is the variance-covariance matrix of u. Let A'A = S, then A^...
- Tue Nov 11, 2008 10:24 pm
- Forum: Estimation
- Topic: Forecasting from a VAR
- Replies: 18
- Views: 63906
Re: Forecasting from a VAR
Hey, I was wondering if there is also a way to obtain the standard errors or standard deviations also. When you solve your model, select the STOCHASTIC option. This will simulation your system. By default, the simulation means of the system will be saved under a new series with a suffix _0m and the...
