forrRegLikelihood: Calculate negative log-likelihood

Description

Used to determine theta/lambda values for the Kriging model in forrBuilder.

Usage

1
forrRegLikelihood(x, AX, Ay, opt.p = FALSE, uselambda = TRUE)

Arguments

x

vector, containing log10(theta) and lambda

AX

3 dimensional array, constructed by forrBuilder from the sample locations

Ay

vector of observations at sample locations

Value

list with elements
NegLnLike concentrated log-likelihood *-1 for minimising
Psi correlation matrix
Psinv inverse of correlation matrix (to save computation time in predict.forr)
mu
ssq

See Also

spotPredictForrester forrBuilder


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.