A function to compute the second derivatives of the log target for the multivariate model with respect to the paramters of the latent field. Not intended for general use.
GPdrv2_Multitype(
GPlist,
priorlist,
Zlist,
Ztlist,
etalist,
betalist,
nis,
cellarea,
spatial,
gradtrunc,
fftgrid,
covfunction,
d,
eps = 1e-06,
k
)
a list of objects of class GPrealisation
list of priors for the model
list of design matirices on the FFT grid
list of transpose design matrices
list of parameters, eta, for each realisation
clist of parameters, beta, for each realisation
cell counts of each type the extended grid
the cell area
list of poisson offsets for each type
gradient truncation parameter
an object of class FFTgrid
list giving the choice of covariance function for each type, see ?CovFunction
matrix of toral distances
the finite difference step size
index of type for which to compute the gradient and hessian
first and second derivatives of the log target for tyupe k at the specified paramters Y, eta and beta