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.
Related Posts with How to construct a 95% confidence interval for a solved regression equation?
Removing Outliers Survey in Stata (For variables time)Hi guys, Appreciate any help. Basically I will want to remove outliers on certain criteria of (time …
sum of the coming 5 years of a variableDear Statalist, I am trying to generate a variable, that is equal to the sum of the coming 5 years …
Mean of frequency from tabHello, i'm using Stata 16. I am trying to calculate the mean of the frequency values (second column…
"Dummy Variable in Regression"Greetings Everyone! Hopefully, you will be fine, I want to check the impact of Family CEOs on firm …
dyndoc with table, statistic() errorHello Stata Corp. While trying out the new collect and table commands in Stata 17 I discovered a bu…
Subscribe to:
Post Comments (Atom)
0 Response to How to construct a 95% confidence interval for a solved regression equation?
Post a Comment