Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Investigate the joint impact of salary and the number of children on the amount spent. To that end, run a regression model with AmountSpent as
- Investigate the joint impact of salary and the number of children on the amount spent. To that end, run a regression model with "AmountSpent" as the response and "Salary" and "Children" as the only 2 predictors. Then, answer the following questions:
Tips:
lm(formula = AmountSpent ~ Salary + Children, data = d)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.822e+024.534e+01 4.019 6.3e-05 ***
Salary 2.236e-02 6.635e-0433.704 < 2e-16 ***
Children -2.356e+021.933e+01 -12.191 < 2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.'0.1 ' ' 1
Residual standard error: 641.3 on 997 degrees of freedom
Multiple R-squared: 0.5557,Adjusted R-squared: 0.5548
F-statistic: 623.4 on 2 and 997 DF, p-value: < 2.2e-16
Question: Is this a good model? Why?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started