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

st: RE: mlogit with constraints


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: mlogit with constraints
Date   Thu, 11 Nov 2004 15:43:01 -0600

I suspect you have defined a constraint for the base category (either
equation 2 or 3).  You could use the basecategory(#) option to change the
value of dependent variable that is treated as the base category.

Hope this helps,
Scott


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Vartia, Niini
> Sent: Thursday, November 11, 2004 7:56 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: mlogit with constraints
> 
> Dear Statalisters,
> 
> I trying to estimate a multinomial model with categorical dependent
> variable (multi) taking values 1,2 and 3. I would like to constrain some
> of the coefficients related to the explanatory variables to be zero. After
> defining the following constraints and estimating mlogit model I get the
> message below:
> 
> constraint define 1 [3] L2debt=0
> 
> constraint define 2 [2]  debttoas23=0
> 
>  mlogit multi bktvolkasvu avhelieuribor m2togdp invr3 wint3 capint3
> exint3tot3
> prcosttot3 glvtot3 rdint1 tplkmyr ika loghenk forown L2profit fixtotot
> debt
> toas23 L2debt logcov, cluster(yrtunnew) constraints(1-2)
> 
> redundant or inconsistent constraints
> r(412)
> 
> I must be doing something wrong when specifying the constraints. I Would
> really be grateful for help in setting up the constraints.



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