Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: goodness of fit with xtlogit


From   Garry Anderson <[email protected]>
To   [email protected]
Subject   Re: st: goodness of fit with xtlogit
Date   Thu, 21 Jun 2007 20:18:45 +1000

Hi,

It appears that Clive's suggestion of -estat gof- after -xtlogit- does not compute.

. estat gof
invalid subcommand gof
r(321);

Clicking on r(321) gives the error message

"No entries found for search on "r(321)"

Regards, Garry

At 10:36 AM 21/06/2007 +0100, you wrote:

Alexandra Wilson wrote:

How do you determine the efficacy of a binary panel regression (xtlogit)?  I
(sadly) do not expect that my regression explains much of the variation, as
I am more concerned with looking at the differences between variables, but I
would like to be able to report how much variation is explained.
This regression (output below) looks at the effect of different attributes
of marital status (wstat2-7, and COWIVES), and presence of kin (frel2) on
the probability of giving birth to a surviving child in a particular year
(BIRTH1), controlling for age (using centred age, agem, and centred age
squared, agemsq) and number of previous marriages (PREVMNO).
[...]

tsset PNO YEAR
       panel variable:  PNO (unbalanced)
        time variable:  YEAR, 1925 to 1995

. xtlogit BIRTH1 COWIVES PREVMNO wstat2 wstat3 wstat4 wstat5 wstat7 frel2
agem agemsq, re
[...]

-estat gof-?

--
Clive Nicholas
[Please DO NOT mail me personally here, but at
<[email protected]>. Thanks!]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index