***************************************************************
* *
* Linear Regression of BMI on Age *
* *
* *
***************************************************************
insheet using http://hedwig.mgh.harvard.edu/biostatistics/sites/default/files/public/education/tmp_sample_data.csv
regress bmi age
********************************** ANNOTATED RESULTS **********************************
Source | SS df MS Number of obs = 60
-------------+------------------------------ F( 1, 58) = 31.89
Model | 295.981713 1 295.981713 Prob > F = 0.0000
Residual | 538.235638 58 9.27992479 R-squared = 0.3548
-------------+------------------------------ Adj R-squared = 0.3437
Total | 834.21735 59 14.1392771 Root MSE = 3.0463
------------------------------------------------------------------------------
bmi | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | .1595251 .0282468 5.65 0.000 .102983 .2160671
_cons | 18.54621 1.378305 13.46 0.000 15.78723 21.30519
------------------------------------------------------------------------------