Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: gllapred
From
Rosie Chen <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: gllapred
Date
Mon, 9 Apr 2012 09:48:24 -0700 (PDT)
Hello,
I'd like to use multinomial multilevel model to examine what factors relate to Y. After fitting the glllamm model, I requested the residual file for level1 so that I can calculate the predicted probability for each of the categories of Y, given that model estimation. Y is a three-category variable, and X1-X2 are level 1 predictors, and X3-X3 are level2 predictors. Below is the syntax I have used, but I got an error message. Would appreciate any advice.
gllamm Y X1 X2 X3 X4, link (mlogit) adapt fam(binom) trace i(Level2id)
gllapred res, u
Error message: unrecognized command: gllapred
*
* 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/