Code: Select all
'create a workfile
wfcreate q 1990 2010
'create 5 y and 5 x series
for %y y1 y2 y3 y4 y5
series {%y}=nrnd
for %x x1 x2 x3 x4 x5
series {%x}=nrnd
'run pairwise regressions between each series
equation eq_{%y}_{%x}.ls {%y} c {%x}
next
next
