Dear all,
I would like to write only one statement instead of creating 2 string variables to define the sample to be used in order to calculate the mean for the last observation of gdp (series) and 2 lags:
It should be like this but returns an error: Illegal date
show @mean(gdp, @otod(@ilast(gdp(2))) @otod(@ilast(gdp)))
Thanks in advance
How to write one statement with arguments as a sample
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: How to write one statement with arguments as a sample
Probably can't be done - I think you'll have to use two string variables.
Who is online
Users browsing this forum: No registered users and 2 guests
