Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: playing with coefficients


From   Joerg Luedicke <joerg.luedicke@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <cmussida@gmail.com> 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 <richardwilliams.ndu@gmail.com> 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:  Richard.A.Williams.5@ND.Edu
>> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index