Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Alice Dalton (MED)" <A.Dalton@uea.ac.uk> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: Problem with variables in glamm |
Date | Mon, 7 Oct 2013 11:53:51 +0000 |
Dear Statlist, I'm having a problem with the gllamm program (family(binomial) link(logit)). 1. My dependant variable (a proportion) will only work if the variable contains a zero, otherwise I get an r(2000) (no observations) error 2. Adding binary explanatory variables (eg a health variable where 1 excellent, 0 not excellent) results in the message 'variables have been dropped, can't continue' and an r(198) error. The null model works; the null model works with continuous variables added in; the null model plus one or more binary variables fails. The command I am using is gllamm [depvar] [varlist], i(ParticipantId) family(binomial) link(logit). I have 276 cases and 129 variables (not all of which are added to the model). If anyone with experience of gllamm has an idea of what is happening here, I would be most grateful to hear it. Thank you! Alice Dalton * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/