{smcl}
{* 24oct2005}{...}
{hline}
help for {hi:svylogitgof}
{hline}

{title:Design-based goodness-of-fit for logistic regression}

{p 8 12 2}
{cmd:svylogitgof} 


{title:Description}

{p 4 4 2} 
{cmd:svylogitgof} Performs an F-adjusted mean residual test to assess goodness-of-fit of a design-based logistic regression model.
This command is only valid following {cmd: svy: logit} or {cmd: svy: logistic}.


{title:Options}

{p 4 8 2}
None at this time.


{title:Examples}

{p 4 8 2}{cmd:. use "nhis2004.dta", clear}{p_end}
{p 4 8 2}{cmd:. svyset psu [pweight=new_wgt], strata(stratum)}{p_end}
{p 4 8 2}{cmd:. xi: svy: logistic hypev age_p age2 age3 smkev alc1yr sex i.vigno i.racreci2, or}{p_end}
{p 4 8 2}{cmd:. svylogitgof}{p_end}


{title:Also see}

{p 4 13 2}
Online:  help for {help svyset}