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]

Antwort: st: poisson gof in table - estout command

From   Richard Ochmann <>
Subject   Antwort: st: poisson gof in table - estout command
Date   Wed, 20 Oct 2010 10:58:19 +0200

this adds the chi2-statistic:

webuse dollhill3
tab agecat, gen(agecat)
eststo poi1: poisson deaths smokes agecat1 agecat2 agecat3, 
estat gof
scalar gof = r(chi2)
estadd scalar gofchi2=gof: poi1
esttab poi1, stat(gofchi2)

best, rich schrieb am 20.10.2010 10:14:34:

> Dear listserv users,
> I'm trying to incorporate the goodness-of-fit measure (estat gof) that
> is run as a postestimation after a Poisson regression into the output
> table using the 'estout' command. Simply including 'gof' (or
> variations) of the goodness-of-fit measure in the 'stats' sub-command
> does not work - it just shows as 'poiss_g' in the table. I have tried
> to store it beforehand but this also didn't work. I apologise
> beforehand if the answer is obvious but I''m new to Stata and have not
> found any help on this topic.
> Many thanks in advance,
> Uta
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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