Search found 49 matches
- Sun Aug 07, 2011 6:07 pm
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
Re: for loop within for loop
hi gareth, thk u for the reply. i will have another try to make it in parts. my fault. hope this works. series y = dlhs series x = dpiet series z= d(unemp_sa) equation eq !sc = 9999999 !maxlags = 4 !bestlag = 0 !best2lag = 0 for !horizon= 59 to 82 smpl 1989q1 1989q1+!horizon equation eq{!horizon} fo...
- Sun Aug 07, 2011 5:00 pm
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
Re: for loop within for loop
series k=sti for !horizon= 27 to 29 smpl 1997q1 1997q1+!horizon k.hpf(lambda=1600) k_hp{!horizon} series k_c{!horizon} = k - k_hp{!horizon} series y = dlhs series x = dpiet series z= k_c{!horizon} ' equation eq !sc = 9999999 !maxlags = 4 !bestlag = 0 !best2lag = 0 smpl 1997q1 1997q1+!horizon equati...
- Thu Aug 04, 2011 9:51 pm
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
Re: for loop within for loop
hi gareth, i think i got it all wrong again. sigh. the loops are wrong somehow because eqn 27 uses kc_30 and eqn 28 also uses kc_30 but in my latest post i didnt insert any sampling on kc_30. i learnt ur creation of !temp. thk u for teaching. but how can i use eqn 27 using kc_27 and eqn 28 using kc_...
- Thu Aug 04, 2011 7:44 pm
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
Re: for loop within for loop
hi i think i finally know whats the problem after many many hr of dianostics. series k=ka for !horizon= 27 to 29 smpl 1997q1 1997q1+!horizon k.hpf(lambda=1600) k_hp{!horizon} series k_c{!horizon} = k - k_hp{!horizon} next smpl @all 'create a variable series y = dlhs series x = dpiet series z= k_c{!h...
- Thu Aug 04, 2011 9:26 am
- Forum: Add-in Support
- Topic: VARForecast (VAR forecasting)
- Replies: 44
- Views: 69280
Re: VARForecast (VAR forecasting)
gd gd stuff.
- Thu Aug 04, 2011 8:53 am
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
another loop question
'create a variable series y = dlhs series x = dpiet series z= d(unemp_sa) 'create empty equation to be used inside the loop equation eq 'variable to store the minimum AIC. Initialise it to a large number !sc = 9999999 'variable saying how many lags to go up to !maxlags = 4 'Variable to store the &q...
- Thu Aug 04, 2011 8:22 am
- Forum: Programming
- Topic: Recursive-Pls help.
- Replies: 8
- Views: 5417
Re: Recursive-Pls help.
thks gareth the arma works.
- Thu Aug 04, 2011 8:21 am
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
Re: for loop within for loop
and apology, i always have this note that it cant make series 83 even though i asked to only 82 as the 2nd post above so i make an 83(no harm) and then go back to 82 and then it works. but its weird that same y same x and if i use the prog where z=comp54 and i do myself using estimation the results ...
- Thu Aug 04, 2011 8:02 am
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
Re: for loop within for loop
yet this works well. for !horizon= 59 to 82 smpl 1989q1 1989q1+!horizon g3.makepcomp comp{!horizon} next smpl @all 'create a variable series y = dlhs series x = dpiet series z= comp{!horizon} 'create empty equation to be used inside the loop equation eq 'variable to store the minimum AIC. Initialise...
- Thu Aug 04, 2011 7:48 am
- Forum: Programming
- Topic: for loop within for loop
- Replies: 11
- Views: 9035
for loop within for loop
hi all, series k=djia for !horizon= 58 to 82 smpl 1989q1 1989q1+!horizon k.hpf(lambda=1600) k_hp{!horizon} series k_c{!horizon} = k - k_hp{!horizon} next smpl @all series y = dlhs series x = dpiet equation eq !sc = 9999999 !maxlags = 4 !bestlag = 0 !best2lag = 0 for !horizon= 59 to 82 smpl 1989q1 19...
- Tue Aug 02, 2011 6:49 pm
- Forum: Add-in Support
- Topic: Ridge (Ridge Regression and Ridge Trace)
- Replies: 48
- Views: 94061
Re: Ridge (Ridge Regression and Ridge Trace)
hi,
can i ask can this be used in evoews 7 or how can i do ridge in 7?
theres no documentation. apology.
can i ask can this be used in evoews 7 or how can i do ridge in 7?
theres no documentation. apology.
- Wed Jul 27, 2011 7:07 am
- Forum: Programming
- Topic: Recursive-Pls help.
- Replies: 8
- Views: 5417
Re: Recursive-Pls help.
hi gareth,
thks for the fast reply. haha i tried my lungs out. and cant find in command as well.
is there anyway you would recommend?
thats like the tip of the iceberg.
thks in advance.
thks for the fast reply. haha i tried my lungs out. and cant find in command as well.
is there anyway you would recommend?
thats like the tip of the iceberg.
thks in advance.
- Wed Jul 27, 2011 1:52 am
- Forum: Programming
- Topic: Recursive-Pls help.
- Replies: 8
- Views: 5417
Re: Recursive-Pls help.
hi gareth that was realli useful. im tyring to twitch it to do arma model where they choose the best ar and ma but it cant work. pls advice. series y = dlhs equation eq !sc = 9999999 !maxlags = 6 !bestlag = 0 !best2lag = 0 for !horizon= 119 to 147 smpl 1974q1 1974q1+!horizon equation eq{!horizon} fo...
- Tue Jul 19, 2011 11:36 pm
- Forum: Programming
- Topic: Recursive-Pls help.
- Replies: 8
- Views: 5417
Re: Recursive-Pls help.
Hi Gareth, im sorry but its not doing what i meant. 1) as mentioned, the lags does not change for every loop. how can i set horizon=100, eqn is fitted with right lags then horizon=101, eqn is fitted with another lag structure? 2) now that it has generated 5 eqn, for y_hat forecast i used: smpl 2001q...
- Tue Jul 19, 2011 9:57 pm
- Forum: Programming
- Topic: Recursive-Pls help.
- Replies: 8
- Views: 5417
Recursive-Pls help.
'create a variable series y = dlhs series x = dpiet series z= m1d 'create empty equation to be used inside the loop equation eq 'variable to store the minimum AIC. Initialise it to a large number !sc = 9999999 'variable saying how many lags to go up to !maxlags = 4 'Variable to store the "best...