Learn R Programming

Mixed Model ANOVA and Statistics for Education - mixlm

Installation

# Install release version from CRAN  
install.packages("mixlm")  
# Install development version from GitHub  
devtools::install_github("khliland/mixlm")

Contents

  • Linear mixed models:
    • Classical LMM using r() around random effects, e.g., y ~ x * r(z).
    • Support for various coding schemes.
    • Sums-of-squares type I/II/III.
    • Support for REML/ML.
  • Textbook versions of statistical methods:
    • Step-wise variable selection methods.
    • Best subsets.

Copy Link

Version

Install

install.packages('mixlm')

Monthly Downloads

835

Version

1.3.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

August 8th, 2023

Functions in mixlm (1.3.0)

anova_reg

Analysis of variance for regression.
rparse

Removes function r() from formulas.
prop.test.ordinary

Test of Equal or Given Proportions in text-book version
PRESS

Prediction fits
forward

F-test based model effect selection for linear models.
simple.glht

Pairwise comparison with multiple testing compensation.
spearson

Standardized Pearson residuals
lm

Fitting Linear Models
t_test

Text book versions of t-tests and z-tests.
plotprops

Property plots for relevant component analysis
is.balanced

Balance cheking of models.
print.AnovaMix

Print method for objects of class(AnovaMix)
fparse

Effects of formulas.
glm

Fitting Generalized Linear Models
tally

Tally of discrete numbers
print.summary.lmm

Summarizing Linear Model Fits
Anova.lmm

Analysis of variance with SS type II or III (including mixed models).
contr.weighted

Contrast matrix for weighted effect coding
anova.lmm

Analysis of variance (sequential SS)
confusion

Confusion matrix.
best.subsets

F-test based best subset selection.
AnovaMix

Mixed model least squares analysis of variance (mixed ANOVA).
effect.labels

Create new effect labels for lm
CIgrandMean

Confidence interval for the grand mean of a linear model