Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
natalia malancu <[email protected]> |

To |
[email protected] |

Subject |
Re: st: suest mlogit equation not found error |

Date |
Tue, 24 Jul 2012 13:37:24 +0200 |

Thank you, Fernando. It worked fine. Natalia On Fri, Jul 20, 2012 at 7:46 PM, Fernando Rios Avila <[email protected]> wrote: > My Apologies. > I think i know what the problem is. Since I don't know how exactly > your data and results look like, i thought i might create a different > example. > . webuse sysdsn4 > > qui mlogit insure age if male==1, base(1) > estimates store m1 > qui mlogit insure age if male==0, base(1) > estimates store m2 > suest m1 m2 > > test ([m1_Prepaid=m2_Prepaid]) ([m1_Uninsure=m2_Uninsure]) > > I think this code does what you want to do (in a very simple > framework). You might need to adjust it accordingly. > Fernando > > On Fri, Jul 20, 2012 at 1:24 PM, natalia malancu > <[email protected]> wrote: >> Hi Fernando, >> >> to my understanding & based on what I read in previous posts about -suest- that >> specification applies only when referring regress. I tried it anyway and >> I'm getting the same error. >> >> Natalia >> >> >> >> >> On Fri, Jul 20, 2012 at 6:45 PM, Fernando Rios Avila <[email protected]> wrote: >>> >>> Hi Natalia, >>> I haven't personally done a Chow test using an Mlogit model, however I >>> believe the right syntax is: >>> mlogit Y x1 x2 x3 if period==0, base (0) >>> est store model1 >>> mlogit Y x1 x2 x3 if period==1, base (0) >>> est store model2 >>> >>> suest model1 model2 >>> test [ model1_mean=mode2_mean] >>> >>> Look at example 2 of the -suest- help file. >>> Fernando >>> >>> On Fri, Jul 20, 2012 at 10:14 AM, natalia malancu >>> <[email protected]> wrote: >>> > Hi all, >>> > >>> > I estimate a mlogit model on two different periods of the same >>> > sample. Then I want to test if there is a structural change. My >>> > question is: how do I do Chow Test in stata in this case? >>> > >>> > At this point I tried using the -suest- command as follows: >>> > >>> > mlogit Y x1 x2 x3 if period==0, base (0) >>> > est store model1 >>> > mlogit Y x1 x2 x3 if period==1, base (0) >>> > est store model2 >>> > >>> > suest model1 model2 >>> > test [ model1=mode2] >>> > >>> > but I keep receiving the following error: >>> > >>> > "equation model1 not found" >>> > >>> > I have also tried test[model1_Y=model2_Y] with similar limited success. >>> > >>> > Thanks for helping, >>> > Natalia >>> > * >>> > * For searches and help try: >>> > * http://www.stata.com/help.cgi?search >>> > * http://www.stata.com/support/statalist/faq >>> > * http://www.ats.ucla.edu/stat/stata/ >>> * >>> * For searches and help try: >>> * http://www.stata.com/help.cgi?search >>> * http://www.stata.com/support/statalist/faq >>> * http://www.ats.ucla.edu/stat/stata/ >> * >> * For searches and help try: >> * http://www.stata.com/help.cgi?search >> * http://www.stata.com/support/statalist/faq >> * http://www.ats.ucla.edu/stat/stata/ > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: suest mlogit equation not found error***From:*natalia malancu <[email protected]>

**Re: st: suest mlogit equation not found error***From:*Fernando Rios Avila <[email protected]>

**Re: st: suest mlogit equation not found error***From:*natalia malancu <[email protected]>

**Re: st: suest mlogit equation not found error***From:*Fernando Rios Avila <[email protected]>

- Prev by Date:
**RE: st: Optimize** - Next by Date:
**RE: st: Tobit model using GLLAMM** - Previous by thread:
**Re: st: suest mlogit equation not found error** - Next by thread:
**st: Ordinal dependent variable** - Index(es):