Skip to main content

2013 | OriginalPaper | Buchkapitel

15. Fitting Linear Mixed-Effects Models: The lmer() Function

verfasst von : Andrzej Gałecki, Tomasz Burzykowski

Erschienen in: Linear Mixed-Effects Models Using R

Verlag: Springer New York

Aktivieren Sie unsere intelligente Suche um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In Chap. 14, we introduced the lme() function from the nlme package. The function is a popular and well-established tool to fit LMMs. It is especially suitable for fitting LMMs to data with hierarchies defined by nested grouping factors.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
Zurück zum Zitat Baayen, R., Davidson, D., & Bates, D. (2008). Mixed-effects modeling with crossed random effects for subjects and items. Journal of Memory and Language, 59(4), 390–412.CrossRef Baayen, R., Davidson, D., & Bates, D. (2008). Mixed-effects modeling with crossed random effects for subjects and items. Journal of Memory and Language, 59(4), 390–412.CrossRef
Zurück zum Zitat Bates, D. (2012). Computational Methods for Mixed Models. R Foundation for Statistical Computing. Bates, D. (2012). Computational Methods for Mixed Models. R Foundation for Statistical Computing.
Zurück zum Zitat Bates, D., & Maechler, M. (2012). Matrix: Sparse and Dense Matrix Classes and Methods. R package version 1.0–10. http://CRAN.R-project.org/package=Matrix. Bates, D., & Maechler, M. (2012). Matrix: Sparse and Dense Matrix Classes and Methods. R package version 1.0–10. http://​CRAN.​R-project.​org/​package=​Matrix.​
Zurück zum Zitat Bates, D., Maechler, M., & Bolker, B. (2012). Fitting linear mixed-effects models using lme4. Journal of Statistical Software (forthcoming). Bates, D., Maechler, M., & Bolker, B. (2012). Fitting linear mixed-effects models using lme4. Journal of Statistical Software (forthcoming).
Zurück zum Zitat Box, G. E. P., Jenkins, G. M., & Reinsel, G. C. (1994). Time Series Analysis. Prentice Hall Inc., third ed. Forecasting and control. Box, G. E. P., Jenkins, G. M., & Reinsel, G. C. (1994). Time Series Analysis. Prentice Hall Inc., third ed. Forecasting and control.
Zurück zum Zitat Cantrell, C. (2000). Modern Mathematical Methods for Physicists and Engineers. Cambridge University Press. Cantrell, C. (2000). Modern Mathematical Methods for Physicists and Engineers. Cambridge University Press.
Zurück zum Zitat Carroll, R., & Ruppert, D. (1988). Transformation and Weighting in Regression. Chapman & Hall/CRC. Carroll, R., & Ruppert, D. (1988). Transformation and Weighting in Regression. Chapman & Hall/CRC.
Zurück zum Zitat Chambers, J., & Hastie, T. (1992). Statistical Models in S. Wadsworth & Brooks/Cole Advanced Books & Software. Chambers, J., & Hastie, T. (1992). Statistical Models in S. Wadsworth & Brooks/Cole Advanced Books & Software.
Zurück zum Zitat Chatterjee, S., Hadi, A., & Price, B. (2000). The Use of Regression Analysis by Example. John Wiley & Sons. Chatterjee, S., Hadi, A., & Price, B. (2000). The Use of Regression Analysis by Example. John Wiley & Sons.
Zurück zum Zitat Claflin, D.R., Larkin, L.M., Cederna, P.S., Horowitz, J.F., Alexander, N.B., Cole, N.M., Galecki, A.T., Chen, S., Nyquist, L.V., Carlson, B.M., Faulkner, J.A., & Ashton-Miller, J.A. (2011) Effects of high- and low-velocity resistance training on the contractile properties of skeletal muscle fibers from young and older humans. Journal of Applied Physiology, 111, 1021–1030.CrossRef Claflin, D.R., Larkin, L.M., Cederna, P.S., Horowitz, J.F., Alexander, N.B., Cole, N.M., Galecki, A.T., Chen, S., Nyquist, L.V., Carlson, B.M., Faulkner, J.A., & Ashton-Miller, J.A. (2011) Effects of high- and low-velocity resistance training on the contractile properties of skeletal muscle fibers from young and older humans. Journal of Applied Physiology, 111, 1021–1030.CrossRef
Zurück zum Zitat Crainiceanu, C., & Ruppert, D. (2004). Likelihood ratio tests in linear mixed models with one variance component. Journal of the Royal Statistical Society: Series B, 66, 165–185.MathSciNetMATHCrossRef Crainiceanu, C., & Ruppert, D. (2004). Likelihood ratio tests in linear mixed models with one variance component. Journal of the Royal Statistical Society: Series B, 66, 165–185.MathSciNetMATHCrossRef
Zurück zum Zitat Cressie, N., & Hawkins, D. (1980). Robust estimation of the variogram: I. Mathematical Geology, 12(2), 115–125.MathSciNetCrossRef Cressie, N., & Hawkins, D. (1980). Robust estimation of the variogram: I. Mathematical Geology, 12(2), 115–125.MathSciNetCrossRef
Zurück zum Zitat Cressie, N. A. C. (1991). Statistics for Spatial Data. Wiley Series in Probability and Mathematical Statistics: Applied Probability and Statistics. John Wiley & Sons. Cressie, N. A. C. (1991). Statistics for Spatial Data. Wiley Series in Probability and Mathematical Statistics: Applied Probability and Statistics. John Wiley & Sons.
Zurück zum Zitat Dahl, D. B. (2009). xtable: Export tables to LaTeX or HTML. R package version 1.5-6. http://CRAN.R-project.org/package=xtable. Dahl, D. B. (2009). xtable: Export tables to LaTeX or HTML. R package version 1.5-6. http://​CRAN.​R-project.​org/​package=​xtable.​
Zurück zum Zitat Dalgaard, P. (2008). Introductory Statistics with R. Springer Verlag. Dalgaard, P. (2008). Introductory Statistics with R. Springer Verlag.
Zurück zum Zitat Davidian, M., & Giltinan, D. (1995). Nonlinear Models for Repeated Measurement Data. Chapman & Hall. Davidian, M., & Giltinan, D. (1995). Nonlinear Models for Repeated Measurement Data. Chapman & Hall.
Zurück zum Zitat Demidenko, E. (2004). Mixed Models: Theory and Applications. Wiley-Interscience, first ed. Demidenko, E. (2004). Mixed Models: Theory and Applications. Wiley-Interscience, first ed.
Zurück zum Zitat Fai, A., & Cornelius, P. (1996). Approximate F-tests of multiple degree of freedom hypotheses in generalized least squares analyses of unbalanced split-plot experiments. Journal of Statistical Computation and Simulation, 54(4), 363–378.MathSciNetMATHCrossRef Fai, A., & Cornelius, P. (1996). Approximate F-tests of multiple degree of freedom hypotheses in generalized least squares analyses of unbalanced split-plot experiments. Journal of Statistical Computation and Simulation, 54(4), 363–378.MathSciNetMATHCrossRef
Zurück zum Zitat Fitzmaurice, G. M., Laird, N. M., & Ware, J. H. (2004). Applied Longitudinal Analysis. Wiley Series in Probability and Statistics. John Wiley & Sons.MATH Fitzmaurice, G. M., Laird, N. M., & Ware, J. H. (2004). Applied Longitudinal Analysis. Wiley Series in Probability and Statistics. John Wiley & Sons.MATH
Zurück zum Zitat Galecki, A. (1994). General class of covariance structures for two or more repeated factors in longitudinal data analysis. Communications in Statistics-Theory and Methods, 23(11), 3105–3119.MATHCrossRef Galecki, A. (1994). General class of covariance structures for two or more repeated factors in longitudinal data analysis. Communications in Statistics-Theory and Methods, 23(11), 3105–3119.MATHCrossRef
Zurück zum Zitat Gelman, A., Carlin, J. B., Stern, H. S., & Rubin, D. B. (1995). Bayesian Data Analysis. Texts in Statistical Science Series. Chapman & Hall. Gelman, A., Carlin, J. B., Stern, H. S., & Rubin, D. B. (1995). Bayesian Data Analysis. Texts in Statistical Science Series. Chapman & Hall.
Zurück zum Zitat Golub, G. H., & Van Loan, C. F. (1989). Matrix Computations, vol. 3 of Johns Hopkins Series in the Mathematical Sciences. Johns Hopkins University Press, second ed. Golub, G. H., & Van Loan, C. F. (1989). Matrix Computations, vol. 3 of Johns Hopkins Series in the Mathematical Sciences. Johns Hopkins University Press, second ed.
Zurück zum Zitat Gurka, M. (2006). Selecting the best linear mixed model under REML. The American Statistician, 60(1), 19–26.MathSciNetCrossRef Gurka, M. (2006). Selecting the best linear mixed model under REML. The American Statistician, 60(1), 19–26.MathSciNetCrossRef
Zurück zum Zitat Hastie, T., Tibshirani, R., & Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference and Prediction. Springer. Hastie, T., Tibshirani, R., & Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference and Prediction. Springer.
Zurück zum Zitat Helms, R. (1992). Intentionally incomplete longitudinal designs: I. Methodology and comparison of some full span designs. Statistics in Medicine, 11(14-15), 1889–1913. Helms, R. (1992). Intentionally incomplete longitudinal designs: I. Methodology and comparison of some full span designs. Statistics in Medicine, 11(14-15), 1889–1913.
Zurück zum Zitat Henderson, C. (1984). Applications of Linear Models in Animal Breeding. University of Guelph. Henderson, C. (1984). Applications of Linear Models in Animal Breeding. University of Guelph.
Zurück zum Zitat Hill, H., Rowan, B., & Ball, D. (2005). Effect of teachers’ mathematical knowledge for teaching on student achievement. American Educational Research Journal, 42, 371– 406.CrossRef Hill, H., Rowan, B., & Ball, D. (2005). Effect of teachers’ mathematical knowledge for teaching on student achievement. American Educational Research Journal, 42, 371– 406.CrossRef
Zurück zum Zitat Janssen, R., Tuerlinckx, F., Meulders, M., & De Boeck, P. (2000). A hierarchical IRT model for criterion-referenced measurement. Journal of Educational and Behavioral Statistics, 25(3), 285. Janssen, R., Tuerlinckx, F., Meulders, M., & De Boeck, P. (2000). A hierarchical IRT model for criterion-referenced measurement. Journal of Educational and Behavioral Statistics, 25(3), 285.
Zurück zum Zitat Jones, R. (1993). Longitudinal Data with Serial Correlation: A State-space Approach. Chapman & Hall/CRC. Jones, R. (1993). Longitudinal Data with Serial Correlation: A State-space Approach. Chapman & Hall/CRC.
Zurück zum Zitat Kenward, M., & Roger, J. (1997). Small sample inference for fixed effects from restricted maximum likelihood. Biometrics, 53(3), 983–997.MATHCrossRef Kenward, M., & Roger, J. (1997). Small sample inference for fixed effects from restricted maximum likelihood. Biometrics, 53(3), 983–997.MATHCrossRef
Zurück zum Zitat Laird, N., & Ware, J. (1982). Random-effects models for longitudinal data. Biometrics, 38(4), 963–974.MATHCrossRef Laird, N., & Ware, J. (1982). Random-effects models for longitudinal data. Biometrics, 38(4), 963–974.MATHCrossRef
Zurück zum Zitat Leisch, F. (2002). Sweave: Dynamic generation of statistical reports using literate data analysis. In W. Härdle, & B. Rönz (eds.) Compstat 2002 — Proceedings in Computational Statistics, (pp. 575–580). Physica Verlag, Heidelberg. Leisch, F. (2002). Sweave: Dynamic generation of statistical reports using literate data analysis. In W. Härdle, & B. Rönz (eds.) Compstat 2002 — Proceedings in Computational Statistics, (pp. 575–580). Physica Verlag, Heidelberg.
Zurück zum Zitat Lenth, R. (2001). Some practical guidelines for effective sample size determination. The American Statistician, 55(3), 187–193.MathSciNetCrossRef Lenth, R. (2001). Some practical guidelines for effective sample size determination. The American Statistician, 55(3), 187–193.MathSciNetCrossRef
Zurück zum Zitat Liang, K.-Y., & Self, S. G. (1996). On the asymptotic behaviour of the pseudolikelihood ratio test statistic. Journal of the Royal Statistical Society: Series B, 58(4), 785–796.MathSciNetMATH Liang, K.-Y., & Self, S. G. (1996). On the asymptotic behaviour of the pseudolikelihood ratio test statistic. Journal of the Royal Statistical Society: Series B, 58(4), 785–796.MathSciNetMATH
Zurück zum Zitat Litell, R., Milliken, G., Stroup, W., Wolfinger, R., & Schabenberger, O. (2006). SAS for Mixed Models. SAS Publishing. Litell, R., Milliken, G., Stroup, W., Wolfinger, R., & Schabenberger, O. (2006). SAS for Mixed Models. SAS Publishing.
Zurück zum Zitat Molenberghs, G., & Verbeke, G. (2007). Likelihood ratio, score, and Wald tests in a constrained parameter space. The American Statistician, 61(1), 22–27.MathSciNetCrossRef Molenberghs, G., & Verbeke, G. (2007). Likelihood ratio, score, and Wald tests in a constrained parameter space. The American Statistician, 61(1), 22–27.MathSciNetCrossRef
Zurück zum Zitat Murrell, P. (2005). R Graphics. Chapman & Hall/CRC. Murrell, P. (2005). R Graphics. Chapman & Hall/CRC.
Zurück zum Zitat Murrell, P., & Ripley, B. (2006). Non-standard fonts in postscript and pdf graphics. The Newsletter of the R Project, 6(2), 41. Murrell, P., & Ripley, B. (2006). Non-standard fonts in postscript and pdf graphics. The Newsletter of the R Project, 6(2), 41.
Zurück zum Zitat Neter, J., Wasserman, W., & Kutner, M. (1990). Applied Linear Statistical Models. Irwin Neter, J., Wasserman, W., & Kutner, M. (1990). Applied Linear Statistical Models. Irwin
Zurück zum Zitat Pharmacological Therapy for Macular Degeneration Study Group (1997). Interferon α-IIA is ineffective for patients with choroidal neovascularization secondary to age-related macular degeneration. Results of a prospective randomized placebo-controlled clinical trial. Archives of Ophthalmology, 115, 865–872. Pharmacological Therapy for Macular Degeneration Study Group (1997). Interferon α-IIA is ineffective for patients with choroidal neovascularization secondary to age-related macular degeneration. Results of a prospective randomized placebo-controlled clinical trial. Archives of Ophthalmology, 115, 865–872.
Zurück zum Zitat Pinheiro, J., & Bates, D. (1996). Unconstrained parametrizations for variance-covariance matrices. Statistics and Computing, 6(3), 289–296.CrossRef Pinheiro, J., & Bates, D. (1996). Unconstrained parametrizations for variance-covariance matrices. Statistics and Computing, 6(3), 289–296.CrossRef
Zurück zum Zitat Pinheiro, J., & Bates, D. (2000). Mixed-effects Models in S and S-PLUS. Springer. Pinheiro, J., & Bates, D. (2000). Mixed-effects Models in S and S-PLUS. Springer.
Zurück zum Zitat R Development Core Team (2010). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing. R Development Core Team (2010). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing.
Zurück zum Zitat Santos Nobre, J., & da Motta Singer, J. (2007). Residual analysis for linear mixed models. Biometrical Journal, 49(6), 863–875.MathSciNetCrossRef Santos Nobre, J., & da Motta Singer, J. (2007). Residual analysis for linear mixed models. Biometrical Journal, 49(6), 863–875.MathSciNetCrossRef
Zurück zum Zitat Sarkar, D. (2008). Lattice: Multivariate Data Visualization with R. Springer Verlag. Sarkar, D. (2008). Lattice: Multivariate Data Visualization with R. Springer Verlag.
Zurück zum Zitat Schabenberger, O. (2004). Mixed model influence diagnostics in proceedings of the twenty-ninth annual sas users group international conference. Proceedings of the Twenty-Ninth Annual SAS Users Group International Conference, 189, 29. Schabenberger, O. (2004). Mixed model influence diagnostics in proceedings of the twenty-ninth annual sas users group international conference. Proceedings of the Twenty-Ninth Annual SAS Users Group International Conference, 189, 29.
Zurück zum Zitat Schabenberger, O., & Gotway, C. (2005). Statistical Methods for Spatial Data Analysis, vol. 65. Chapman & Hall. Schabenberger, O., & Gotway, C. (2005). Statistical Methods for Spatial Data Analysis, vol. 65. Chapman & Hall.
Zurück zum Zitat Scheipl, F., Greven, S., & Kuechenhoff, H. (2008). Size and power of tests for a zero random effect variance or polynomial regression in additive and linear mixed models. Computational Statistics & Data Analysis, 52(7), 3283–3299.MathSciNetMATHCrossRef Scheipl, F., Greven, S., & Kuechenhoff, H. (2008). Size and power of tests for a zero random effect variance or polynomial regression in additive and linear mixed models. Computational Statistics & Data Analysis, 52(7), 3283–3299.MathSciNetMATHCrossRef
Zurück zum Zitat Schluchter, M., & Elashoff, J. (1990). Small-sample adjustments to tests with unbalanced repeated measures assuming several covariance structures. Journal of Statistical Computation and Simulation, 37(1-2), 69–87.MATHCrossRef Schluchter, M., & Elashoff, J. (1990). Small-sample adjustments to tests with unbalanced repeated measures assuming several covariance structures. Journal of Statistical Computation and Simulation, 37(1-2), 69–87.MATHCrossRef
Zurück zum Zitat Searle, S., Casella, G., & McCulloch, C. (1992). Variance Components. John Wiley & Sons. Searle, S., Casella, G., & McCulloch, C. (1992). Variance Components. John Wiley & Sons.
Zurück zum Zitat Self, S. G., & Liang, K.-Y. (1987). Asymptotic properties of maximum likelihood estimators and likelihood ratio tests under nonstandard conditions. Journal of the American Statistical Association, 82(398), 605–610.MathSciNetMATHCrossRef Self, S. G., & Liang, K.-Y. (1987). Asymptotic properties of maximum likelihood estimators and likelihood ratio tests under nonstandard conditions. Journal of the American Statistical Association, 82(398), 605–610.MathSciNetMATHCrossRef
Zurück zum Zitat Shapiro, A. (1985). Asymptotic distribution of test statistics in the analysis of moment structures under inequality constraints. Biometrika, 72(1), 133–144.MathSciNetMATHCrossRef Shapiro, A. (1985). Asymptotic distribution of test statistics in the analysis of moment structures under inequality constraints. Biometrika, 72(1), 133–144.MathSciNetMATHCrossRef
Zurück zum Zitat Stram, D., & Lee, J. (1994). Variance components testing in the longitudinal mixed effects model. Biometrics, 50(4), 1171–1177.MATHCrossRef Stram, D., & Lee, J. (1994). Variance components testing in the longitudinal mixed effects model. Biometrics, 50(4), 1171–1177.MATHCrossRef
Zurück zum Zitat Tibaldi, F., Verbeke, G., Molenberghs, G., Renard, D., Van den Noortgate, W., & De Boeck, P. (2007). Conditional mixed models with crossed random effects. British Journal of Mathematical and Statistical Psychology, 60(2), 351–365.CrossRef Tibaldi, F., Verbeke, G., Molenberghs, G., Renard, D., Van den Noortgate, W., & De Boeck, P. (2007). Conditional mixed models with crossed random effects. British Journal of Mathematical and Statistical Psychology, 60(2), 351–365.CrossRef
Zurück zum Zitat Van den Noortgate, W., De Boeck, P., & Meulders, M. (2003). Cross-classification multilevel logistic models in psychometrics. Journal of Educational and Behavioral Statistics, 28(4), 369.CrossRef Van den Noortgate, W., De Boeck, P., & Meulders, M. (2003). Cross-classification multilevel logistic models in psychometrics. Journal of Educational and Behavioral Statistics, 28(4), 369.CrossRef
Zurück zum Zitat Venables, W., & Ripley, B. (2010). Modern Applied Statistics with S. Springer. Venables, W., & Ripley, B. (2010). Modern Applied Statistics with S. Springer.
Zurück zum Zitat Verbeke, G., & Molenberghs, G. (2000). Linear Mixed Models for Longitudinal Data. Springer Verlag. Verbeke, G., & Molenberghs, G. (2000). Linear Mixed Models for Longitudinal Data. Springer Verlag.
Zurück zum Zitat Verbeke, G., & Molenberghs, G. (2003). The use of score tests for inference on variance components. Biometrics, 59(2), 254–262.MathSciNetMATHCrossRef Verbeke, G., & Molenberghs, G. (2003). The use of score tests for inference on variance components. Biometrics, 59(2), 254–262.MathSciNetMATHCrossRef
Zurück zum Zitat Vonesh, E., & Chinchilli, V. (1997). Linear and Nonlinear Models for the Analysis of Repeated Measurements. CRC. Vonesh, E., & Chinchilli, V. (1997). Linear and Nonlinear Models for the Analysis of Repeated Measurements. CRC.
Zurück zum Zitat West, B. T., Welch, K. B., & Gałecki, A. T. (2007). Linear Mixed Models: A Practical Guide Using Statistical Software. Chapman and Hall/CRC. West, B. T., Welch, K. B., & Gałecki, A. T. (2007). Linear Mixed Models: A Practical Guide Using Statistical Software. Chapman and Hall/CRC.
Zurück zum Zitat Wickham, H. (2007). Reshaping data with the reshape package. Journal of Statistical Software, 21(12). Wickham, H. (2007). Reshaping data with the reshape package. Journal of Statistical Software, 21(12).
Zurück zum Zitat Wilkinson, G., & Rogers, C. (1973). Symbolic description of factorial models for analysis of variance. Applied Statistics, 22, 392–399.CrossRef Wilkinson, G., & Rogers, C. (1973). Symbolic description of factorial models for analysis of variance. Applied Statistics, 22, 392–399.CrossRef
Metadaten
Titel
Fitting Linear Mixed-Effects Models: The lmer() Function
verfasst von
Andrzej Gałecki
Tomasz Burzykowski
Copyright-Jahr
2013
Verlag
Springer New York
DOI
https://doi.org/10.1007/978-1-4614-3900-4_15