Dear statalists,
I am comparing RE xtlogit and FE xtlogit for a balanced panel database of 1500 observations. The following is the command:
xtset id t (where id refers to individuals and t refers to time)
quietly xtlogit depvar indepvar i.t, fe nolog
estimates store fe
quietly xtlogit depvar indepvar i.t, re nolog- (I want to control for time in both fe and re xtlogit)
estimates store re
hausman fe re
Then Stata showed result (insignificant, in favour of re) with a note of (V_b-V_B is not positive definite).
In order to solve this problem of being not positive definite, following some advices I used -hausman fe re, sigmamore-
but Stata then generated a warn of "Estimators do not save e(sigma) or e(rmse),sigma option not allowed".
I do not why stata shows this, because my commands are the same as what in Cameron and Trivedi (2009), except for xtlogit but not xtreg in my case.
Stata manual mentions that "These (sigmamore and sigmaless) options can be specified only when both estimators store e(sigma) or e(rmse), or with the xtreg command. e(sigma e) is stored after the xtreg command with the fe or mle option. e(rmse) is stored after the xtreg command with the re option. But I do not understand how to do e(sigma) and e(rmse)
So here are my questions:
Is there anything wrong in my hausman syntax that makes the option of sigmamore fail to be done?
Is sigmamore suitable to xtlogit or only suitable to xtreg? (this seems to be possible, seen through the manual).
If sigmamore is not suitable, how shall I solve the "not positive definite" problem for hausman test after xtlogit?
I really appreciate if someone could give answers to my problems.
Thank you very much!
I am comparing RE xtlogit and FE xtlogit for a balanced panel database of 1500 observations. The following is the command:
xtset id t (where id refers to individuals and t refers to time)
quietly xtlogit depvar indepvar i.t, fe nolog
estimates store fe
quietly xtlogit depvar indepvar i.t, re nolog- (I want to control for time in both fe and re xtlogit)
estimates store re
hausman fe re
Then Stata showed result (insignificant, in favour of re) with a note of (V_b-V_B is not positive definite).
In order to solve this problem of being not positive definite, following some advices I used -hausman fe re, sigmamore-
but Stata then generated a warn of "Estimators do not save e(sigma) or e(rmse),sigma option not allowed".
I do not why stata shows this, because my commands are the same as what in Cameron and Trivedi (2009), except for xtlogit but not xtreg in my case.
Stata manual mentions that "These (sigmamore and sigmaless) options can be specified only when both estimators store e(sigma) or e(rmse), or with the xtreg command. e(sigma e) is stored after the xtreg command with the fe or mle option. e(rmse) is stored after the xtreg command with the re option. But I do not understand how to do e(sigma) and e(rmse)
So here are my questions:
Is there anything wrong in my hausman syntax that makes the option of sigmamore fail to be done?
Is sigmamore suitable to xtlogit or only suitable to xtreg? (this seems to be possible, seen through the manual).
If sigmamore is not suitable, how shall I solve the "not positive definite" problem for hausman test after xtlogit?
I really appreciate if someone could give answers to my problems.
Thank you very much!
Comment