
Package index
Stacking
Implements Bayesian predictive stacking for spatial/spatial-temporal linear and generalized linear models.
-
spLMstack() - Bayesian spatial linear model using predictive stacking
-
spGLMstack() - Bayesian spatial generalized linear model using predictive stacking
-
stvcGLMstack() - Bayesian spatially-temporally varying coefficients generalized linear model using predictive stacking
-
candidateModels() - Create a collection of candidate models for stacking
Exact samplers and finds LOO-PD
Samples from the posterior distribution conditional on fixed values of spatial/spatial-temporal process parameters and finds leave-one-out predictive densities
-
spLMexact() - Univariate Bayesian spatial linear model
-
spGLMexact() - Univariate Bayesian spatial generalized linear model
-
stvcGLMexact() - Bayesian spatially-temporally varying generalized linear model
Downstream posterior sampling
Posterior recovery of scale parameters and posterior predictive inference
-
recoverGLMscale() - Recover posterior samples of scale parameters of spatial/spatial-temporal generalized linear models
-
posteriorPredict() - Prediction of latent process at new spatial or temporal locations
-
stackedSampler() - Sample from the stacked posterior distribution
-
get_stacking_weights() - Optimal stacking weights
-
surfaceplot() - Make a surface plot
-
surfaceplot2() - Make two side-by-side surface plots
Matrix algorithms
Provides compiled code for various Cholesky factor updates helpful for those designing their own cross-validation algorithms
-
cholUpdateRankOne()cholUpdateDel()cholUpdateDelBlock() - Different Cholesky factor updates
-
sim_stvcPoisson - Synthetic point-referenced spatial-temporal Poisson count data simulated using spatially-temporally varying coefficients
-
simBinary - Synthetic point-referenced binary data
-
simBinom - Synthetic point-referenced binomial count data
-
simGaussian - Synthetic point-referenced Gaussian data
-
simPoisson - Synthetic point-referenced Poisson count data
-
sim_spData() - Simulate spatial data on unit square
-
spStackspStack-package - spStack: Bayesian Geostatistics Using Predictive Stacking
-
iDist() - Calculate distance matrix