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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Factor variable notation vs. hand made dummy vars


From   Ulrich Kohler <kohler@wzb.eu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Factor variable notation vs. hand made dummy vars
Date   Mon, 06 Feb 2012 16:25:12 +0100

Hi all,

I cannot replicate the model 

. sysuse auto, clear
. tab rep78, gen(d)
. logit for mpg d2-d5

with factor variable notation. I tried

. logit for mpg ib1.rep78

but results differ. Can anybody explain why?

(Note as an aside that

. logit for mpg d1-d5

reproduces the factor variables solution, but normally I would not
specify the model this way)


Update status
    Last check for updates:  06 Feb 2012
    New update available:    none         (as of 06 Feb 2012)
    Current update level:    30 Jan 2012  (what's new)


Uli







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