Learn R Programming

VCA (version 1.5.1)

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

1,041

Version

1.5.1

License

GPL (>= 3)

Maintainer

Andre Schuetzenmeister

Last Published

March 7th, 2024

Functions in VCA (1.5.1)

Orthodont

Orthodont dataset from R-package 'nlme'
MPinv

Moore-Penrose Generalized Inverse of a Matrix
ReproData1

Multi-Site Data for Estimating Reproducibility Precision
MLrepro

Multi-Lot Reproducibility Data.
Trace

Compute the Trace of a Matrix
Solve

Solve System of Linear Equations using Inverse of Cholesky-Root
as.matrix.VCA

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

ANOVA-Type Estimation of Variance Components for Random Models
VCA-package

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

Simulated Data for Variance Component Analysis.
anovaMM

ANOVA-Type Estimation of Mixed Models
VCAinference

Inferential Statistics for VCA-Results
buildList

Build a Nested List.
SattDF

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

Check Random Model for Given Dataset.
as.matrix.VCAinference

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

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

Check for Availability of Intel's Math Kernel Library
dataRS0003_2

Simulated Repeated Measurements Data.
dataEP05A3_MS_2

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

Simulated Data of 5/3 Experiment.
dataEP05A2_3

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

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
checkVars

Check Tow Formula Terms for Potential Problems.
chol2invData

Dataset Generating Error in Function 'chol2inv'
dataRS0005_2

Simulated Data of 5/3 Experiment.
getGB

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

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

Convert Objects to Detailed Error Message.
coef.VCA

Extract Fixed Effects from 'VCA' Object
fixef

Generic Method for Extracting Fixed Effects from a Fitted Model
dataEP05A2_1

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

Extract Fixed Effects from 'VCA' Object
getDDFM

Degrees of Freedom for Testing Linear Contrasts of Fixed Effects and Least Square Means
legend.m

Add Legend to Margin.
getCI

Extract Confidence Intervals from VCA-Objects.
dataRS0005_3

Simulated Data of 5/3 Experiment.
dataEP05A3_MS_3

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

Simulated Repeated Measurements Data.
lmerSummary

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

Check Whether Design Is Balanced Or Not
fitLMM

Fit Linear Mixed Model by ANOVA or REML
getV

Determine V-Matrix for a 'VCA' Object
fitVCA

Fit Variance Component Model by ANOVA or REML
load_if_installed

Load 'RevoUtilsMath'-package if available
dataRS0003_1

Simulated Repeated Measurements Data.
getL

Construct Linear Contrast Matrix for Hypothesis Tests
getSSQsweep

ANOVA Sum of Squares via Sweeping
getIP.remlVCA

Intermediate Precision for remlVCA-fitted objects of class 'VCA'
print.VCAinference

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

Standard Printing Method for Objects of Class 'VCA'
lmerG

Construct Variance-Covariance Matrix of Random Effects for Models Fitted by Function 'lmer'
model.frame.VCA

Extract the Model Frame from a 'VCA' Object
getMM

Overparameterized Design Matrices
protectedCall

Wrap Function-Calls to Execute Additional Checks.
lmerMatrices

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

Model Matrix of a Fitted VCA-Object
ranef.VCA

Extract Random Effects from 'VCA' Object
remlMM

Fit Linear Mixed Models via REML
plot.VCA

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

Real-World Data
orderData

Re-Order Data.Frame
plotRandVar

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

Predictions from a Model Fitted by fitLMM
remlVCA

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

Extract a Specific Matrix from a 'VCA' Object
lsmMat

Contrast Matrix for LS Means
sleepstudy

sleepstudy dataset from R-package 'lme4'
scaleData

Scale Response Variable to Ensure Robust Numerical Calculations
lsmeans

Least Squares Means of Fixed Effects
residuals.VCA

Extract Residuals of a 'VCA' Object
reScale

Re-Scale results of 'VCA' or 'VCAinference'
summarize.VCA

Summarize Outcome of a Variance Component Analysis.
ranef

Generic Method for Extracting Random Effects from a Fitted Model
vcovVC

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

Variability Chart for Hierarchical Models.
test.lsmeans

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

Perform t-Tests for Linear Contrasts on Fixed Effects
solveMME

Solve Mixed Model Equations
stepwiseVCA

Bottom-Up Step-Wise VCA-Analysis of the Complete Dataset
vcovFixed

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

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

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

Calling F90-implementation of the SWEEP-Operator
Glucose

Inermediate Precision Data from CLSI EP05-A3
HugeData

Huge Dataset with Three Variables
CA19_9

Reproducibility Example Dataset from CLSI EP05-A3
LSMeans_Data

Dataset for Unit-Testing of LS Means