* * Example 5.2 from page 174 * open data bwght.raw data(format=free,org=columns) 1 1388 faminc cigtax cigprice bwght fatheduc motheduc $ parity male white cigs lbwght bwghtlbs packs lfaminc * * The standard errors from a regression are provided in the vector %STDERRS after * a LINREG. %STDERRS(2) is the standard error of the second coefficient, which is * the one of interest. * linreg lbwght # constant cigs lfaminc compute stdfull=%stderrs(2) linreg lbwght 1 694 # constant cigs lfaminc compute stdhalf=%stderrs(2) * disp "Ratio of Standard Errors" stdfull/stdhalf