Bookmark and Share

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]

st: RE: RE: error message in treatreg2 predict


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: error message in treatreg2 predict
Date   Wed, 26 May 2010 22:08:06 +0200

<>

Merely changing "lnalpha" to "lndelta" in the post-estimation code of -treatreg2- "treatreg2_p.ado" does not seem to do the trick, either. So I think your best chance is to wait for the author to reply on the list, which he has done before.


HTH
Martin


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Mittwoch, 26. Mai 2010 20:29
To: [email protected]
Subject: st: RE: error message in treatreg2 predict


<>

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: [email protected] [mailto:[email protected]] On Behalf Of Xiang Bi
Sent: Mittwoch, 26. Mai 2010 20:18
To: [email protected]
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/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index