Quick question: suppose I have a variable like this:
N Var1
1 12
2 45
3 65
. .
. .
. .
100 15
How can I create a new variable whose first observation is the average of
Var1[1] and Var1[2], second observation is the avaerage of Var1[3] and
Var1[4], etc. There will be a total of 50 observations for this new
variable. Thanks in advance!