Search found 90 matches
- Fri Jul 10, 2015 4:48 pm
- Forum: Add-in Support
- Topic: STAR*
- Replies: 52
- Views: 108079
Re: STAR*
In the edit box you only enter the name of the vector object i.e. starting_values
- Fri Jul 10, 2015 10:30 am
- Forum: Add-in Support
- Topic: STAR*
- Replies: 52
- Views: 108079
Re: STAR*
If you click Add-ins->Manage add-ins-> select the star add-in and then Docs the add-in documentation will appear (now is attached in the first comment just in case). You have to create a vector of size 5 or greater. vector(5) starting_values=1 In this case all the starting values will equal one, if ...
- Fri Jul 10, 2015 9:27 am
- Forum: Programming
- Topic: Simulation-Plot
- Replies: 5
- Views: 4416
Re: Simulation-Plot
Question, this is to show that spurious regressions have a high R2? wfcreate test a 1960 2000 scalar r2 = 0 series y1=0 series y2=0 group g y1 y2 while r2 < 0.8 smpl 1961 @last y1 = y1(-1) + nrnd y2 = y2(-1) + nrnd smpl @all equation eq.ls y1 c y2 scalar r2 = eq.@r2 g.line y1 y2 wend freeze(gr1) g.l...
- Thu Jul 09, 2015 5:47 pm
- Forum: Add-in Support
- Topic: STAR*
- Replies: 52
- Views: 108079
Re: STAR*
Hi, STR models are nonlinear in parameters so to estimate them one must use an optimization algorithm, the vector object for starting values is a vector object that contains an starting value for each of the coefficients in the model respectively i.e. the position (1,1) in the vector corresponds to ...
- Thu Jul 09, 2015 8:51 am
- Forum: Programming
- Topic: Simulation-Plot
- Replies: 5
- Views: 4416
Re: Simulation-Plot
Or maybe is something like this: wfcreate test a 1960 2000 scalar r2 = 0 while r2 < 0.8 series y1 series y2 y1(1)=0 y2(1)=0 smpl 1961 @last y1 = y1(-1) + nrnd y2 = y2(-1) + nrnd smpl @all equation eq.ls y1 c y2 scalar r2 = eq.@r2 group g y1 y2 g.line y1 y2 wend freeze(gr1) g.line y1 y2 g.scat linefit
- Tue Jul 07, 2015 9:03 am
- Forum: Econometric Discussions
- Topic: Differnt estimated values of mean equation in GARCH and EGAR
- Replies: 1
- Views: 2582
Re: Differnt estimated values of mean equation in GARCH and
The mean and the variance equations are estimated by ML simultaneously, therefore the estimates for the mean equation could change due to changes in the variance equation.
- Mon Jun 22, 2015 8:37 am
- Forum: Bug Reports
- Topic: Hannan-Quinn
- Replies: 1
- Views: 3702
Hannan-Quinn
Hi, I'm programming a unit root test that requires uncorrelated residuals, for these i´m using information criteria to select the optimal lag length. The problem is with the command @hq, when i try to save the hq criteria in a scalar or in a control variable the following error appears "@HQ is ...
- Fri Jun 12, 2015 9:50 am
- Forum: Add-in Support
- Topic: Spectral Analysis*
- Replies: 31
- Views: 54768
Re: Spectral Analysis*
If you are interested in a shot-run cycle you can estimate the spectrum by months or even by weeks as follows.
Where your week contains 1250 data points and w!i is the i -th week.
Code: Select all
wfcreate u 1 1250
for !i=1 to 96
genr w!i=nrnd
w!i.spectral(periodogram)
next
Where your week contains 1250 data points and w!i is the i -th week.
- Tue Jun 09, 2015 7:27 am
- Forum: Add-in Support
- Topic: Spectral Analysis*
- Replies: 31
- Views: 54768
Re: Spectral Analysis*
Hi, If you are working with 100.000 observations the add-in will not work. However if you click options-->General options-->Advanced system options and change the memory reserved for windows to 200 you will probably can work with 12000 observations (in a 32 bit version). Increase the temporal aggreg...
- Thu Apr 23, 2015 1:15 pm
- Forum: Add-in Support
- Topic: STAR*
- Replies: 52
- Views: 108079
Re: STAR*
The paper seems interesting. I don´t know what you mean exactly by the short-run effects, but you can estimate an Error Correction Model using the Engle-Granger procedure (from what I saw you have two variables CDS and bonds) and save the stationary error correction mechanism, then using the add-in ...
- Mon Mar 16, 2015 9:21 am
- Forum: Add-in Support
- Topic: STAR*
- Replies: 52
- Views: 108079
Re: STAR*
Do you check the add-in documentation? I provide two examples in there, one with simulated data and the other with USA inflation. The estimated model with the add-in can forecast if you choose LSTAR or ESTAR models, but if you choose LSTAR-D or ESTAR-D model it can not given that you need the transi...
- Mon Feb 16, 2015 9:20 am
- Forum: Add-in Support
- Topic: STAR*
- Replies: 52
- Views: 108079
STAR*
This thread is about the Smooth Transition Regression (STR) add-in which performs testing, estimation and evaluation of STR models. The testing procedures includes the specific alternatives: LSTR, ESTR, LSTR-D and ESTR-D, transition variables significance and adequacy between STR structures. For the...
- Mon Feb 16, 2015 9:00 am
- Forum: Add-in Support
- Topic: Spectral Analysis*
- Replies: 31
- Views: 54768
Re: Spectral Analysis*
The cumulative spectrum could be calculated simply with the command @cumsum(%spectrum_name). The test sounds interesting but it is not in my plans, sorry.
Best regards.
Nicolas.
Best regards.
Nicolas.
- Tue Feb 10, 2015 12:45 pm
- Forum: Add-in Support
- Topic: Spectral Analysis*
- Replies: 31
- Views: 54768
Re: Spectral Analysis*
Hi lofficer,
The add-in only performs univariate spectral analysis, in fact I´m working on a cross spectral analysis add-in I belive it will be ready in a couple of months.
The add-in only performs univariate spectral analysis, in fact I´m working on a cross spectral analysis add-in I belive it will be ready in a couple of months.
- Tue Jan 13, 2015 2:13 pm
- Forum: Programming
- Topic: ARMAX model - Sinusoidal function
- Replies: 8
- Views: 15621
Re: ARMAX model - Sinusoidal function
I think that the sinusoidal function that you showed can be expressed as: A1*Cos(2pit/365)+B1*Sin(2pit/365) Where Alpha_7=(A1^2+B1^2)^(1/2) and Alpha_8=tan^-1(-B1/A1), which are the amplitude and the phase shift in radians. Therefore, you can perfom the estimation by list as: @cos(2*@acos(-1)*@trend...