* * Example from pp 205-207 * open data pcv.dat data(format=prn,org=columns) 1 19 gdpw_eur pdpeall * linreg pdpeall # constant gdpw_eur * * Scatter plot with regression line * scatter(footer="Figure 5-12 PCV Sales Regression",line=%beta,$ hlabel="GDP Western Europe",vlabel="PCV Industry Sales") # gdpw_eur pdpeall * * Residuals * scatter(footer="Figure 5-13 Residual Plot",$ hlabel="GDP Western Europe",vlabel="Residuals") # gdpw_eur %resids * * Analysis of variance table (page 214) * (The F-statistic is in the standard regression output) * @reganova