Description Usage Arguments Value Note Author(s) References See Also
View source: R/computeAuxVariables.R
Computes or updates some auxiliary variables used for kriging (see below). This is useful in several situations : when all parameters are known (as for one basic step in Bayesian analysis), or when some new data is added but one does not want to re-estimate the model coefficients. On the other hand, computeAuxVariables
is not used during the estimation of covariance parameters, since this function requires to compute the trend coefficients at each optimization step; the alternative given by (Park, Baek, 2001) is preferred.
1 | computeAuxVariables(model)
|
model |
an object of class |
An updated km
objet, where the changes concern the following items:
T |
a matrix equal to the upper triangular factor of the Choleski decomposition of |
z |
a vector equal to |
M |
a matrix equal to |
T
is computed with the base function chol
. z
and M
are computed by solving triangular linear systems with backsolve
. z
is not computed if model@trend.coef
is empty.
O. Roustant, D. Ginsbourger, Ecole des Mines de St-Etienne
J.-S. Park and J. Baek (2001), Efficient computation of maximum likelihood estimators in a spatial linear model with power exponential covariogram, Computer Geosciences, 27 no. 1, 1-7.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.