Description Usage Arguments Value
Gives the gradient of the variational negative log-likelihood with respect to coefficients beta
, precision component ltau
, and mean vector of the variational approximation, M
. Within the cox package, this function is used to calculate gradients within a call to optim
after the variational approximation has converged, as part of the process of calculating the Hessian.
1 |
par |
vector composed of |
y |
vector of response values |
X |
matrix of fixed effect covariates |
S |
design matrix for the spatial random effects |
wt |
vector of observation weights |
V |
converged covariance matrix for the random effects, estimated by a variational approximation |
vector of gradients of the variational negative log-likelihood with respect to par
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.