Search found 53 matches

by strypste
Fri Mar 25, 2016 1:55 am
Forum: Econometric Discussions
Topic: Bai Perron and Trim factor
Replies: 1
Views: 3393

Bai Perron and Trim factor

Hi there I wanted to perform a Bai and Perron test with a trimming parameter of 25 and a maximum number of breaks equal to 5. My sample is 330 observations. I get the following error message: Invalid specification for the maximum number of breaks given the sample size and trimming percentage (must b...
by strypste
Wed Mar 02, 2016 4:04 am
Forum: Bug Reports
Topic: Wrong calculation of information criteria?
Replies: 2
Views: 5123

Re: Wrong calculation of information criteria?

Thanks for your clarification.
by strypste
Tue Mar 01, 2016 11:21 am
Forum: Bug Reports
Topic: Wrong calculation of information criteria?
Replies: 2
Views: 5123

Wrong calculation of information criteria?

Hi there I first simulated AR1 data and then estimated the model using OLS and ML on a sample that ignores the first observation. The model: y_t = b*y_t-1 + e (so we estimate two parameters, the b and the variance of the error term) I obtain the same log likelihood in the two outputs. The reported A...
by strypste
Thu Nov 19, 2015 11:34 am
Forum: Data Manipulation
Topic: Interpolate if gap is not larger than 3 obs
Replies: 3
Views: 5413

Re: Interpolate if gap is not larger than 3 obs

I think there was a small error in the code related to the interpolation of two gaps... The following code produces exactly the same as the ipolate command. create u 100 rndseed 1 series y=nrnd smpl if nrnd>0.8 y = na smpl @all series temp=y ' Interpolate y with the built in command (so this will al...
by strypste
Thu Nov 19, 2015 10:38 am
Forum: Data Manipulation
Topic: Interpolate if gap is not larger than 3 obs
Replies: 3
Views: 5413

Re: Interpolate if gap is not larger than 3 obs

Thanks for providing the program.

Cheers
by strypste
Thu Nov 19, 2015 9:53 am
Forum: Data Manipulation
Topic: Interpolate if gap is not larger than 3 obs
Replies: 3
Views: 5413

Interpolate if gap is not larger than 3 obs

Dear All I want to interpolate a series but it can only interpolate if the number of missing observation is 3 or smaller. So for example if I have a series like this: 14.6301 NA NA 16.969 NA NA NA NA NA 18.4762 20.5717 then the command should interpolate the first gap but not the second gap. Any ide...
by strypste
Mon Jul 06, 2015 2:43 pm
Forum: Estimation
Topic: Covariance matrix of coefficients with GARCH models
Replies: 5
Views: 7186

Re: Covariance matrix of coefficients with GARCH models

Brilliant! Thanks you so much for this. Very much appreciated!

Best
s
by strypste
Mon Jul 06, 2015 3:00 am
Forum: Estimation
Topic: SE of regression with GARCH models
Replies: 3
Views: 4632

Re: SE of regression with GARCH models

Ok great. Thanks!

I am using about 630 observations. Do you think that is not enough?

Best
S
by strypste
Mon Jul 06, 2015 2:58 am
Forum: Estimation
Topic: Covariance matrix of coefficients with GARCH models
Replies: 5
Views: 7186

Re: Covariance matrix of coefficients with GARCH models

Hi Startz

Thanks for your answer. So how can I calculate it then? I looked online and textbooks, but was unsuccessful in finding an answer. Any references?

Best
s
by strypste
Sat Jul 04, 2015 7:07 am
Forum: Estimation
Topic: Covariance matrix of coefficients with GARCH models
Replies: 5
Views: 7186

Covariance matrix of coefficients with GARCH models

HI there I estimated a GARCH model and now I want to calculate the variance covariance matrix of the coefficients (I can obtain this by View -> Covariance matrix). HoBut how is this calculated in Eviews? As there is a constant in the mean and variance equation, X'X is not invertible, where X is a ma...
by strypste
Sat Jul 04, 2015 7:03 am
Forum: Estimation
Topic: SE of regression with GARCH models
Replies: 3
Views: 4632

SE of regression with GARCH models

Hi there I estimated a GARCH model and wanted to replicate the S.E. of regression. The formula given in the help for this statistic is given by square root of (Residual sum of squares)/(Nr of observations - number of regressors) . I noticed, however, that Eviews uses only the coefficients in the mea...
by strypste
Thu Jul 02, 2015 8:32 am
Forum: Estimation
Topic: How to obtain p values when estimation with t distribution
Replies: 3
Views: 4651

Re: How to obtain p values when estimation with t distributi

Hi EViews Glenn

Thanks for you reply. What do you mean with "appropriately centered version of the coefficients"? Or if this is too complicated to explain here, do you have any references on this issue?

Cheers
Steven
by strypste
Fri Jun 26, 2015 1:41 am
Forum: Estimation
Topic: How to obtain p values when estimation with t distribution
Replies: 3
Views: 4651

How to obtain p values when estimation with t distribution

Hi All

I wondered how Eviews calculates the p values if it estimates a model with maximum likelihood (the logl object) and the error distribution is assumed to be a t distribution (the degrees of freedom are also estimated by ml).

Thanks for your help!

Best
s
by strypste
Tue May 05, 2015 7:29 am
Forum: Programming
Topic: Constraint on dependent variable in log-likelihood estimatio
Replies: 4
Views: 7039

Re: Constraint on dependent variable in log-likelihood estim

I tried a number of things (using @recode, if structure...), but unsuccessful :( So my problem occurs when I want to estimate up to an ARCH(6) model with output growth data. My program first estimates an ARCH(1), then an ARCH(2)... When it wants to estimate the ARCH(5) model then it breaks down. The...
by strypste
Thu Apr 30, 2015 4:09 am
Forum: Programming
Topic: Constraint on dependent variable in log-likelihood estimatio
Replies: 4
Views: 7039

Re: Constraint on dependent variable in log-likelihood estim

Hi Trubador

I have looked on the forum, but did not find anything about constraining a dependent variable such as the variance in a GARCH-M model.

Would it be possible to point us in the good direction?

Cheers
S

Go to advanced search