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]

st: Factor variable notation vs. hand made dummy vars


From   Ulrich Kohler <[email protected]>
To   "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index