Learn R Programming

compositions (version 2.0-2)

vcovAcomp: Variance covariance matrix of parameters in compositional regression

Description

The variance covariance tensor structured according of linear models with ilr(acomp(...)) responses.

Usage

vcovAcomp(object,...)

Arguments

object

a statistical model

further optional parameters for vcov

Value

An array with 4 dimensions. The first 2 are the index dimensions of the ilr transform. The later 2 are the index of the parameter.

Details

The prediction error in compositional linear regression models is a complicated object. The function should help to organize it.

See Also

vcov

Examples

Run this code
# NOT RUN {
data(SimulatedAmounts)
model <- lm(ilr(sa.groups)~sa.groups.area)
vcovAcomp(model)[,,1,1]
# }

Run the code above in your browser using DataLab