1. Construct a 99% prediction interval for the Acres/Gardener ratio for a household with a...
90.2K
Verified Solution
Link Copied!
Question
Accounting
1. Construct a 99% prediction interval for the Acres/Gardener ratio for a household with a Consumers/Gardener ratio equal to 2. Construct a 99% confidence interval for the mean Acres/Gardener ratio among households with a Consumers/Gardener ratio equal to 2. State the interpretation of each interval and explain why they are different. (Do this both in math(typed) and r code please)
2. Compute the fitted residuals. Do it "manually" and check your values using the `lm()` function in R. Check that the two vectors are equal using the `all.equal()` function or by computing their mean squared error (MSE) or another measure of discrepancy. Compute the residual standard error ($\hat\sigma$) and compare it with the summary output of your `lm` object. (Do this both in math(typed) and r code please)
3. Use the fitted residuals to investigate the assumptions of homoskedasticity and linearity in the model. The SLR model sometimes also assumes that the residuals are Normally distributed. Investigate this by making a QQ plot of the fitted residuals. Do you see any evidence of deviations from any of the three assumptions? Do you note any outliers? (Do this both in math(typed) and r code please)