r2glmm: Computes R Squared for Mixed (Multilevel) Models

Share:

The model R squared and semi-partial R squared for the linear and generalized linear mixed model (LMM and GLMM) are computed with confidence limits. The R squared measure from Edwards et.al (2008) <DOI:10.1002/sim.3429> is extended to the GLMM using penalized quasi-likelihood (PQL) estimation (see Jaeger et al. 2016 <DOI:10.1080/02664763.2016.1193725>). Three methods of computation are provided and described as follows. Firstly, The Kenward-Roger approach. Due to some inconsistency between the 'pbkrtest' package and the 'glmmPQL' function, the Kenward-Roger approach in the 'r2glmm' package is limited to the LMM. Secondly, The method introduced by Nakagawa and Schielzeth (2013) <DOI:10.1111/j.2041-210x.2012.00261.x> and later extended by Johnson (2014) <DOI:10.1111/2041-210X.12225>. The 'r2glmm' package only computes marginal R squared for the LMM and does not generalize the statistic to the GLMM; however, confidence limits and semi-partial R squared for fixed effects are useful additions. Lastly, an approach using standardized generalized variance (SGV) can be used for covariance model selection. Package installation instructions can be found in the readme file.

Author
Byron Jaeger [aut, cre]
Date of publication
2016-11-28 22:10:47
Maintainer
Byron Jaeger <byron.jaeger@gmail.com>
License
GPL-2
Version
0.1.1
URLs

View on CRAN

Man pages

calc_sgv
Compute the standardized generalized variance (SGV) of a...
cmp_R2
Compute r2beta with a specified C matrix Compute R2 with a...
glmPQL
Compute PQL estimates for fixed effects from a generalized...
is.CompSym
Checks if a matrix is Compound Symmetric.
make.partial.C
Generate partial contrast matrices
plot.R2
Visualize standardized effect sizes and model R squared
pqlmer
pqlmer
print.R2
Print the contents of an R2 object
r2beta
r2beta
r2dt
R Squared Difference Test (R2DT). Test for a statistically...

Files in this package

r2glmm
r2glmm/tests
r2glmm/tests/testthat.R
r2glmm/tests/testthat
r2glmm/tests/testthat/test_R2.R
r2glmm/NAMESPACE
r2glmm/R
r2glmm/R/r2dt_Function.R
r2glmm/R/plot_r2_Function.R
r2glmm/R/r2beta_glmmPQL_Function.R
r2glmm/R/cmpR2_Function.R
r2glmm/R/glm_PQL_Function.R
r2glmm/R/r2beta_glm_Function.R
r2glmm/R/mpc_Function.R
r2glmm/R/r2beta_lme_Function.R
r2glmm/R/r2beta_Function.R
r2glmm/R/r2_sgv_est_Function.R
r2glmm/R/r2beta_lm_Function.R
r2glmm/R/r2beta_glmerMod_Function.R
r2glmm/R/r2beta_lmerMod_Function.R
r2glmm/README.md
r2glmm/MD5
r2glmm/DESCRIPTION
r2glmm/man
r2glmm/man/print.R2.Rd
r2glmm/man/is.CompSym.Rd
r2glmm/man/glmPQL.Rd
r2glmm/man/calc_sgv.Rd
r2glmm/man/r2dt.Rd
r2glmm/man/pqlmer.Rd
r2glmm/man/cmp_R2.Rd
r2glmm/man/make.partial.C.Rd
r2glmm/man/plot.R2.Rd
r2glmm/man/r2beta.Rd