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 on April 23, and its replacement, 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" <>
To   <>
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.


-----Original Message-----
From: [] On Behalf Of Xiang Bi
Sent: Mittwoch, 26. Mai 2010 20:18
Subject: st: error message in treatreg2 predict

Dear Statalister,

I am running the following example on treagreg2 from

net from

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

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

Any idea how i can deal with it?

Thank you very much!


Bi, Xiang
PhD Candidate & Research Assistant
Agricultural and Consumer Economics
University of Illinois, Urbana Champaign
*   For searches and help try:

*   For searches and help try:

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