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

Re: st: multinomial logistic regression: adjacent logits


From   Constantine Daskalakis <C_Daskalakis@mail.jci.tju.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: multinomial logistic regression: adjacent logits
Date   Thu, 29 Sep 2005 17:09:43 -0400

At 04:44 PM 9/29/2005, Yi-Fu Chen wrote:
Hi, everyone,

I want to run a four-category multinomial logistic model and I find the comparison will be more interesting for me if I use adjacent logits.
Does anyone know how to do multinomial logistic regression with adjacent logits?
It seems mlogit only provides baseline logits.

Any suggestions are appriciated.

Yi-fu

In an older version of Stata I did this through -mlogit- and using -constraint- for the constraints b_j = (J-j)*b. I think this is still what you need to do.

Example: Y is the outcome (let's say it takes on values 0, 1, and 2) and X and Z are predictors.

. constraint define 1 [2]x =2*[1]x

. constraint define 2 [2]z =2*[1]z

. mlogit y x z, basecategory(0) constraint(1 2)


You can assess fit by comparing unconstrained and constrained models (see Stata manual for mlogit, constrained models).





The documents accompanying this transmission may contain confidential health or business information. This information is intended for the use of the individual or entity named above. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of these documents.

________________________________________________________________
Constantine Daskalakis, ScD
Assistant Professor,
Thomas Jefferson University, Division of Biostatistics,
211 S. 9th St., Suite 602, Philadelphia, PA 19107
Tel: 215-955-5695
Fax: 215-503-3804
Email: c_daskalakis@mail.jci.tju.edu
Webpage: http://www.jefferson.edu/clinpharm/bio/
*
* 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