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

st: margin and conformability error after constrained mlogit


From   Adrian Gonzalez-Gonzalez <gonzalez-gonzale.1@osu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: margin and conformability error after constrained mlogit
Date   Thu, 27 May 2004 08:33:52 -0400

Dear Statalisters

I am constraining the coefficients of some explanatory variables to be zero
in a Multinomial model.  After that, when I use margin I get the following
error (program below):
		conformability error
		r(503);

Margin works fine without the constraint option in mlogit. I want to know if
there is any way to overcome this problem with margin.  I know that mfx
works with the constraint option in mlogit, but it takes a lot of time
(days) in my old computer.  I am using the most updated version of Stata 8
and margin.

Thanks a lot

Adrian




  cons 1 [1]: Minutes
  cons 2 [2]: Minutes
  cons 3 [3]: Minutes
  cons 4 [1]: Xpec_95
  cons 5 [2]: Xpec_95
  cons 6 [3]: Xpec_95

mlogit ralt Years Lenders_* Xpec_95  Sho* Minutes  Savings , base(0)
constraint(1-6)

margin, count percent

Adrian Gonzalez
Ph.D Candidate
Agricultural, Environmental and Development Economics
The Ohio State University
Phone: (614) 784-8928


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