Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: constraints in mlogit


From   "stata_user stata_user" <stata_dofile@hotmail.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: RE: constraints in mlogit
Date   Tue, 15 Aug 2006 16:49:14 +0100

Thanks to both of you,
I am not a stata expert , and to be honest, I did not understand how to use Roger's suggestion, but now yes
Thanks
S.


From: "Maarten Buis" <M.Buis@fsw.vu.nl>
Reply-To: statalist@hsphsun2.harvard.edu
To: <statalist@hsphsun2.harvard.edu>
Subject: RE: st: RE: constraints in mlogit
Date: Tue, 15 Aug 2006 13:19:20 +0200

S:
Roger was correct in pointing you to -lincom-, see example below:

*-----begin example-------
sysuse auto, clear
recode rep78 1=3 2=3
mlogit rep78 foreign mpg
lincom [4]foreign - [5]foreign
*------end example--------

Also see -help test- for more information on how to access parameters in different equations.

HTH,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of stata_user stata_user
Sent: dinsdag 15 augustus 2006 12:35
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: RE: constraints in mlogit

Thanks, but we can use the lincom if we have for example linear reg of
logistic regression, here I have like a two set of outputs of a logitistic
reg and I can not see how to use the lincom here , I have seen that we can
use constraints(clist)
how I can use my outpus with the constraints

S.


>From: "Newson, Roger B" <r.newson@imperial.ac.uk>
>Reply-To: statalist@hsphsun2.harvard.edu
>To: <statalist@hsphsun2.harvard.edu>
>Subject: st: RE: constraints in mlogit
>Date: Mon, 14 Aug 2006 17:28:26 +0100
>
>Use the -lincom- command of official Stata to get confidence imtervals
>and P-values for ratios of odds ratios. To find out about -lincom-, type
>whelp lincom
>in Stata.
>
>Hope this helps.
>
>Roger
>
>
>Roger Newson
>Lecturer in Medical Statistics
>Respiratory Epidemiology and Public Health Group
>National Heart and Lung Institute
>Imperial College London
>Royal Brompton campus
>Room 33, Emmanuel Kaye Building
>1B Manresa Road
>London SW3 6LR
>Tel: +44 (0)20 7352 8121 ext 3381
>Fax: +44 (0)20 7351 8322
>Email: r.newson@imperial.ac.uk
>www.imperial.ac.uk/nhli/r.newson/
>
>Opinions expressed are those of the author, not of the institution.
>
>-----Original Message-----
>From: owner-statalist@hsphsun2.harvard.edu
>[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of stata_user
>stata_user
>Sent: 14 August 2006 17:13
>To: statalist@hsphsun2.harvard.edu
>Subject: st: constraints in mlogit
>
>Hi,
>It is possible to test if two paramters are statistically equal in a
>mlogit?
>
>Let Y a discrete variable with 3 categories y1 y2 y3
>
>X1 continuous
>X2 binary
>
>I consider mlogit Y X1 X2
>
>y1 is the reference
>
>I obtain two paramters for each of X1 and X2 for the comparisons y2 vs
>y1
>and y3 vs y1
>
>For example for X1:
>
>let b21 be the parameter for the comparison y2 vs y1
>let b31 be the parameter for the comparison y3 vs y1
>
>How I can test H0: b21=b31
>
>thanks
>
>S.
>
>_________________________________________________________________
>Windows Live(tm) Messenger has arrived. Click here to download it for
>free!
>http://imagine-msn.com/messenger/launch80/?locale=en-gb
>
>*
>* 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/

_________________________________________________________________
Windows Live(tm) Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb

*
* 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/
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters

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