Just start Eviews programming, a simple Q
Posted: Sun Jul 17, 2011 7:56 am
I would like to calculate a statistic for a series y, containing T observations and the statistics, say, following r1=T*t*(yT)*sum(yt-ybar)*(y1)
where (yT) represents the last observation of the series, (y1) is the first observation, ybar is the mean of the series and t represents for the time of each y.
So T=@obs(y), y1=@first(y), yT=@last(y), ybar=@mean(y)
sum(yt-ybar)=@sum(y-@mean(y))
but how to represent t in the formula?
I only knew some of VBA so still not familiar with Eviews programming.
Many many thanks!
where (yT) represents the last observation of the series, (y1) is the first observation, ybar is the mean of the series and t represents for the time of each y.
So T=@obs(y), y1=@first(y), yT=@last(y), ybar=@mean(y)
sum(yt-ybar)=@sum(y-@mean(y))
but how to represent t in the formula?
I only knew some of VBA so still not familiar with Eviews programming.
Many many thanks!