I have solved a regression equation in order to find a CEO's salary after ten years. The equation is as follows:
Salary = (Coef. of _cons) + (Coef. of ceo variable) * (10 years)
or
Salary = 772.4263 + (11.74613)*(10) = 889.8876 or $889,887.60
I would now like to construct a confidence interval which predicts the average CEO salary after ten years. I would also like to find the upper and lower bounds of this prediction. However, if I plug in the ceo variable and salary variable into the ". ci" command, the numbers do not make sense. How would I predict these bounds which properly match the solved ceo salary?
Also, how would I show these boundaries graphically on a scatter plot alongside the regression line?
Thank you.
Salary = (Coef. of _cons) + (Coef. of ceo variable) * (10 years)
or
Salary = 772.4263 + (11.74613)*(10) = 889.8876 or $889,887.60
I would now like to construct a confidence interval which predicts the average CEO salary after ten years. I would also like to find the upper and lower bounds of this prediction. However, if I plug in the ceo variable and salary variable into the ". ci" command, the numbers do not make sense. How would I predict these bounds which properly match the solved ceo salary?
Also, how would I show these boundaries graphically on a scatter plot alongside the regression line?
Thank you.
Comment