compute the negative 2 log likelihood based on theta
GetNeg2loglikelihoodTaper(theta, par.pos, ref_taper, locs,
x_covariates, smooth.limits, cholS, z, n, lambda, safe = TRUE)value
(numeric vector) a vector with parameters values.
(list) par.pos list from getDesignMatrix.
(S4) spam object based on a compact-supported covariance function.
(matrix) spatial location matrix.
(data.frame) design matrix.
(numeric vector) smooth.limits.
(S4) Cholesky object from spam.
(numeric vector) a vector of observed values.
(numeric) dim(z)[1].
(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