VCA: Variance Component Analysis

ANOVA and REML estimation of linear mixed models is implemented, once following Searle et al. (1991, ANOVA for unbalanced data), once making use of the 'lme4' package. The primary objective of this package is to perform a variance component analysis (VCA) according to CLSI EP05-A3 guideline "Evaluation of Precision of Quantitative Measurement Procedures" (2014). There are plotting methods for visualization of an experimental design, plotting random effects and residuals. For ANOVA type estimation two methods for computing ANOVA mean squares are implemented (SWEEP and quadratic forms). The covariance matrix of variance components can be derived, which is used in estimating confidence intervals. Linear hypotheses of fixed effects and LS means can be computed. LS means can be computed at specific values of covariables and with custom weighting schemes for factor variables. See ?VCA for a more comprehensive description of the features.

Install the latest version of this package by entering the following in R:
AuthorAndre Schuetzenmeister <>
Date of publication2016-07-25 20:30:17
MaintainerAndre Schuetzenmeister <>
LicenseGPL (>= 3)

View on CRAN

Man pages

anovaDF: ANOVA Type-I Degrees of Freedom.

anovaMM: ANOVA-Type Estimation of Mixed Models.

anovaVCA: ANOVA-Type Estimation of Variance Components for Random...

as.matrix.VCA: Standard 'as.matrix' Method for 'VCA' S3-Objects.

as.matrix.VCAinference: Standard 'as.matrix' Method for 'VCAinference' S3-Objects.

buildList: Build a Nested List.

CA19_9: Reproducibility Example Dataset from CLSI EP05-A3

check4MKL: Check for Availability of Intel's Math Kernel Library.

chol2invData: Dataset Generating Error in Function 'chol2inv'

coef.VCA: Extract Fixed Effects from 'VCA' Object.

Csweep: Calling C-implementation of the SWEEP-Operator

dataEP05A2_1: Simulated Data of a CLSI EP05-A2 20/2/2 Experiment

dataEP05A2_2: Simulated Data of a CLSI EP05-A2 20/2/2 Experiment

dataEP05A2_3: Simulated Data of a CLSI EP05-A2 20/2/2 Experiment

dataEP05A3_MS_1: Simulated Data of a CLSI EP05-A3 3/5/5 Multi-Site Experiment

dataEP05A3_MS_2: Simulated Data of a CLSI EP05-A3 3/5/5 Multi-Site Experiment

dataEP05A3_MS_3: Simulated Data of a CLSI EP05-A3 3/5/5 Multi-Site Experiment

dataRS0003_1: Simulated Repeated Measurements Data.

dataRS0003_2: Simulated Repeated Measurements Data.

dataRS0003_3: Simulated Repeated Measurements Data.

dataRS0005_1: Simulated Data of 5/3 Experiment.

dataRS0005_2: Simulated Data of 5/3 Experiment.

dataRS0005_3: Simulated Data of 5/3 Experiment.

DfSattHelper: Variance-Covariance Matrix of Fixed Effects as Function of...

fixef: Generic Method for Extracting Fixed Effects from a Fitted...

fixef.VCA: Extract Fixed Effects from 'VCA' Object.

getAmatrix: Determine A-Matrix.

getCmatrix: Coefficient Matrix for (V)ariance (C)omponent (A)nalysis.

getDDFM: Degrees of Freedom for Testing Linear Contrast of Fixed...

getDF: Extract Degrees of Freedom from Linear Hypotheses of Fixed...

getGB: Giesbrecht & Burns Approximation of the Variance-Covariance...

getL: Construct Linear Contrast Matrix for Hypothesis Tests.

getMat: Extract a Specific Matrix from a 'VCA' Object.

getMM: Overparameterized Design Matrices.

getSSQqf: ANOVA Sum of Squares via Quadratic Forms

getSSQsweep: ANOVA Sum of Squares via Sweeping.

getV: Determine V-Matrix for a 'VCA' Object.

getVCvar: Covariance-Matrix of Variance Components.

Glucose: Inermediate Precision Data from CLSI EP05-A3

HugeData: Huge Dataset with Three Variables

isBalanced: Check Whether Design Is Balanced Or Not.

lmerG: Construct Variance-Covariance Matrix of Random Effects for...

lmerMatrices: Derive and Compute Matrices for Objects Fitted by Function...

lmerSummary: Derive VCA-Summary Table from an Object Fitted via Function...

load_if_installed: Load 'RevoUtilsMath'-package if available.

lsmeans: Least Squares Means of Fixed Effects.

lsmMat: Contrast Matrix for LS Means.

MPinv: Moore-Penrose Generalized Inverse of a Matrix.

Orthodont: Orthodont dataset from R-package 'nlme'

plotRandVar: Plot Random Variates of a Mixed Model ('VCA' Object).

plot.VCA: Standard 'plot' Method for 'VCA' S3-Objects.

print.VCA: Standard Printing Method for Objects of Class 'VCA'.

print.VCAinference: Standard Print Method for Objects of Class 'VCAinference'.

ranef: Generic Method for Extracting Random Effects from a Fitted...

ranef.VCA: Extract Random Effects from 'VCA' Object.

realData: Real-World Data

remlMM: Fit Linear Mixed Models via REML.

remlVCA: Perform (V)ariance (C)omponent (A)nalysis via...

ReproData1: Multi-Site Data for Estimating Reproducibility Precision

residuals.VCA: Extract Residuals of a 'VCA' Object.

SattDF: Satterthwaite Approximation for Total Degrees of Freedom and...

