predict.gp {kergp} | R Documentation |
Prediction Method for the "gp"
S3 Class
Description
Prediction method for the "gp"
S3 class.
Usage
## S3 method for class 'gp'
predict(object, newdata,
type = ifelse(object$trendKnown, "SK", "UK"),
seCompute = TRUE, covCompute = FALSE,
lightReturn = FALSE, biasCorrect = FALSE,
forceInterp,
...)
Arguments
object |
An object with S3 class |
newdata |
A data frame containing all the variables required for prediction: inputs and trend variables, if applicable. |
type |
A character string corresponding to the GP "kriging" family, to be chosen between simple kriging ( |
seCompute |
Optional logical. If |
covCompute |
Logical. If |
lightReturn |
Optional logical. If |
biasCorrect |
Optional logical to correct bias in the UK variance and
covariances. Default is |
forceInterp |
Logical used to force a nugget-type prediction. If |
... |
Not used yet. |
Details
The estimated (UK) variance and covariances are NOT multiplied by
n/(n-p)
by default (n
and p
denoting the number of
rows and columns of the trend matrix \mathbf{F}
). Recall that
this correction would contribute to limit bias: it would totally
remove it if the correlation parameters were known (which is not the
case here). However, this correction is often ignored in the context
of computer experiments, especially in adaptive strategies. It can be
activated by turning biasCorrect
to TRUE
, when
type = "UK"
Value
A list with the following elements.
mean |
GP mean ("kriging") predictor (including the trend) computed at
|
sd |
GP prediction ("kriging") standard deviation computed at
|
sdSK |
Part of the above standard deviation corresponding to simple kriging
(coincides with |
trend |
The computed trend function, evaluated at |
cov |
GP prediction ("kriging") conditional covariance matrix. Not
computed if |
lower95 |
|
upper95 |
Bounds of the 95 % GP prediction interval computed at
|
c |
An auxiliary matrix |
cStar |
An auxiliary vector, equal to |
Author(s)
O. Roustant, D. Ginsbourger, Y. Deville
See Also
gp
for the creation/estimation of a model. See
gls-methods
for the signification of the auxiliary variables.