I have two time series, X and Y, each containing 100 observations . From these two time series I want to create a vector for each data pair in X and Y, so 100 2x1 vectors, define these vectors as Z_t for t=1,..,100. At last I want to calculate a time series average: 1/T SUM[Z_t(Z_t)'].
Is there any way I can calculate this time series average without having to create 100 vectors from the two time series??
I use Eviews 7..
Thanks
Lasse
How do I make an average without creating 100 vectors??
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: How do I make an average without creating 100 vectors??
Maybe
Code: Select all
z = (x+y)/2
@mean(z)Re: How do I make an average without creating 100 vectors??
Obviously I am new to this! Thanks :)
Who is online
Users browsing this forum: No registered users and 2 guests
