View source: R/buildKrigingForrester.R
krigingLikelihood | R Documentation |
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 )
x |
vector, containing parameters log10(theta), log10(lambda) and p. |
AX |
3 dimensional array, constructed by buildKriging from the sample locations |
Ay |
vector of observations at sample locations |
optimizeP |
boolean, whether to optimize parameter p (exponents) or fix at two. |
useLambda |
boolean, whether to use nugget |
penval |
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
buildKriging
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.