Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: error message in treatreg2 predict


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: error message in treatreg2 predict
Date   Wed, 26 May 2010 20:29:23 +0200

<>

My copy of the do-file gets stuck on the incorrect specification of the outcome density in line 12. It must be changed from "negbin" to "negbin1". Apart from that, there is no lnalpha returned after the command, which you can check via -mat l e(b)-. There is a "lndelta" equation, though.


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Xiang Bi
Sent: Mittwoch, 26. Mai 2010 20:18
To: statalist@hsphsun2.harvard.edu
Subject: st: error message in treatreg2 predict

Dear Statalister,

I am running the following example on treagreg2 from

net from http://urban.hunter.cuny.edu/~deb/Stata

I run the example do file: treatreg2-example.do, but i can not compute mfx
or predict after the estimation

The error message for both mfx, force and predict is: "equation lnalpha not
found"

Any idea how i can deal with it?

Thank you very much!

Regards,

Xiang
--
***********************************************
Bi, Xiang
PhD Candidate & Research Assistant
Agricultural and Consumer Economics
University of Illinois, Urbana Champaign
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index