Question: USING R 2. This problem uses the data set teengamb from the faraway package. Fit a model with (a) Predict the expenditure that women with
USING R
2. This problem uses the data set teengamb from the faraway package. Fit a model with (a) Predict the expenditure that women with averages of status, income and verbal would b) Repeat (a) for women with maximal values of status, income and verbal. Which (c) Fit a model with sqrt(gamble) as the response but with the same predictors. Now predict gamble as the response and other variables as predictors. gamble along with an appropriate 95% confidence interval for the mean expenditure. confidence interval is wider and why is the result expected? the response and give a 95% prediction interval for an individual in (a). Write your answer in the original units of the response. 2. This problem uses the data set teengamb from the faraway package. Fit a model with (a) Predict the expenditure that women with averages of status, income and verbal would b) Repeat (a) for women with maximal values of status, income and verbal. Which (c) Fit a model with sqrt(gamble) as the response but with the same predictors. Now predict gamble as the response and other variables as predictors. gamble along with an appropriate 95% confidence interval for the mean expenditure. confidence interval is wider and why is the result expected? the response and give a 95% prediction interval for an individual in (a). Write your answer in the original units of the response
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
