- Code: Select all
dofor money = SUMM1 SUMM2M SUMM2 SUMMZM SUMALL
SET y = GDP_N
SET z1 = TB
SET z2 = cpi
SET z3 = money
linreg(noprint) y /RESIDS
#constant z1 z2 z3
end dofor money
Is this the correct way to use the instruction dofor? By this I needed to run 5 regressions where money is substituted in each regression for the five monetary aggregates abobe.
