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: R: Treating ind. vars in logit


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: R: Treating ind. vars in logit
Date   Sat, 20 Apr 2013 10:35:53 -0400

For ordinal dependent variables, yes. But in this case the dependent variable is binary and the independent variables are ordinal.

Sent from my iPad

On Apr 20, 2013, at 10:29 AM, "Carlo Lazzaro" <carlo.lazzaro@tiscalinet.it> wrote:

> Athinagoras may be interested in taking a look at -help ologit-  and click
> on [R] ologit. 
> 
> 
> Kind Regads,
> Carlo
> 
> 
> 
> 
> 
> -----Messaggio originale-----
> Da: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di Athinagoras
> Konstantinidis
> Inviato: sabato 20 aprile 2013 15:44
> A: statalist@hsphsun2.harvard.edu
> Oggetto: st: Treating ind. vars in logit
> 
> Hello,
> 
> My DV is a binary variable (Yes/No) and I am using a logit regression
> analysis.
> 
> As for my independent variables,there are three I'm primarily interested in.
> They are all ordinal categorical variables,each of which is of the form:
> 
> Strongly Agree
> Agree
> Indifferent
> Disagree
> Strongly Disagree
> 
> Whats the best way to include those variables in the model?
> 
> I could arbitrarily plug some ordered values to each answer (e.g. -10 for
> "Strongly Disagree", -5 for "Disagree", 0 for "Indifferent", etc).
> 
> I could create dummies for each category and put them into the regression.
> 
> Or,finally, I could create one dummy for each variable which divides the
> categories in half and put them into the regression e.g. dummy=1 if ("Str.
> agree" or "Agree") and dymmy=0 if ("Indif." or "Disagree" or "Str.
> Disagree")
> 
> Which one of the three would you propose I do or, do you recommend any other
> alternatives?
> 
> Appreciate your time.
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index