* * Example LRGRECUR.DAT from pp 466-468 * open data lrgrecur.dat data(format=free,org=columns) 1 100 x1 x2 y * * Small sample (first 30) * linreg y 1 30 # constant x1 * scatter(hlabel="X1",vlabel="Y",footer="Figure 11-3 Small Sample Y=f(X1)") # x1 y 1 30 * * Large sample * linreg y 1 100 # constant x1 * scatter(hlabel="X1",vlabel="Y",footer="Figure 11-5 Full Sample Y=f(X1)") # x1 y * * Small sample, including X2 * linreg y 1 30 # constant x1 x2 * * Large sample, including X2 * linreg y # constant x1 x2