vcovFixed function

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

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

The variance-covariance matrix of fixed effects for the linear mixed model in 'obj' is calculated.

vcovFixed(obj, quiet = FALSE)

Arguments

  • obj: (VCA) object for which the variance-covariance matrix of fixed effects shall be calculated
  • quiet: (logical) TRUE = will suppress any warning, which will be issued otherwise

Returns

(matrix) corresponding to the variance-covariance matrix of fixed effects

Details

The variance-covariance matrix of fixed effects for a linear mixed model corresponds to matrix (XV"X)(X'V"X)`, where >'< denotes the transpose operator, >""< the regular matrix inverse, and >`< the generalized (Moore-Penrose) inverse of a matrix.

Examples

## Not run: data(dataEP05A2_1) fit1 <- anovaMM(y~day/(run), dataEP05A2_1) vcov(fit1) fit2 <- anovaVCA(y~day/run, dataEP05A2_1) vcov(fit2) ## End(Not run)
  • Maintainer: Andre Schuetzenmeister
  • License: GPL (>= 3)
  • Last published: 2024-03-07

Useful links