/* Bivariate Regression Exercises */
* Using the auto data
clear
sysuse auto
/* (1) Estimate of the regression of miles per gallon (mpg)
on vehicle weight.
- What does the coefficient -.006 mean?
- What does the coefficient 39.44 mean?
- Should we think that vehicle weight predicts mpg?
*/
/* (2) Buying cars by the pound.
Estimate of the regression of purchase price
on vehicle weight.
- What does the coefficient 2.04 mean?
- What does the coefficient -6.7 mean?
- Should we think that vehicle weight predicts price?
*/
* Using the Mendota ice data
clear
use "https://sscc.wisc.edu/~hemken/Stataworkshops/regress/Mendota2022"
/* (3) Has the length of winter changed?
Estimate of the effect of the passing years on
days of ice cover (days).
- What does the coefficient for year mean?
- What does the coefficient _cons mean?
- Should we think that this is consistent with global warming?
*/