compute the negative 2 log likelihood based on theta
GetNeg2loglikelihoodProfile(theta, par.pos, locs, x_covariates,
smooth.limits, z, n, x_betas,lambda, safe = TRUE)value
(numeric vector) a vector with parameters values.
(list) par.pos list.
(matrix) spatial location matrix.
(data.frame) design matrix.
(numeric vector) smooth.limits.
(numeric vector) a vector of observed values.
(integer) dim(z)[1].
(matrix) or (data.frame) design matrix for the spatial mean.
(numeric vector) a vector including lambda.Sigma, lambda.betas, lambda.reg (in this order)
(TRUE/FALSE) if TRUE returns a large pre-defined value under Cholesky errors. Default TRUE.
Federico Blasi