Description Usage Arguments Value References Examples
The correlation-based Vecchia approximation is nothing but the Vecchia approximation with a correlation-based distance. It is equivalent to the Vecchia approximation with Euclidean distance for isotropic covariance function cases which are popular in application. If offers an automatic strategy even when Euclidean distance is not applicable (e.g. text data).
1 2 3 | corrvecchia_knownCovparms(locs, m, ordering = "maxmin",
coordinate = NULL, dist.ordering = "correlation",
dist.conditioning = "correlation", covmodel, covparms = NULL)
|
locs |
A matrix with |
m |
Number of nearby points to condition on (the size of conditioning sets) |
ordering |
"coord" or "maxmin."
If |
coordinate |
a numeric vector of coordinates |
dist.ordering |
"euclidean" or "correlation."
If |
dist.conditioning |
"euclidean" or "correlation."
If |
covmodel |
If |
covparms |
A numerical vector with covariance parameters. It must be compatible with the argument |
An object that specifies the Vecchia approximation for later use in likelihood evaluation or prediction. We are doing research on this.
Katzfuss, Matthias, and Joseph Guinness. "A general framework for Vecchia approximations of Gaussian processes." arXiv preprint arXiv:1708.06302 (2017).
1 2 3 4 5 6 7 8 9 10 11 12 | n <- 15^2
m <- 10
locs <- matrix(runif(n * 2, 0, 1), n, 2)
covparms <- c(1, 0.1, 10)
sigma <- cov_expo_aniso(locs = locs, covparms = covparms)
out.euclidean <- corrvecchia_knownCovparms(locs = locs, m = m, ordering = "maxmin", coordinate = NULL, dist.ordering = "euclidean", dist.conditioning = "euclidean", covmodel = cov_expo_aniso, covparms = covparms)
out.correlation <- corrvecchia_knownCovparms(locs = locs, m = m, ordering = "maxmin", coordinate = NULL, dist.ordering = "correlation", dist.conditioning = "correlation", covmodel = cov_expo_aniso, covparms = covparms)
out.euclidean$ord
out.correlation$ord
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.