Week 5 Homework
Week 5 Homework
DATA 310
Problem 1
1. Load in the ACSCountyData.Rdata dataset. Run a regression where ‘percent.college’ (the percent
within a county that graduated from college) is the independent variable and ‘median.income’ (the
median income in each county) is the dependent variable.
2. Looking at the output of the regression, first interpret what the estimated coefficient of percent.college
means.
3. What null hypothesis is being tested automatically for percent.college? What is the alternative
hypothesis? What is the result of that hypothesis test?
Problem 2
1. Using the same acs data, run a multiple regression where ‘percent.walk.commute’ is your dependent
variable and ‘census.region’ is your independent variable.
2. Looking at the output of your regression, interpret what the estimated coefficents mean (don’t forget to
interpret your Intercept!.)
3. Construct a regression formula using your regression output.
4. Using your formula, estimate the percent who walk to work in the North East reagion.
5. What hypothesis test(s) are being run automatically in this regression?
6. What are the findings of those hypothesis tests?
1
Problem 1
Problem 2