--Lee Sieswerda <[email protected]> wrote,
> For some reason I cannot get -by- to work with -binreg-. I can get around
> the problem using -if-, but according to the manual I should be able to use
> -by-.
[...]
and Nick Winter pointed out
> Looking at the ado code for -binreg-, it seems that -binreg- is a
> wrapper for -glm-, [...]
> you can just call -glm- directly, which does properly support "by
> varlist:". The (undocumented?) "cmd" option of -binreg- seems to tell
> you the necessary -glm- syntax.
>
Nick is correct that -binreg- calls -glm- to fit the model, so Lee can
actually use -glm- with -by- prefix to work around. We will look into
-binreg- and have the problem fixed.
Weihua Guan <[email protected]>
Stata Corp.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/