Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | rgutierrez@stata.com (Roberto G. Gutierrez, StataCorp) |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: more on_statsby error |
Date | Wed, 22 Sep 2010 13:22:23 -0500 |
Al Feiveson <alan.h.feiveson@nasa.gov> writes regarding -statsby:- used with -xtmixed-: > Apparently, in an -xtmixed_ command with more than one level, -statsby- can > only handle options in the fixed or random sections if such options occur > only once in the whole model: > [...] > One option in the fixed part and one option in the first random level: > . statsby _b[ib],by(condition outcome) : xtmixed y ib, noconst ||isub: ib,noconst ||fd: R.ib > invalid 'noconst' > r(198); > In general, -statsby- will fail if there is more than one option section > anywhere in the model. Al has discovered a parsing bug in -statsby- when used with -xtmixed-. We'll fix this in an ado update. --Bobby rgutierrez@stata.com * * 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/