Statalist


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

Re: st: combine indicator values


From   Jeph Herrin <jeph@spandrel.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: combine indicator values
Date   Mon, 23 Nov 2009 08:37:05 -0500

Does every family have at least 1 child? If some families have
zero children (child1=child2=child3=0), then omitting child1
from the model will mean the reference group is "0 or 1 children".

You may want to include all three indicator variables in the model,
so that the reference group is "0 children".

hth,
Jeph

Nikolaos Pandis wrote:
> Hi to all.
> 
> I have the following binary (0,1) variables:
> 
> child1, child2 child3
> 
> They indicate if the family has or not 1, 2, 3+ children
> respectively.
> 
> I would like to enter them in a logistic model using the xi commnad
> and child1 as reference, after I combined them into 1 variable.
> 
> Any advise would be appreciated.
> 
> Many thanks,
> 
> Nick
> 
> 
> 
> * *   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/
> 

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