Thanks for the reply. Here are more details on my problem.
I am estimating multilevel models with random effect intercepts. The
dependent variable is measured using plausible values, therefore I
tried to use the user-written package -pv- for estimation as follows:
pv escs age female grade immg hmlang public city rural clsize scmatedu
[pw=w_fstuwt], pv(pv*math) cmd("xtmixed") cmdops("|| schid:") brr
rw(w_fstr*) fays(0.5)
The error message is "weights not allowed", so I guess -xtmixed- does
not work with -pv-. I have tried -gllamm- with -pv- as well, and it
gives the same error message.
I believe that making the dataset unweighted or using frequency
weights will not solve my problem either. My main issue is that the
dependent variable uses plausible values, and hence I have to use -pv-
for estimation. -pv- requires weights, so I need either find a command
for multilevel random effects models that allows weights, or find an
alternative to -pv- that handles plausible values.
Any thoughts would be very much appreciated!
Nailing Xia
On Fri, May 29, 2009 at 10:47 AM, Austin Nichols
<[email protected]> wrote:
> Nailing Xia <[email protected]> :
> -gllamm- can handle this case; -findit gllamm- and read a few hundred
> pages of references...
> Do you need a multilevel model or can you specify fixed effects
> (faster and easier, and often more theoretically defensible)?
>
> On Fri, May 29, 2009 at 9:50 AM, Nailing Xia <[email protected]> wrote:
>> I am estimating a multilevel model using command -xtmixed-. The
>> dependent variable is measured with plausible values and Stata has the
>> command -pv- that handles such situation. However, -pv- does not seem
>> to work with -xtmixed-, it gives me error message "weights not
>> allowed". Does anyone know why I am getting this error message, or
>> other Stata command that handles plausible values with multilevel
>> models? I appreciate your help!
>>
>> Nailing Xia
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/