W2 {calibrator}R Documentation

variance matrix for beta2

Description

Variance matrix for beta2 as per page 4 of the supplement

Usage

W2(D2, H2, V, det=FALSE)

Arguments

D2

matrix of observation points

H2

regression function

V

Overall covariance matrix

det

Boolean, with default FALSE meaning to return the matrix, and TRUE meaning to return its determinant only

Details

If only the determinant is required, setting argument det to TRUE is faster than using det(W2(...,det=FALSE)), as the former avoids an unnecessary use of solve()

Author(s)

Robin K. S. Hankin

References

See Also

V.fun

Examples

data(toys)
W2(D2=D2.toy, H2=H2.toy, V=V.toy) 

[Package calibrator version 1.2-8 Index]