IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v056i05.html
   My bibliography  Save this article

HLMdiag: A Suite of Diagnostics for Hierarchical Linear Models in R

Author

Listed:
  • Loy, Adam
  • Hofmann, Heike

Abstract

Over the last twenty years there have been numerous developments in diagnostic pro- cedures for hierarchical linear models; however, these procedures are not widely imple- mented in statistical software packages, and those packages that do contain a complete framework for model assessment are not open source. The lack of availability of diagnostic procedures for hierarchical linear models has limited their adoption in statistical practice. The R package HLMdiag provides diagnostic tools targeting all aspects and levels of continuous response hierarchical linear models with strictly nested dependence structures fit using the lmer() function in the lme4 package. In this paper we discuss the tools implemented in HLMdiag for both residual and influence analysis.

Suggested Citation

  • Loy, Adam & Hofmann, Heike, 2014. "HLMdiag: A Suite of Diagnostics for Hierarchical Linear Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 56(i05).
  • Handle: RePEc:jss:jstsof:v:056:i05
    DOI: http://hdl.handle.net/10.18637/jss.v056.i05
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v056i05/v56i05.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v056i05/HLMdiag_0.2.4.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v056i05/v56i05.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v056.i05?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Leckie, George & Charlton, Chris, 2013. "runmlwin: A Program to Run the MLwiN Multilevel Modeling Software from within Stata," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 52(i11).
    2. Eddelbuettel, Dirk & Sanderson, Conrad, 2014. "RcppArmadillo: Accelerating R with high-performance C++ linear algebra," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 1054-1063.
    3. Verbeke, Geert & Lesaffre, Emmanuel, 1997. "The effect of misspecifying the random-effects distribution in linear mixed models for longitudinal data," Computational Statistics & Data Analysis, Elsevier, vol. 23(4), pages 541-556, February.
    4. Daowen Zhang & Marie Davidian, 2001. "Linear Mixed Models with Flexible Distributions of Random Effects for Longitudinal Data," Biometrics, The International Biometric Society, vol. 57(3), pages 795-802, September.
    5. Ke-Hai Yuan & Peter Bentler, 2002. "On normal theory based inference for multilevel models with distributional violations," Psychometrika, Springer;The Psychometric Society, vol. 67(4), pages 539-561, December.
    Full references (including those not matched with items on IDEAS)

    Citations

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


    Cited by:

    1. Bates, Douglas & Mächler, Martin & Bolker, Ben & Walker, Steve, 2015. "Fitting Linear Mixed-Effects Models Using lme4," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 67(i01).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Peng Zhang & Peter X.-K. Song & Annie Qu & Tom Greene, 2008. "Efficient Estimation for Patient-Specific Rates of Disease Progression Using Nonnormal Linear Mixed Models," Biometrics, The International Biometric Society, vol. 64(1), pages 29-38, March.
    2. Ye, Rendao & Wang, Tonghui & Gupta, Arjun K., 2014. "Distribution of matrix quadratic forms under skew-normal settings," Journal of Multivariate Analysis, Elsevier, vol. 131(C), pages 229-239.
    3. Francis K. C. Hui & Samuel Müller & Alan H. Welsh, 2021. "Random Effects Misspecification Can Have Severe Consequences for Random Effects Inference in Linear Mixed Models," International Statistical Review, International Statistical Institute, vol. 89(1), pages 186-206, April.
    4. Warrington Nicole M. & Tilling Kate & Howe Laura D. & Paternoster Lavinia & Pennell Craig E. & Wu Yan Yan & Briollais Laurent, 2014. "Robustness of the linear mixed effects model to error distribution assumptions and the consequences for genome-wide association studies," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 13(5), pages 1-21, October.
    5. Daniel McNeish & Jeffrey R. Harring & Denis Dumas, 2023. "A multilevel structured latent curve model for disaggregating student and school contributions to learning," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 32(2), pages 545-575, June.
    6. Jacqmin-Gadda, Helene & Sibillot, Solenne & Proust, Cecile & Molina, Jean-Michel & Thiebaut, Rodolphe, 2007. "Robustness of the linear mixed model to misspecified error distribution," Computational Statistics & Data Analysis, Elsevier, vol. 51(10), pages 5142-5154, June.
    7. Li, Erning & Pourahmadi, Mohsen, 2013. "An alternative REML estimation of covariance matrices in linear mixed models," Statistics & Probability Letters, Elsevier, vol. 83(4), pages 1071-1077.
    8. Jara, Alejandro & Quintana, Fernando & San Marti­n, Ernesto, 2008. "Linear mixed models with skew-elliptical distributions: A Bayesian approach," Computational Statistics & Data Analysis, Elsevier, vol. 52(11), pages 5033-5045, July.
    9. Reyhaneh Rikhtehgaran & Iraj Kazemi, 2013. "Semi-parametric Bayesian estimation of mixed-effects models using the multivariate skew-normal distribution," Computational Statistics, Springer, vol. 28(5), pages 2007-2027, October.
    10. Rendao Ye & Tonghui Wang & Saowanit Sukparungsee & Arjun Gupta, 2015. "Tests in variance components models under skew-normal settings," Metrika: International Journal for Theoretical and Applied Statistics, Springer, vol. 78(7), pages 885-904, October.
    11. Weiping Zhang & MengMeng Zhang & Yu Chen, 2020. "A Copula-Based GLMM Model for Multivariate Longitudinal Data with Mixed-Types of Responses," Sankhya B: The Indian Journal of Statistics, Springer;Indian Statistical Institute, vol. 82(2), pages 353-379, November.
    12. Xiao Song & Marie Davidian & Anastasios A. Tsiatis, 2002. "A Semiparametric Likelihood Approach to Joint Modeling of Longitudinal and Time-to-Event Data," Biometrics, The International Biometric Society, vol. 58(4), pages 742-753, December.
    13. Philip S. Boonstra & Bhramar Mukherjee & Jeremy M. G. Taylor & Mef Nilbert & Victor Moreno & Stephen B. Gruber, 2011. "Bayesian Modeling for Genetic Anticipation in Presence of Mutational Heterogeneity: A Case Study in Lynch Syndrome," Biometrics, The International Biometric Society, vol. 67(4), pages 1627-1637, December.
    14. Leonardo Grilli & Carla Rampichini, 2015. "Specification of random effects in multilevel models: a review," Quality & Quantity: International Journal of Methodology, Springer, vol. 49(3), pages 967-976, May.
    15. Huang, Pei & McCarl, Bruce A., 2014. "Estimating Decadal Climate Variability Effects on Crop Yields: A Bayesian Hierarchical Approach," 2014 Annual Meeting, July 27-29, 2014, Minneapolis, Minnesota 169828, Agricultural and Applied Economics Association.
    16. Zeinolabedin Najafi & Karim Zare & Mohammad Reza Mahmoudi & Soheil Shokri & Amir Mosavi, 2022. "Inference and Local Influence Assessment in a Multifactor Skew-Normal Linear Mixed Model," Mathematics, MDPI, vol. 10(15), pages 1-21, August.
    17. Wendimagegn Ghidey & Emmanuel Lesaffre & Paul Eilers, 2004. "Smooth Random Effects Distribution in a Linear Mixed Model," Biometrics, The International Biometric Society, vol. 60(4), pages 945-953, December.
    18. Charles E. McCulloch & John M. Neuhaus, 2011. "Prediction of Random Effects in Linear and Generalized Linear Models under Model Misspecification," Biometrics, The International Biometric Society, vol. 67(1), pages 270-279, March.
    19. Vock, David & Davidian, Marie & Tsiatis, Anastasios, 2014. "SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 56(c02).
    20. Manor, Orly & Zucker, D.M.David M., 2004. "Small sample inference for the fixed effects in the mixed linear model," Computational Statistics & Data Analysis, Elsevier, vol. 46(4), pages 801-817, July.

    More about this item

    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:jss:jstsof:v:056:i05. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: http://www.jstatsoft.org/ .

    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.