IDEAS home Printed from https://ideas.repec.org/p/boc/dsug17/05.html
   My bibliography  Save this paper

How to assess the fit of multilevel logit models with Stata?

Author

Listed:
  • Wolfgang Langer

    (Martin Luther University of Halle-Wittenberg)

Abstract

Stata 14 includes the multilevel model for binary (melogit) and ordinal logits (meologit). Unfortunately, except for the global Wald test of the estimated fixed effects, both models do not provide any fit measure to assess its practical significiance. Therefore, I developed an ado-file to calculate McFadden's and McKelvey and Zavoina's pseudo-R²s. It estimates the intraclass correlation (ICC) of the dependent variable for the actual sample to assess the maximum of the contextual effect. Since the early 1990s, a lot of Monte Carlo simulation studies (Hagle and Mitchell 1992; Veall and Zimmermann 1992, 1993, 1994; Windmeijer 1995; DeMaris 2002) proved that McKelvey and Zavoina pseudo-R² is the best one to assess the fit of binary and ordinal logit models. My ado-file calculates this fit in two complementary ways: first, for the fixed effects only, and second, for the fixed and random effects together. The estimation of McFadden's pseudo-R² uses two different zero models: first, the random-intercept-only model (RIOM) knowing the contextual units, and second, the fixed-intercept-only model (FIOM) ignoring the contextual units completely. For each of them, it calculates the global likelihood-ratio-chi2 test statistic whether all fixed effects or all fixed and random effects are zero in the population. An empirical study of drug consumption in European countries demonstrates the usefulness of my fit_meologit_2lev.ado or fit_meologit_3lev.ado files for multilevel binary and ordinal logit models.

Suggested Citation

  • Wolfgang Langer, 2017. "How to assess the fit of multilevel logit models with Stata?," German Stata Users' Group Meetings 2017 05, Stata Users Group.
  • Handle: RePEc:boc:dsug17:05
    as

    Download full text from publisher

    File URL: http://repec.org/dsug2017/Germany17_Langer.pdf
    File Function: presentation materials
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Maribel Guerrero & José Ernesto Amorós & David Urbano, 2021. "Do employees’ generational cohorts influence corporate venturing? A multilevel analysis," Small Business Economics, Springer, vol. 57(1), pages 47-74, June.
    2. Wolff, Richard & Struck, Olaf & Osiander, Christopher & Senghaas, Monika & Stephan, Gesine, 2022. "Justice perceptions of occupational training subsidies: findings from a factorial survey," Journal for Labour Market Research, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany], vol. 56, pages 1-6.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:dsug17:05. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.