Thank you so much for your support Prof. Andrew Musau
-
Login or Register
- Log in with
help lrtest
webuse union, clear xtset idcode year xtlogit union age grade i.not_smsa south##c.year, nolog est sto panel logit union age grade i.not_smsa south##c.year, nolog est sto pooled lrtest panel pooled, force
. xtlogit union age grade i.not_smsa south##c.year, nolog
Random-effects logistic regression Number of obs = 26,200
Group variable: idcode Number of groups = 4,434
Random effects u_i ~ Gaussian Obs per group:
min = 1
avg = 5.9
max = 12
Integration method: mvaghermite Integration pts. = 12
Wald chi2(6) = 227.46
Log likelihood = -10540.274 Prob > chi2 = 0.0000
------------------------------------------------------------------------------
union | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | .0156732 .0149895 1.05 0.296 -.0137056 .045052
grade | .0870851 .0176476 4.93 0.000 .0524965 .1216738
1.not_smsa | -.2511884 .0823508 -3.05 0.002 -.4125929 -.0897839
1.south | -2.839112 .6413116 -4.43 0.000 -4.096059 -1.582164
year | -.0068604 .0156575 -0.44 0.661 -.0375486 .0238277
|
south#c.year |
1 | .0238506 .0079732 2.99 0.003 .0082235 .0394777
|
_cons | -3.009365 .8414963 -3.58 0.000 -4.658667 -1.360062
-------------+----------------------------------------------------------------
/lnsig2u | 1.749366 .0470017 1.657245 1.841488
-------------+----------------------------------------------------------------
sigma_u | 2.398116 .0563577 2.290162 2.511158
rho | .6361098 .0108797 .6145307 .6571548
------------------------------------------------------------------------------
LR test of rho=0: chibar2(01) = 6004.43 Prob >= chibar2 = 0.000
.
. est sto panel
.
. logit union age grade i.not_smsa south##c.year, nolog
Logistic regression Number of obs = 26,200
LR chi2(6) = 643.48
Prob > chi2 = 0.0000
Log likelihood = -13542.49 Pseudo R2 = 0.0232
------------------------------------------------------------------------------
union | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | .0207656 .0050001 4.15 0.000 .0109655 .0305658
grade | .0489121 .0064308 7.61 0.000 .036308 .0615162
1.not_smsa | -.2195163 .0355977 -6.17 0.000 -.2892865 -.1497461
1.south | -1.530743 .4387964 -3.49 0.000 -2.390768 -.6707176
year | -.0145607 .0057128 -2.55 0.011 -.0257576 -.0033638
|
south#c.year |
1 | .0110577 .0054775 2.02 0.044 .000322 .0217933
|
_cons | -1.066526 .3414275 -3.12 0.002 -1.735711 -.3973401
------------------------------------------------------------------------------
.
. est sto pooled
.
. lrtest panel pooled, force
Likelihood-ratio test LR chi2(1) = 6004.43
(Assumption: pooled nested in panel) Prob > chi2 = 0.0000
xtlogit status creditors_turnover_w ca_turnover_w quick_ratio_w npm_w log_sales age g_pat_w de_w icr_r cash_ca_w ca_ta_w i.dummy_sector L.i.status , fe
xtserial status creditors_turnover_w ca_turnover_w quick_ratio_w npm_w log_sales age g_pat_w de_w icr_r cash_ca_w ca_ta_w
Comment