condnorm.par(y, V, Vp, Vop, coeff, X, Xp, method = "eigen")
X
%*% coeff
and Xp
%*% coeff
. In other words, it is assumed that the mean structure of the response is linear in the coefficients.The covariance matrix of the unobserved responses conditional on the observed responses in not returned. Instead a decomposition of this matrix is returned. Specifically, if Vc
is the conditional covariance matrix, then Vc
= decomp.Vc
%*% t(decomp.Vc)
.
decomp.cov
data(toydata)
y <- toydata$y
V <- toydata$V
Vp <- toydata$Vp
Vop <- toydata$Vop
X <- toydata$X
Xp <- toydata$Xp
temp1 <- condnorm.par(y, V, Vp, Vop, coeff = c(1, 2, 3), X, Xp,
method = "eigen")
#conditional covariance matrix
Vc <- temp1$decomp.Vc %*% t(temp1$decomp.Vc)
Run the code above in your browser using DataLab