Hi -
I have not been able to use the @meansby funcion inside a model. The code below is an example
wfcreate q 1990q1 2016q4
smpl @all
series aa = 0
model teste
teste.append aa = @trend
teste.append aa_ex1 = @meansby(aa, @year)
teste.append aa_ex2 = aa(-1)
smpl 2000q1 2016q4
solve teste
It evaluates aa_ex1 using the original aa series (not what I wanted), but evaluates aa_ex2 using the solved aa_0 series.
This means that @meansby doesn't in a model?
Thanks
@meansby in a model
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: @meansby in a model
Correct. Most functions like that are calculated statically prior to the model solve.
Who is online
Users browsing this forum: No registered users and 2 guests
