Used to determine theta/lambda values for the Kriging model in buildKriging.
Supportive function for Kriging model, not to be used directly.
krigingLikelihood(
x,
AX,
Ay,
optimizeP = FALSE,
useLambda = TRUE,
penval = 1e+08
)vector, containing parameters log10(theta), log10(lambda) and p.
3 dimensional array, constructed by buildKriging from the sample locations
vector of observations at sample locations
boolean, whether to optimize parameter p (exponents) or fix at two.
boolean, whether to use nugget
a penalty value which affects the value returned for invalid correlation matrices / configurations
list with elements
NegLnLike concentrated log-likelihood *-1 for minimising
Psi correlation matrix
Psinv inverse of correlation matrix (to save computation time during prediction)
mu
ssq