Learn R Programming

⚠️There's a newer version (1.5.1) of this package.Take me there.

VCA (version 1.4.3)

Variance Component Analysis

Description

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.

Copy Link

Version

Install

install.packages('VCA')

Monthly Downloads

843

Version

1.4.3

License

GPL (>= 3)

Maintainer

Andre Schuetzenmeister

Last Published

June 17th, 2020

Functions in VCA (1.4.3)

DfSattHelper

Variance-Covariance Matrix of Fixed Effects as Function of Covariance Parameter Estimates
MLrepro

Multi-Lot Reproducibility Data.
SattDF

Satterthwaite Approximation for Total Degrees of Freedom and for Single Variance Components
ReproData1

Multi-Site Data for Estimating Reproducibility Precision
HugeData

Huge Dataset with Three Variables
Fsweep

Calling F90-implementation of the SWEEP-Operator
MPinv

Moore-Penrose Generalized Inverse of a Matrix
as.matrix.VCA

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

Automatically Scale Data Calling these Functions: 'anovaVCA', 'anovaMM', 'remlVCA' or 'remlMM'
CA19_9

Reproducibility Example Dataset from CLSI EP05-A3
Solve

Solve System of Linear Equations using Inverse of Cholesky-Root
anovaMM

ANOVA-Type Estimation of Mixed Models
anovaVCA

ANOVA-Type Estimation of Variance Components for Random Models
Glucose

Inermediate Precision Data from CLSI EP05-A3
VCAdata1

Simulated Data for Variance Component Analysis.
Orthodont

Orthodont dataset from R-package 'nlme'
getDDFM

Degrees of Freedom for Testing Linear Contrasts of Fixed Effects and Least Square Means
fixef

Generic Method for Extracting Fixed Effects from a Fitted Model
dataEP05A3_MS_3

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

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

Simulated Data of 5/3 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
getSSQsweep

ANOVA Sum of Squares via Sweeping
dataRS0003_3

Simulated Repeated Measurements Data.
as.matrix.VCAinference

Standard 'as.matrix' Method for 'VCAinference' S3-Objects
VCA-package

(V)ariance (C)omponent (A)nalysis.
Trace

Compute the Trace of a Matrix
getDF

Extract Degrees of Freedom from Linear Hypotheses of Fixed Effects or LS Means
isBalanced

Check Whether Design Is Balanced Or Not
fixef.VCA

Extract Fixed Effects from 'VCA' Object
legend.m

Add Legend to Margin.
chol2invData

Dataset Generating Error in Function 'chol2inv'
coef.VCA

Extract Fixed Effects from 'VCA' Object
lmerG

Construct Variance-Covariance Matrix of Random Effects for Models Fitted by Function 'lmer'
getV

Determine V-Matrix for a 'VCA' Object
VCAinference

Inferential Statistics for VCA-Results
check4MKL

Check for Availability of Intel's Math Kernel Library
dataRS0003_2

Simulated Repeated Measurements Data.
buildList

Build a Nested List.
dataEP05A2_1

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

Simulated Repeated Measurements Data.
getL

Construct Linear Contrast Matrix for Hypothesis Tests
getGB

Giesbrecht & Burns Approximation of the Variance-Covariance Matrix of Variance Components
dataEP05A2_2

Simulated Data of a CLSI EP05-A2 20/2/2 Experiment
predict.VCA

Predictions from a Model Fitted by fitLMM
plotRandVar

Plot Random Variates of a Mixed Model ('VCA' Object).
model.frame.VCA

Extract the Model Frame from a 'VCA' Object
residuals.VCA

Extract Residuals of a 'VCA' Object
print.VCAinference

Standard Print Method for Objects of Class 'VCAinference'
scaleData

Scale Response Variable to Ensure Robust Numerical Calculations
lmerMatrices

Derive and Compute Matrices for Objects Fitted by Function 'lmer'
print.VCA

Standard Printing Method for Objects of Class 'VCA'
dataRS0005_3

Simulated Data of 5/3 Experiment.
test.lsmeans

Perform t-Tests for Linear Contrasts on LS Means
getMM

Overparameterized Design Matrices
dataRS0005_2

Simulated Data of 5/3 Experiment.
getMat

Extract a Specific Matrix from a 'VCA' Object
varPlot

Variability Chart for Hierarchical Models.
fitVCA

Fit Variance Component Model by ANOVA or REML
plot.VCA

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

Fit Linear Mixed Model by ANOVA or REML
orderData

Re-Order Data.Frame
vcovVC

Calculate Variance-Covariance Matrix of Variance Components of 'VCA' objects
lmerSummary

Derive VCA-Summary Table from an Object Fitted via Function lmer
lsmMat

Contrast Matrix for LS Means
lsmeans

Least Squares Means of Fixed Effects
ranef.VCA

Extract Random Effects from 'VCA' Object
stepwiseVCA

Bottom-Up Step-Wise VCA-Analysis of the Complete Dataset
test.fixef

Perform t-Tests for Linear Contrasts on Fixed Effects
ranef

Generic Method for Extracting Random Effects from a Fitted Model
solveMME

Solve Mixed Model Equations
model.matrix.VCA

Model Matrix of a Fitted VCA-Object
load_if_installed

Load 'RevoUtilsMath'-package if available
reScale

Re-Scale results of 'VCA' or 'VCAinference'
sleepstudy

sleepstudy dataset from R-package 'lme4'
realData

Real-World Data
remlMM

Fit Linear Mixed Models via REML
vcov.VCA

Calculate Variance-Covariance Matrix of Fixed Effects for an 'VCA' Object
remlVCA

Perform (V)ariance (C)omponent (A)nalysis via REML-Estimation
vcovFixed

Calculate Variance-Covariance Matrix and Standard Errors of Fixed Effects for an 'VCA' Object