Sinv: Calling C-implementation of the SWEEP-Operator for...

sleepstudy: sleepstudy dataset from R-package 'lme4'

Solve: Solve System of Linear Equations using Inverse of...

solveMME: Solve Mixed Model Equations.

stepwiseVCA: Bottom-Up Step-Wise VCA-Analysis of the Complete Dataset.

test.fixef: Perform t-Tests for Linear Contrasts on Fixed Effects.

test.lsmeans: Perform t-Tests for Linear Contrasts on LS Means.

Trace: Compute the Trace of a Matrix.

varPlot: Variability Chart for Hierarchical Models.

VCAdata1: Simulated Data for Variance Component Analysis.

VCAinference: Inferential Statistics for VCA-Results.

VCA-Package: (V)ariance (C)omponent (A)nalysis.

vcovFixed: Calculate Variance-Covariance Matrix and Standard Errors of...

vcovVC: Calculate Variance-Covariance Matrix of Variance Components...

vcov.VCA: Calculate Variance-Covariance Matrix of Fixed Effects for an...


anovaDF Man page
anovaMM Man page
anovaVCA Man page
as.matrix.VCA Man page
as.matrix.VCAinference Man page
buildList Man page
CA19_9 Man page
check4MKL Man page
chol2invData Man page
coef.VCA Man page
Csweep Man page
dataEP05A2_1 Man page
dataEP05A2_2 Man page
dataEP05A2_3 Man page
dataEP05A3_MS_1 Man page
dataEP05A3_MS_2 Man page
dataEP05A3_MS_3 Man page
dataRS0003_1 Man page
dataRS0003_2 Man page
dataRS0003_3 Man page
dataRS0005_1 Man page
dataRS0005_2 Man page
dataRS0005_3 Man page
DfSattHelper Man page
fixef Man page
fixef.VCA Man page
getAmatrix Man page
getCmatrix Man page
getDDFM Man page
getDF Man page
getGB Man page
getL Man page
getMat Man page
getMM Man page
getSSQqf Man page
getSSQsweep Man page
getV Man page
getVCvar Man page
Glucose Man page
HugeData Man page
isBalanced Man page
lmerG Man page
lmerMatrices Man page
lmerSummary Man page
load_if_installed Man page
lsmeans Man page
lsmMat Man page
MPinv Man page
Orthodont Man page
plotRandVar Man page
plot.VCA Man page
print.VCA Man page
print.VCAinference Man page
ranef Man page
ranef.VCA Man page
realData Man page
remlMM Man page
remlVCA Man page
ReproData1 Man page
resid Man page
residuals.VCA Man page
SattDF Man page
Sinv Man page
sleepstudy Man page
Solve Man page
solveMME Man page
stepwiseVCA Man page
test.fixef Man page
test.lsmeans Man page
Trace Man page
varPlot Man page
VCA Man page
VCAdata1 Man page
VCAinference Man page
VCA-package Man page
vcovFixed Man page
vcovVC Man page
vcov.VCA Man page


inst/UnitTests/runit.misc.R inst/UnitTests/runit.remlVCA.R inst/UnitTests/runit.anovaVCA.R inst/UnitTests/runit.remlMM.R inst/UnitTests/runit.anovaMM.R inst/UnitTests/RunAllTests.R
R/vca.R R/plot.R
man/getGB.Rd man/as.matrix.VCAinference.Rd man/dataRS0003_1.Rd man/anovaVCA.Rd man/chol2invData.Rd man/SattDF.Rd man/dataEP05A2_3.Rd man/Sinv.Rd man/dataRS0005_1.Rd man/vcov.VCA.Rd man/DfSattHelper.Rd man/getSSQqf.Rd man/dataEP05A2_1.Rd man/lsmeans.Rd man/ReproData1.Rd man/varPlot.Rd man/dataRS0003_2.Rd man/Csweep.Rd man/ranef.Rd man/Trace.Rd man/Glucose.Rd man/print.VCAinference.Rd man/VCA-Package.Rd man/realData.Rd man/test.lsmeans.Rd man/lmerG.Rd man/sleepstudy.Rd man/dataEP05A2_2.Rd man/getDF.Rd man/vcovVC.Rd man/dataRS0005_3.Rd man/remlMM.Rd man/getSSQsweep.Rd man/remlVCA.Rd man/stepwiseVCA.Rd man/VCAdata1.Rd man/getMat.Rd man/lsmMat.Rd man/check4MKL.Rd man/plot.VCA.Rd man/buildList.Rd man/dataEP05A3_MS_3.Rd man/print.VCA.Rd man/getDDFM.Rd man/dataRS0003_3.Rd man/getVCvar.Rd man/solveMME.Rd man/getAmatrix.Rd man/vcovFixed.Rd man/dataEP05A3_MS_2.Rd man/anovaMM.Rd man/lmerMatrices.Rd man/getL.Rd man/residuals.VCA.Rd man/MPinv.Rd man/isBalanced.Rd man/anovaDF.Rd man/VCAinference.Rd man/fixef.Rd man/test.fixef.Rd man/lmerSummary.Rd man/coef.VCA.Rd man/dataEP05A3_MS_1.Rd man/dataRS0005_2.Rd man/as.matrix.VCA.Rd man/plotRandVar.Rd man/HugeData.Rd man/getMM.Rd man/load_if_installed.Rd man/getCmatrix.Rd man/ranef.VCA.Rd man/Orthodont.Rd man/Solve.Rd man/fixef.VCA.Rd man/CA19_9.Rd man/getV.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.