Learn R Programming

LMMstar (version 1.1.0)

Repeated Measurement Models for Discrete Times

Description

Companion R package for the course "Statistical analysis of correlated and repeated measurements for health science researchers" taught by the section of Biostatistics of the University of Copenhagen. It implements linear mixed models where the model for the variance-covariance of the residuals is specified via patterns (compound symmetry, toeplitz, unstructured, ...). Statistical inference for mean, variance, and correlation parameters is performed based on the observed information and a Satterthwaite approximation of the degrees of freedom. Normalized residuals are provided to assess model misspecification. Statistical inference can be performed for arbitrary linear or non-linear combination(s) of model coefficients. Predictions can be computed conditional to covariates only or also to outcome values.

Copy Link

Version

Install

install.packages('LMMstar')

Monthly Downloads

405

Version

1.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brice Ozenne

Last Published

May 12th, 2024

Functions in LMMstar (1.1.0)

autoplot.partialCor

Graphical Display For Partial Correlation
baselineAdjustment

Perform Baseline Adjustment
autoplot.profile_lmm

Graphical Display of Profile Likelihood
autoplot.summarizeNA

Graphical Display of Missing Data Pattern
autoplot.summarize

Graphical Display of the Descriptive Statistics
autoplot.lmm

Graphical Display For Linear Mixed Models
autoplot.Wald_lmm

Graphical Display For Linear Hypothesis Test
anova.lmm

Multivariate Tests For Linear Mixed Model
autoplot.residuals_lmm

Graphical Display of the Residuals
bloodpressureL

Data From The Blood Pressure Study (Long Format)
coef.lmm

Extract Coefficients From a Linear Mixed Model
blandAltmanL

Data From The Bland Altman Study (Long Format)
abetaW

Data From The abeta Study (Wide Format)
coef.mlmm

Extract Coefficients From a Linear Mixed Model
abetaL

Data From The Bland Altman Study (Long Format)
confint.lmm

Statistical Inference for Linear Mixed Model
confint.mlmm

Confidence Intervals for Multiple Linear Mixed Model.
blandAltmanW

Data From The Bland Altman Study (Wide Format)
ckdL

CKD long
calciumL

Data From The Calcium Supplements Study (Long Format)
gastricbypassW

Data From The Gastric Bypass Study (Wide Format)
confint.Wald_lmm

Confidence Intervals for Multivariate Wald Tests
ncgsW

Data From National Cooperative Gallstone Study (Wide Format)
potassiumSingleW

Data From The Potassium Intake Study (Wide Format)
ckdW

CKD wide
calciumW

Data From The Calcium Supplements Study (Wide Format)
ncgsL

Data From National Cooperative Gallstone Study (Long Format)
potassiumSingleL

Data From The Potassium Intake Study (Long Format)
vasscoresL

Data From The VAS Study (Long Format)
gastricbypassL

Data From The Gastric Bypass Study (Long Format)
swabsW

Data From The SWABS Study (Wide Format)
vasscoresW

Data From The VAS Study (Wide Format)
swabsL

Data From The SWABS Study (Long Format)
estimate.lmm

Delta Method for Mixed Models
fitted.lmm

Predicted Mean Value For Linear Mixed Model.
effects.lmm

Effects Derived For Linear Mixed Model
schoolL

Simulated Data with 3-level struture (Long Format)
information.lmm

Extract The Information From a Linear Mixed Model
vitaminW

Data From The Vitamin Study (Wide Format)
vitaminL

Data From The Vitamin Study (Long Format)
manifest.lmm

Variables Involved in a Linear Mixed Model
iid.lmm

Extract the Influence Function From a Linear Mixed Model
mlmm

Fit Multiple Linear Mixed Model
estfun.lmm

Extract the Score Function for Multcomp
potassiumRepeatedL

Data From The Potassium Intake Study (Long Format with intermediate measurements)
levels.lmm

Contrasts and Reference Level
df.residual.lmm

Residuals Degrees of Freedom
lmm

Fit Linear Mixed Model
profile.lmm

Evaluate Contour of the Log-Likelihood
logLik.lmm

Extract The Log-Likelihood From a Linear Mixed Model
model.frame.lmm

Extracting the Model Frame from a Linear Mixed Model
ranef.lmm

Estimate Random Effect From a Linear Mixed Model
mt.test

Multiple Student's t-Test
model.tables.lmm

Statistical Inference for Linear Mixed Model
predict.lmm

Predicted Mean Value With Uncertainty For Linear Mixed Model
lmmCC

Fit Linear Mixed Model on Complete Case data
model.matrix.lmm

Design Matrix for Linear Mixed Model
proportion

Proportion of Significant Findings
sigma.lmm

Extract The Residuals Variance-Covariance Matrix From a Linear Mixed Model
remove

Remove Columns from Output
nobs.lmm

Number of Observations from a Linear Mixed Model
scatterplot

Scatterplot for Continuous Variables
score.lmm

Extract The Score From a Linear Mixed Model
rbind.Wald_lmm

Linear Hypothesis Testing Across Linear Mixed Models
sampleRem

Sample Longuitudinal Data
partialCor

Partial Correlation
summarize

Compute summary statistics
summary.lmm

Summary Output for a Linear Mixed Model
summary.mlmm

Summary of Multiple Linear Mixed Models
vcov.lmm

Extract The Variance-Covariance Matrix From a Linear Mixed Model
restaureNA

Restaure NA
weights.Wald_lmm

Extract Weights Used to Pool Estimates
terms.lmm

Model Terms For Linear Mixed Models
summary.partialCor

Summary for partial correlation
summarizeNA

Summarize missing data patterns
resample

Inference via Resampling for Linear Mixed Model
residuals

Extract The Residuals From a Linear Mixed Model
summary.Wald_lmm

Summary of Testing for a Linear Mixed Models
CUSTOM

Custom Structure
UN

Unstructured Structure
IND

Independence Structure
TOEPLITZ

Toeplitz Structure
add

Add Columns to Output
LMMstar.options

Global options for LMMstar package
RE

Random Effect Structure
LMMstar-package

LMMstar package: repeated measurement models for discrete times
CS

Compound Symmetry Structure
ID

identity Structure