/* Binary (Indicator) Regression Exercises */ * Using the auto data clear sysuse auto /* (1) Estimate of the effect of foreign/domestic manufacturer on mpg. (In 1978, this would have been where the car was actually made!) - What does the coefficient 4.9 mean? - What does the coefficient _cons mean? - Should we think that a vehicle's origin predicts mpg? */ /* (2) Good repair records. Estimate of the effect of good repair record (rep78 of 4 or 5) on mpg. First you will need to create an indicator variable. - What does the coefficient for good repair record tell us? - What does the coefficient _cons tell us? - Should we think that good repair causes good mpg? - (Bonus) What is the relationship between the variables in questions (1) and (2)? */ * Using the Mendota ice data clear use "https://sscc.wisc.edu/~hemken/Stataworkshops/regress/Mendota2022" /* (3) How much has the duration of ice cover changed from the 20th century (years 1900 - 1999) to the 21st century (years 2000-to now), so far? */