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: _rmdcoll with glamm |
Date | Thu, 9 Jun 2011 09:59:59 +0100 |
I don't think the code you show has anything to do with the error message you got. So, I guess you are showing us the wrong part of the code. -gllamm- as I understand it much pre-dates Stata 11 and does not understand factor variables. Nick On Thu, Jun 9, 2011 at 9:54 AM, alec minnema <alecminnema@hotmail.com> wrote: > > Due to the incorrect subject title, here I post my question again. I want to run a large number of random effects panel poisson regressions but because the robust option is not allowed in xtpoisson I use gllamm. > However, because gllamm is unable to handle collinear variables I first use _rmdcoll to select the variables that are not collinear. Unfortunately, for a large number of the regressions stata still gives the following error: > > factor variables and time-series operators not allowed > > Does someone know what is going on? > To illustrate here is a part of the code: >> > _rmdcoll v7 Rebate v28 v31 v32 v33 v63 v64 Promotion > gllamm `r(varlist)', i(v1) family(poisson) link(log) iterate(25) robust * * 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/