GetNeg2loglikelihoodTaper {cocons}R Documentation

GetNeg2loglikelihoodTaper

Description

compute the negative 2 log likelihood based on theta

Usage

GetNeg2loglikelihoodTaper(theta, par.pos, ref_taper, locs, 
x_covariates, smooth.limits, cholS, z, n, lambda)

Arguments

theta

(numeric vector) a vector with parameters values.

par.pos

(list) par.pos list from getDesignMatrix.

ref_taper

(S4) spam object based on a compact-supported covariance function.

locs

(matrix) spatial location matrix.

x_covariates

(data.frame) design matrix.

smooth.limits

(numeric vector) smooth.limits.

cholS

(S4) Cholesky object from spam.

z

(numeric vector) a vector of observed values.

n

(numeric) dim(z)[1].

lambda

(numeric) regularization parameter.

Value

value

Author(s)

Federico Blasi


[Package cocons version 0.1.2 Index]