Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: negative variance?

From   Hanne F <>
Subject   st: negative variance?
Date   Tue, 25 Jun 2013 04:11:03 -0700 (PDT)


I am currently using a two-level random slope model, logistic regression.
The reason I use multilevel is to control for a possible design effect. I am
using xtmelogit, but I already tried glamm and xtlogit as well. I have data
for three measurements. When running the same model on the first two
measurements, I do not experience any problems. By contrast, for the third
measurement, I do not seem to get an accurate estimation of the second level
variance. Sd_cons is virtually zero, and the confidence interval is also
odd: I get exactly 0 as a lower point, and a '.' as upper bound. The p-value
indicating whether or not it is necessary to use a multilevel design gives
exactly zero. Can anyone tell me why this is the case?
In a multilevel course based on MLWin I learned that in this case you should
'allow for negative variance'. Can anybody please tell me how I could do
this with Stata?

thank you very much in advance!!

best regards,

View this message in context:
Sent from the Statalist mailing list archive at
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index