Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: gllapred |
Date | Mon, 9 Apr 2012 19:36:22 +0100 |
-gllamm- and -gllapred- are user-written commands from SSC, as you are asked to explain. Evidently (1) either you never installed -gllapred- or (2) Stata cannot see your copy as the file lies in a directory or folder not on your -adopath-. Nick On Mon, Apr 9, 2012 at 5:48 PM, Rosie Chen <jiarongchen2002@yahoo.com> wrote: > 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/ * * 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/