Hi there,
I am currently using stata 12. I am trying to run two regressions with the same dependent and explanatory variables but different estimates. More specifically, I want to:
1. run the within estimator and store the value of a specific coefficient of an explanatory variable from this regression output.
2.Then I want to run the between estimator using the same variables and store the value of a variable (the same as in the case of the between estimator).
3.After this, I want to estimate a new coefficient which is calculated as (1-(within estimate coefficient/between estimate coefficient).
4.Upon this estimation, I want to then estimate (compute) the standard errors by using the delta method.
Does anyone know which stata codes to use in order to store the value of certain coefficients? And then make the above calculation? and finally compute the st.errors by delta method?
I hope I was clear enough and please let me know if you need any clarification.
I would appreciate your help very much
thank you
I am currently using stata 12. I am trying to run two regressions with the same dependent and explanatory variables but different estimates. More specifically, I want to:
1. run the within estimator and store the value of a specific coefficient of an explanatory variable from this regression output.
2.Then I want to run the between estimator using the same variables and store the value of a variable (the same as in the case of the between estimator).
3.After this, I want to estimate a new coefficient which is calculated as (1-(within estimate coefficient/between estimate coefficient).
4.Upon this estimation, I want to then estimate (compute) the standard errors by using the delta method.
Does anyone know which stata codes to use in order to store the value of certain coefficients? And then make the above calculation? and finally compute the st.errors by delta method?
I hope I was clear enough and please let me know if you need any clarification.
I would appreciate your help very much
thank you
Comment