Statalist


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

Re: st: constraints


From   "Eva Poen" <[email protected]>
To   [email protected]
Subject   Re: st: constraints
Date   Wed, 25 Jun 2008 12:06:46 +0100

Come on, you can figure that one out by yourself.

My example has two different equations as well; run it. The
constraints I specified are for two different equations, but the same
variables. You can formulate constraints for different variables, of
course.

If you run into errors, show us the error messages you get.

Eva



2008/6/25 Chiara Mussida <[email protected]>:
> yes, but it is related to the same eq specified w r to 2 different cons.
> In a mvprobit I have 6 different equations with 6 different constraints:
> mvprobit (private = years logptax loginc) (vote = years logptax
>            loginc) (pub12 = years loginc):
> how could I add different cons to each eq??
> Thanks a lot
>
> 2008/6/25 Eva Poen <[email protected]>:aints.
>
>> Is this what you are looking for?
>>
>> webuse sysdsn3
>> constraint 1 [Indemnity]site2=1
>> constraint 2 [Prepaid]site2=2
>> mlogit insure age male site*,  baseoutcome(3) constraints(1-2)
>>
>> This could have been easily derived from -help constraint-.
>> Eva
>>
>> 2008/6/25 Maarten buis <[email protected]>:
>>> Than you specify a different constraint for each equation.
>>> -- Maarten
>>>
>>> --- Chiara Mussida <[email protected]> wrote:
>>>
>>>> Sure and Thanks. But it isn't explained how to allow
>>>> constraints(different) to different equation. And I'm in trouble..
>>>> Thanks
>>>>
>>>> 2008/6/25 Maarten buis <[email protected]>:
>>>> > --- Chiara Mussida <[email protected]> wrote:
>>>> >> is there a way to allow the constraints() option to each equation
>>>> of
>>>> >> a multivariate probit?
>>>> >
>>>> > Yes, -mvprobit- allows constraints, and the way constraints can
>>>> work
>>>> > with multiple equations is discussed in -help constraint-.
>>>> >
>>>> > -- Maarten
>>>> >
>>>> > -----------------------------------------
>>>> > Maarten L. Buis
>>>> > Department of Social Research Methodology
>>>> > Vrije Universiteit Amsterdam
>>>> > Boelelaan 1081
>>>> > 1081 HV Amsterdam
>>>> > The Netherlands
>>>> >
>>>> > visiting address:
>>>> > Buitenveldertselaan 3 (Metropolitan), room Z434
>>>> >
>>>> > +31 20 5986715
>>>> >
>>>> > http://home.fsw.vu.nl/m.buis/
>>>> > -----------------------------------------
>>>> >
>>>> >
>>>> >      __________________________________________________________
>>>> > Sent from Yahoo! Mail.
>>>> > A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
>>>> > *
>>>> > *   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/
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Chiara Mussida
>>>> PhD candidate
>>>> Doctoral school of Economic Policy
>>>> Catholic University, piacenza (Italy)
>>>> *
>>>> *   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/
>>>>
>>>
>>>
>>> -----------------------------------------
>>> Maarten L. Buis
>>> Department of Social Research Methodology
>>> Vrije Universiteit Amsterdam
>>> Boelelaan 1081
>>> 1081 HV Amsterdam
>>> The Netherlands
>>>
>>> visiting address:
>>> Buitenveldertselaan 3 (Metropolitan), room Z434
>>>
>>> +31 20 5986715
>>>
>>> http://home.fsw.vu.nl/m.buis/
>>> -----------------------------------------
>>>
>>>
>>>      __________________________________________________________
>>> Sent from Yahoo! Mail.
>>> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
>>> *
>>> *   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/
>>
>
>
>
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, piacenza (Italy)
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index