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]
Antwort: st: poisson gof in table - estout command
From
Richard Ochmann <[email protected]>
To
[email protected]
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,
exposure(pyears)
estat gof
scalar gof = r(chi2)
estadd scalar gofchi2=gof: poi1
esttab poi1, stat(gofchi2)
***
best, rich
[email protected] 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:
> * 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/