Question: Using the regression model, credit.Im , construct a 9 5 % prediction interval for the credit card balance of a customer when Income
Using the regression model,
credit.Im construct a prediction interval for the credit card balance of a customer when Income Limit and StudentYes.
predictcreditlm data.frameIncome Limit Student"Yes" sefit
Find the standard error of prediction used in the above interval. You can find it in one of the following two ways:
Use the relationship among the three types of standard errors as shown in Slide Lecture : where is the standard error of prediction, is the standard error of fit,
and is the residual standard error which is also given as "residual.scale" in the output
Use the margin of error associated with the interval. The margin of error for the above interval is the multiplication of the critical value in this case, qt and the
standard error of prediction. Round your answer to the nearest integer.
This same question was posted and an expert verification said the answer was using the second method, but it was not correct when I checked. So perhaps show how to do the first method or both. Thanks!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
