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?
Renaming columnsHi there, I was wondering if anybody could help. I have 200+ columns that could change when new dat…
CMP convergence issue: getting coefficients but no SE, p-val etc.Hello, We are estimating a model with binary Y and binary X, using the CMP command. In our main ana…
Difference for Alpha in SPSS vs StataWhy are there different results for alpha in Stata and SPSS? Does it mean that Stata has the compos…
Insertto or appendtoDear Stata list, I want to generate an error list in a dta file on different conditions for data cl…
subtracting year from a non-numeric variableDear all, i have a variable called E, which is the completed date of an acquisition (see screenshot…
Subscribe to:
Post Comments (Atom)
0 Response to How to construct a 95% confidence interval for a solved regression equation?
Post a Comment