Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2007 Jul 16:7:34.
doi: 10.1186/1471-2288-7-34.

A simulation study of sample size for multilevel logistic regression models

Affiliations

A simulation study of sample size for multilevel logistic regression models

Rahim Moineddin et al. BMC Med Res Methodol. .

Abstract

Background: Many studies conducted in health and social sciences collect individual level data as outcome measures. Usually, such data have a hierarchical structure, with patients clustered within physicians, and physicians clustered within practices. Large survey data, including national surveys, have a hierarchical or clustered structure; respondents are naturally clustered in geographical units (e.g., health regions) and may be grouped into smaller units. Outcomes of interest in many fields not only reflect continuous measures, but also binary outcomes such as depression, presence or absence of a disease, and self-reported general health. In the framework of multilevel studies an important problem is calculating an adequate sample size that generates unbiased and accurate estimates.

Methods: In this paper simulation studies are used to assess the effect of varying sample size at both the individual and group level on the accuracy of the estimates of the parameters and variance components of multilevel logistic regression models. In addition, the influence of prevalence of the outcome and the intra-class correlation coefficient (ICC) is examined.

Results: The results show that the estimates of the fixed effect parameters are unbiased for 100 groups with group size of 50 or higher. The estimates of the variance covariance components are slightly biased even with 100 groups and group size of 50. The biases for both fixed and random effects are severe for group size of 5. The standard errors for fixed effect parameters are unbiased while for variance covariance components are underestimated. Results suggest that low prevalent events require larger sample sizes with at least a minimum of 100 groups and 50 individuals per group.

Conclusion: We recommend using a minimum group size of 50 with at least 50 groups to produce valid estimates for multi-level logistic regression models. Group size should be adjusted under conditions where the prevalence of events is low such that the expected number of events in each group should be greater than one.

PubMed Disclaimer

Similar articles

Cited by

References

    1. Faris REL, Dunham HW. In: Mental disorders in urban areas: an ecological study of schizophrenia and other psychoses, Dunham HW, editor. Chicago, University of Chicago Press; 1939.
    1. Shaw CR, McKay HD. In: Juvenile delinquency and urban areas;: a study of rates of delinquency in relation to differential characteristics of local communities in American cities. McKay HD, editor. Chicago, University Press; 1969.
    1. O'Campo P. Invited Commentary: Advancing Theory and Methods for Multilevel Models of Residential Neighborhoods and Health. Am J Epidemiol. 2003;157:9–13. doi: 10.1093/aje/kwf171. - DOI - PubMed
    1. Maas CJM, Hox JJ. Robustness issues in multilevel regression analysis. Statistica Neerlandica. 2004;58:127–137. doi: 10.1046/j.0039-0402.2003.00252.x. - DOI
    1. Hox JJ. Multilevel analysis: techniques and applications. Mahwah, N.J., Lawrence Erlbaum Publishers; 2002.

Publication types

LinkOut - more resources