Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: playing with coefficients


From   Joerg Luedicke <[email protected]>
To   [email protected]
Subject   Re: st: playing with coefficients
Date   Fri, 23 Mar 2012 08:39:25 -0700

For binary variables it actually won't matter which operator you
choose, but using the operator -i.- for them makes life easier when
you subsequently want to use -margins- (at least as of Stata 11.2
which I still use; don't know if something has changed with Stata 12).

J.

On Fri, Mar 23, 2012 at 8:26 AM, Chiara Mussida <[email protected]> wrote:
> ok,
> therefore if I already have a dummy and I want to use it in my
> independent variables set, e.g. child (=1 for the presence of child, 0
> otherwise), I put in my
> reg of lwage, do I use i.child?
>
> On 23/03/2012, Richard Williams <[email protected]> wrote:
>> At 10:08 AM 3/23/2012, Chiara Mussida wrote:
>>>I got it: for categorical variable c.namevariable, and for dummy
>>>variables? or continuous variable?
>>
>> c.var means var is continuous; i.var means var is categorical and
>> Stata will, in effect, make dummy variables out of it.
>>
>>
>> -------------------------------------------
>> Richard Williams, Notre Dame Dept of Sociology
>> OFFICE: (574)631-6668, (574)631-6463
>> HOME:   (574)289-5227
>> EMAIL:  [email protected]
>> WWW:    http://www.nd.edu/~rwilliam
>>
>> *
>> *   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/
>>
>
>
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, Piacenza (Italy)
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index