specify the vecchia approximation for later use in likelihood evaluation or prediction. This function does not depend on parameter values, and only has to be run once before repeated likelihood evaluations.
vecchia_specify(
locs,
m = -1,
ordering,
cond.yz,
locs.pred,
ordering.pred,
pred.cond,
conditioning,
mra.options = NULL,
ic0 = FALSE,
verbose = FALSE
)
An object that specifies the vecchia approximation for later use in likelihood evaluation or prediction.
nxd matrix of observed locs
Number of nearby points to condition on
options are 'coord' or 'maxmin'
options are 'y', 'z', 'SGV', 'SGVT', 'RVP', 'LK', and 'zy'
nxd matrix of locations at which to make predictions
options are 'obspred' or 'general'
prediction conditioning, options are 'general' or 'independent'
conditioning on 'NN' (nearest neighbor) or 'firstm' (fixed set for low rank) or 'mra'
Settings for number of levels and neighbors per level
Specifies if ic0 decomposition should be used as opposed to regular Cholesky
Provide more detail when using MRA calculations. Default is false.
locs=matrix(1:5,ncol=1); vecchia_specify(locs,m=2)
Run the code above in your browser using DataLab