Search found 49 matches
- Mon Nov 21, 2011 9:11 am
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
"Inverse standard deviation" weighting (probably with "none" scaling, though that depends on what you view the purpose of weighting). hi glenn, just to confirm w*y=w*x+w*c where weight=w is as u mentioned above? can i know what is the scaling abt and how do i program it? eq.ls(w...
- Sat Nov 19, 2011 6:54 am
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
"Inverse standard deviation" weighting (probably with "none" scaling, though that depends on what you view the purpose of weighting). hi glenn, just to confirm w*y=w*x+w*c where weight=w is as u mentioned above? can i know what is the scaling abt and how do i program it? eq.ls(w...
- Thu Nov 17, 2011 6:24 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
=@wlookup("*1", "scalar") works for me. http://forums.eviews.com/viewtopic.php?f=5&t=18 dear Gareth, thks for the viewtopic. i find it very useful. for the scalar it still doesnt work. hmm. ok have another enquiry. i have been looking at forum for wls or expo weight and foun...
- Thu Nov 17, 2011 5:08 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
The second argument in the @wlookup function indicates what type of object to look for. You have it set to "series", when you're looking for scalars. hi gareth, my apology it doesnt work even if one sets it to scalar (it was a poor cut and paste). can i by any chance call them so that i c...
- Thu Nov 17, 2011 6:51 am
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
Dear Gareth, i have attached anew workfile. can i ask how could i code something so that it compares k_baa1 with k_daa1 with k_faa1 with k_haa1 with k_jaa1 (all scalars) and find the smallest one given that i would like 1,2,3...42 instead. i tried @wlookup with this code to call and then verbally in...
- Tue Nov 15, 2011 10:36 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
create u 100 series f_sti=rnd series x = nrnd !i=1 for %var "f_sti d(f_sti)" equation eq!i.ls {%var} c x !i=!i+1 next hi gareth, i think i gave u a wrong idea. 1. how can one do a multiple regression such that letting x change, eq1 is ls. y x c eq2 is ls. y d(x) eq 3 is ls. y dlog(x) etc ...
- Tue Nov 15, 2011 10:34 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
create u 100 series f_sti=rnd series x = nrnd !i=1 for %var "f_sti d(f_sti)" equation eq!i.ls {%var} c x !i=!i+1 next hi gareth, i think i gave u a wrong idea. 1. how can one do a multiple regression such that letting x change, eq1 is ls. y x c eq2 is ls. y d(x) eq 3 is ls. y dlog(x) etc ...
- Tue Nov 15, 2011 5:52 pm
- Forum: Programming
- Topic: For Loop and bug?
- Replies: 2
- Views: 4350
Re: For Loop and bug?
EViews Gareth wrote:You're not resetting !sc back to a really large number each time you change the horizon, which is probably not what you want to do.
abit embarrassed. but its fine now. i added an sic just before end loop ends.
- Tue Nov 15, 2011 5:23 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
hi Gareth, 1. gd knowing var lags can be looped. :) 2. the one with f_sti and d(f_sti) still does not work as i was hoping to get eq1: ls. y x c eq2: ls. d(y) x c etc. and then allow y to change in variable thats why i asked about %deplist = @wlookup("a*", "series") with the idea...
- Tue Nov 15, 2011 6:52 am
- Forum: Programming
- Topic: For Loop and bug?
- Replies: 2
- Views: 4350
For Loop and bug?
Dear Gareth, Glenn and all of the team,
this may take some time but i think i got a bug.
and i was wrong.
this may take some time but i think i got a bug.
and i was wrong.
- Mon Nov 14, 2011 6:40 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
hi gareth, i tried it in my setting, the 1st one worked! thank u! the second one didnt. how can i capture the equations in the different specification in different equations?(i will try VAR after learning this) i mean i like an equation1 for f_sti, eqaution2 for d(f_sti) etc etc? do you have a basic...
- Sun Nov 13, 2011 6:14 pm
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Re: Forming a series
hi gareth, thank you so much, i got what i wanted! wow. @movav is useful. can i ask another 2 questions on groups? 1.i have a program which i'm running with series x always changing and i need to run it over all the series in the workfile except the obvious resid and c. is it possible to automate th...
- Sat Nov 12, 2011 3:26 am
- Forum: Programming
- Topic: Forming a series
- Replies: 20
- Views: 33594
Forming a series
Dear Glenn, Gareth and all, series y = z_piet1a series x = mu for !horizon= 95 to 126 smpl 1978q1 1978q1+!horizon var var{!horizon}.ls 1 3 y x smpl 1978q1+!horizon+2 1978q1+!horizon+5 var{!horizon}.fcast _f{!horizon} next smpl @all allows me to create dynamic forecast of 4 periods for each horizon. ...
- Mon Oct 17, 2011 7:16 pm
- Forum: Estimation
- Topic: Impulse response to Cholesky 1% shock
- Replies: 13
- Views: 33150
Re: Impulse response to Cholesky 1% shock
Create a user defined shock matrix: matrix(2,1) myimpulse myimpulse.fill(by=c) 0,1 And then type the name (i.e. myimpulse) in the edit box. As far as I understand, you are trying to estimate the impact of an oil price shock on the inflation. If that is your case, then I strongly recommend you to us...
- Mon Oct 17, 2011 6:23 am
- Forum: Add-in Support
- Topic: Bayesian VAR
- Replies: 63
- Views: 148729
Re: Bayesian VAR
EViews Gareth wrote:VARs are not add-ins like BVARs - they are not written in an EViews program.
hi Gareth,
thank you once again. that i know. just wondering is there a way i can get hold of VAR source code? c-lang?
or how can i finetune BVAR program code?
much much appreciated.