forrRegLikelihood: Calculate negative log-likelihood

Description Usage Arguments Value See Also

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



Search within the SPOT package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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