Page 1 of 1

saving means into a series

Posted: Fri Jul 09, 2010 12:02 pm
by mark
Hi
Using eviews 7.1, unstructured panel data
test2 is year
test is month
Trying to save the mean values for "unitprice" into a new series called test3 but no luck
Advice appreciated

for %var unitprice
smpl if test2=5 and worktype="Paving" and activitydesc="mobilization"
%name = "tab5" + %var
freeze({%name}) {%var}.statby(min,max,mean,med) test
show {%name}

series test3=@mean(unitprice) test

smpl @all
next

Re: saving means into a series

Posted: Fri Jul 09, 2010 12:56 pm
by mark
figured it out - thanks