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

1,411

Version

1.4.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

October 7th, 2024

Functions in mixlm (1.4.0)

tally

Tally of discrete numbers
fparse

Effects of formulas.
prop.test.ordinary

Test of Equal or Given Proportions in text-book version
print.summary.lmm

Summarizing Linear Model Fits
rparse

Removes function r() from formulas.
print.AnovaMix

Print method for objects of class(AnovaMix)
t_test

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

Standardized Pearson residuals
simple.glht

Pairwise comparison with multiple testing compensation.
effect.labels

Create new effect labels for lm
anova_reg

Analysis of variance for regression.
contr.weighted

Contrast matrix for weighted effect coding
is.balanced

Balance cheking of models.
lm

Fitting Linear Models
AnovaMix

Mixed model least squares analysis of variance (mixed ANOVA).
anova.lmm

Analysis of variance (sequential SS)
Anova.lmm

Analysis of variance with SS type II or III (including mixed models).
best.subsets

F-test based best subset selection.
forward

F-test based model effect selection for linear models.
PRESS

Prediction fits
confusion

Confusion matrix.
CIgrandMean

Confidence interval for the grand mean of a linear model
plotprops

Property plots for relevant component analysis
glm

Fitting Generalized Linear Models
hasseMod

Hasse Diagram from Linear Model