Learn R Programming

compositions (version 2.0-8)

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,...)

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.

Arguments

object

a statistical model

...

further optional parameters for vcov

Author

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

Details

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

See Also

Examples

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

Run the code above in your browser using DataLab