Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: R: st: combine indicator values


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: R: st: combine indicator values
Date   Mon, 23 Nov 2009 11:43:50 +0000 (GMT)

--- On Mon, 23/11/09, Carlo Lazzaro wrote:
> Nick is seemingly drifting away from his original query.
> If Nick plugs in the model the child_123 var as he
> reported, he seems to leave the logistic regression
> framework in favour of the Poisson one (that is, he 
> replaces binary response with count data).

No, he reported that he is using a different (binary)
dependent variable. So his problem seems to be how to
add a categorical variable to a logistic regression 
model (with or without -xi-). He wants to create a
categorical variable from a set of dummy variables,
and than use -xi- to put them (as a set of dummies)
in logistic regression. He is just not sure how
to set the reference category when adding a set
of dummy variables directly rather than through
-xi-, which I explained in the posts befor.

Hope this helps,
Maarten 

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index