Dear All,
As part of my research, I have conducted the LR test to compare both the unrestricted and the restricted models to see the effect of particular group of variables. I did this analysis by using probit, double hurdle, Heckman, and OLS models. In addition, I need to conduct this analysis for quantile regression. Hence I used the following commands.
sqreg lnamount obc sc st area asset marginal small semimedium HHsize age primary middle secondary graduate north central east northeast south if access ==1, q(0.25 0.50 0.75 0.90)
estimates store fullmodel
sqreg lnamount area asset marginal small semimedium HHsize age primary middle secondary graduate north central east northeast south if access ==1, q(0.25 0.50 0.75 0.90)
estimates store nosocial
lrtest fullmodel nosocial , stats
Note: In the above command the restricted varaiables are obc sc and st and that model is called as nosocial group model.
However, these above commands showed the following errors
fullmodel does not contain scalar e(ll)
r(498);
And I have gone through https://www.statalist.org/forums/for...ile-regression also. Though I did not get much from that link as I am not a econometrically trained scholar, but one thing I understood is that lrtest can't be performed with qreg command. Now, I am stranded that how to compare both the unrestricted and the restricted models to see the effect of particular group of variables. I would be very much thankful to you all if my problems are solved.
Thanks and Regards
Karthick Veerapandian.
Related Posts with Can lrtest be performed with sqreg or if not what is the alternative method.
Creating episodesDear All, I have an individual level panel data with 108 monthly waves. Code: Code: * Example …
No support for meqrlogit as of Stata 16I looked at the help file for meqrlogit in Stata 16 and it is no longer part of Stata 16. I couldn't…
marginsI have the following dataset. The dataset is about loans and it's interest rates, there are more var…
Logistic Regression IssuesI am trying to perform a logistic regression but I am running into issues with the var. I keep getti…
Variable Name Error (r198) in asregHi, I am trying to estimate the impact of directors' remuneration on firm performance. My unbalance…
Subscribe to:
Post Comments (Atom)
0 Response to Can lrtest be performed with sqreg or if not what is the alternative method.
Post a Comment