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]

st: Pearson's goodness of fit test for logistic regression using complex survey data

From   Salazar Altamirano Saidé Aranzazú <>
To   "" <>
Subject   st: Pearson's goodness of fit test for logistic regression using complex survey data
Date   Wed, 13 Mar 2013 23:44:09 -0600

Hi Statalist users,

Hoping that you can offer some advice about the following issue.

I would like to apply the Pearson's goodness of fit test after a logistic regression. I am aware the test is valid under the assumption of independent and identically distributed observations. However, my data come from a complex sampling design. I know Hosmer and Lemeshow developed an alternative to  their standard goodness of fit test, taking into account the survey sampling weights and design (svylogitgof or estat gof in recent Stata versions). I would like to know if there is a similar alternative to estimate the standard Pearson statistic after a logistic regression using complex survey data. My interest in obtaining the Pearson statistic (i.e. a "modified" version of it for complex survey data) comes from the fact that my model has a small number of covariate patterns. As I understand, one of the assumptions for the Hosmer-Lemeshow test be valid, is to have a number of covariate patterns almost equal to the number of observations. Actually, I have around 1400 observati!
 ons (representing a population of 66,000 under probability weights) with 300 covariate patterns (the independent variables are all dummies).

Thank you very much for all your help!

*   For searches and help try:

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