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.
Help on regexmI have a multiple response variable codes as 00 01 02 03 04 05 06 07 08 09 10 11 12 as string variab…
Statistical significance for sigma_u and rho from Stata’s xtprobit commandDear all, I'm estimating a dynamic random effects probit model assuming a first order Markov proces…
Matrix - loop across variablesHi there, I wonder if anybody could help. This might be very obvious to more experienced users so I…
What is wrong with my merge? (data examples are provided)I am merging the following two datasets. But I got 0 matched ((_merge==3) is zero). The code I used …
Creating yearly and monthly panel to get job transition variableI have been working with CPS ASEC and basic monthly sample. My sample is from 1995-2005. I think it…
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