Nothing
### ###
### VCOV-METHOD FOR gekm ###
### ###
## vcov.gekm - vcov methode for an object of class gekm
##
## @param object: gekm[1]
## object of class gekm
## @param scale: logi[1]
## scale process variance
## @param ...:
## further arguments, not used
##
## @output:
## (scaled) covariance matrix of the regression coefficients
vcov.gekm <- function(object, scale = FALSE, ...){
x <- model.matrix(object)
A <- backsolve(object$chol$L, x, transpose = TRUE)
ans <- crossprod(A)
if(object$derivatives){
dx <- derivModelMatrix(object)
dA <- backsolve(object$chol$M, dx - crossprod(object$chol$Q, A), transpose = TRUE)
ans <- ans + crossprod(dA)
}
ans <- sigma(object, scale = scale)^2 * chol2inv(chol(ans))
colnames(ans) <- rownames(ans) <- names(coef(object))
ans
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.