' tabulate descriptive statistics by year
' revised for version 4.0 (10/26/2000 h)

' change path to program path
%path = @runpath
cd "{%path}"

' get workfile
%evworkfile = "..\data\basics"
load "{%evworkfile}"

' set sample
smpl 1990:1 @last

' create a series containing the year identifier
series year = @year

' compute statistics for each year and
' freeze the output from each of the tables
for %var ip urate m1 tb10
	%name = "tab" + %var
	freeze(%name){%var}.statby(min,max,mean,med) year
	show {%name}
next
