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?
Unable to load Excel file. Error: element not found.Hi everyone! I am trying to import an excel file from a shared folder on Dropbox into Stata and I g…
Formulate institutions variable in 2SLS regressionI need help in how to formulate institutions variables in 2SLS regression using the ivreg2 command. …
How to show Wald, LR test, SSE or σ ̂u, θ and LR test in a regression output table?Good morning to the community Stata I would like to perform a comparison between Pooled OLS model, a…
Does my command fit with my intention in DiD? Multiple treatment periodsDear Statalist Community, I am a newbie and (not yet ) an expert since this is my first time deali…
Creating a wave identifier - observations wrongly mappedHello, I am quite new to Stata and this is my first post and I would really appreciate any help. I …
Subscribe to:
Post Comments (Atom)
0 Response to How to construct a 95% confidence interval for a solved regression equation?
Post a Comment