Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: logistic regression


From   Christer.Thrane@hil.no
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: logistic regression
Date   Thu, 3 Oct 2002 11:51:09 +0200

Try:

logit prop1 conc inc

if you are willing to assume that the independent variables have a linear
effect on the dependent variable, or

xi: logit prop1 i.conc i.inc

if you will examine if the linearity assumtion holds.

BR

Christer Thrane
Lillehammer College




                                                                                                                                               
                      Chris.Fergusson@sth.nhs.u                                                                                                
                      k                                To:       statalist@hsphsun2.harvard.edu                                                
                      Sent by:                         cc:                                                                                     
                      owner-statalist@hsphsun2.        Subject:  st: logistic regression                                                       
                      harvard.edu                                                                                                              
                                                                                                                                               
                                                                                                                                               
                      03.10.02 11:37                                                                                                           
                      Please respond to                                                                                                        
                      statalist                                                                                                                
                                                                                                                                               
                                                                                                                                               




Hello statalisters,

Could anybody tell me how I would treat the following problem,

I am using logistic regression to calculate the relationship between a
dependent variable (prop1) and two catagorical variables (conc and inc).
There are no other variables.  Conc takes the values 1,2,...,8 and inc
takes
the values 1,2,3.  Any advice on the syntax would be most appreciated, or
pointers towards literature.

Thank you in advance,

Christopher D Fergusson
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/




*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index