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]
Re: st: goodness of fit svy: probit
From
Maarten buis <[email protected]>
To
[email protected]
Subject
Re: st: goodness of fit svy: probit
Date
Thu, 10 Feb 2011 10:15:56 +0000 (GMT)
--- On Thu, 10/2/11, Bart van Rijsbergen wrote:
> I'm trying to calculate a goodness of fit measure after
> estimating a probit model using svy. According to my
> information, -estat gof- should be able to perform a
> goodness-of-fit test for -svy: probit-.
> I get the following message: invalid subcommand gof
> r(321);
I cannot reproduce that error. The following example works
fine for me:
*---------------- begin example ---------------------------
webuse nhanes2f
svyset psuid [pweight=finalwgt], strata(stratid)
svy: probit diabetes i.race age height weight female rural
estat gof
*----------------- end example ----------------------------
What version of Stata are you using? Can you change the
example above so that it reproduces your error?
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/