Hello,
I ran a meologit command and then reported it with esttab, and I jut noticed that something is happening to the var(cons). Why is this value changing?
I ran a meologit command and then reported it with esttab, and I jut noticed that something is happening to the var(cons). Why is this value changing?
Code:
melogit move_n i.event i.wave || code:, or
Fitting fixed-effects model:
Iteration 0: log likelihood = -180.46719
Iteration 1: log likelihood = -180.26975
Iteration 2: log likelihood = -180.26964
Iteration 3: log likelihood = -180.26964
Refining starting values:
Grid node 0: log likelihood = -178.75979
Fitting full model:
Iteration 0: log likelihood = -178.75979
Iteration 1: log likelihood = -177.60135
Iteration 2: log likelihood = -177.51383
Iteration 3: log likelihood = -177.51367
Iteration 4: log likelihood = -177.51366
Mixed-effects logistic regression Number of obs = 295
Group variable: code Number of groups = 225
Obs per group:
min = 1
avg = 1.3
max = 2
Integration method: mvaghermite Integration pts. = 7
Wald chi2(4) = 12.53
Log likelihood = -177.51366 Prob > chi2 = 0.0138
------------------------------------------------------------------------------
move_n | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
event |
1 | 2.35908 1.074402 1.88 0.059 .9662234 5.759804
2 | 4.34694 4.935034 1.29 0.196 .4697036 40.22939
3 | 7.296179 6.435996 2.25 0.024 1.29493 41.10973
|
2.wave | .1546896 .093249 -3.10 0.002 .0474619 .5041701
_cons | .3569965 .1362679 -2.70 0.007 .1689487 .7543503
-------------+----------------------------------------------------------------
code |
var(_cons)| 3.025472 2.253229 .7028428 13.02351
------------------------------------------------------------------------------
Note: Estimates are transformed only in the first equation.
Note: _cons estimates baseline odds (conditional on zero random effects).
LR test vs. logistic model: chibar2(01) = 5.51 Prob >= chibar2 = 0.0094
. estat ic
Akaike's information criterion and Bayesian information criterion
-----------------------------------------------------------------------------
Model | Obs ll(null) ll(model) df AIC BIC
-------------+---------------------------------------------------------------
. | 295 . -177.5137 6 367.0273 389.1492
-----------------------------------------------------------------------------
Note: N=Obs used in calculating BIC; see [R] BIC note.
. estimates store move1
.
. esttab move1 , star(* 0.1 ** 0.05 *** 0.01) eform constant b(a2) compress ci aic bic
-----------------------
(1)
move_n
-----------------------
move_n
0b.event .
_skip(10)
1.event 2.36*
[0.97,5.76]
2.event 4.35
[0.47,40.2]
3.event 7.30**
[1.29,41.1]
1b.wave .
_skip(10)
2.wave 0.15***
[0.047,0.50]
_cons 0.36***
[0.17,0.75]
-----------------------
/
var(_con~) 20.6
[0.25,1705.7]
-----------------------
N 295
AIC 367.0
BIC 389.1
-----------------------
Exponentiated coefficients; 95% confidence intervals in brackets
* p<0.1, ** p<0.05, *** p<0.01
.
.
end of do-file

Comment