Program commands in the Rats: 

CAL 1971 3 4
All 5 1975:2
Open data c:\0720\0720.wk1
data(format=wks,org=obs) / year y x2 x3 x4 x5

Linreg y /
# constant x2 x3 x4 x5

log y / lny
log x2 / lnx2
log x3 / lnx3
log x4 / lnx4
log x5 / lnx5

Linreg lny /
# constant lnx2 lnx3 lnx4 lnx5

End

And then click here for the results

back to mainpage