xvalid {RGeostats} | R Documentation |
Cross-validation procedure
xvalid(db, model = model.input(), neigh = neigh.input(), uc = c("1"), mean = NA, flag.linked=FALSE, flag.xvalid=1, radix = "Xvalid", modify.target = db.locmod())
db |
The |
model |
The |
neigh |
The |
uc |
The drift description. Use command |
mean |
Array containing the mean of each variable, used in the case of Simple (Co-)Kriging |
flag.linked |
When TRUE, the variables are sharing the same mean (or more generally the same drift). Otherwise, the variables have separate means (drifts). |
flag.xvalid |
Define the set of variables stored in the output Db (see value). |
radix |
Radix of the name given to the variables storing the results in the target Db. |
modify.target |
Decides whether or not the newly created variables will have their
locator defined or not. For more information, see |
The input Db where the following variables have been added. The type of variables depends upon the argument "flag.xvalid":
When flag.xvalid == 1
the estimation error (extension: "esterr"): Z* - Z
the normalized error (extension: "stderr"): (Z* - Z) / Sigma*
When flag.xvalid == 2
the estimation error (extension: "esterr"): Z*
the normalized error (extension: "stderr"): Sigma*
These variables are calculated for each one of the data variables.