Program commands in the Rats: 

All 5 14
Open data c:\1025\1025.wk1
data(format=wks,org=obs) / year y x2 x3 x4

****Part A solution****

Set x5 = ( x2 ) + ( 0.75 * x3 ) + ( 0.625 * x4 )

Linreg y /
# constant x5

End

And then click here for the results

back to mainpage