/* Anova Exercises */ * Using the auto data clear sysuse auto /* (1) Does repair record (using all 5 categories) predict vehicle gas mileage? - What category has the lowest predicted mpg? - What category has the highest predicted mpg? - Come up with a hypothesis test that compares these two categories. (This might require a little thought.) */ /* (2) Does repair record predict vehicle price? - What category has the lowest predicted price? - What category has the highest predicted predicted? - Come up with a hypothesis test that compares these. */ * Using the American Community Survey (2000) clear use "https://sscc.wisc.edu/~hemken/Stataworkshops/regress/2000_acs_cleaned.dta" /* (3) Does race (as defined in the ACS) predict yearly personal income? - What category has the lowest predicted price? - What category has the highest predicted predicted? - Come up with a hypothesis test that compares these. (There is a puzzling result here!) */