bmstdr0.7.9 package

Bayesian Modeling of Spatio-Temporal Data with R

Bcartime

Bayesian regression model fitting for areal and areal spatio-temporal ...

BCauchy

Cauchy prior simulation example.

Bmchoice

Model choice criteria calculation for univariate normal model for both...

Bmoving_sptime

Model fitting and validation for spatio-temporal data from moving sens...

bmstdr_variogram

Calculates and plots the variogram cloud and an estimated variogram.

Bnormal

N(theta, sigma2): Using different methods.

Bspatial

Bayesian regression model fitting for point referenced spatial data. C...

Bsptime

Bayesian regression model fitting for point referenced spatio-temporal...

calculate_dic

Calculate DIC function. Has two arguments: (1) log full likelihood at ...

calculate_validation_statistics

Calculates the four validation statistics: RMSE, MAE, CRPS and coverag...

calculate_waic

Calculate WAIC function. Has the sole argument component wise likeliho...

coef.bmstdr

Prints and returns the estimates of the coefficients

fig11.13.plot

Draws a time series (ribbon) plot by combining fitted and predicted va...

fitted.bmstdr

Extract fitted values from bmstdr objects.

fnc.delete.map.XYZ

This function is used to delete values outside the state of New York

get_parameter_estimates

Obtains parameter estimates from MCMC samples

get_validation_summaries

Obtains suitable validation summary statistics from MCMC samples obtai...

getvalidrows

Returns a vector of row numbers for validation.

hitandfalsealarm

Calculate the hit and false alarm rates

is.bmstdr

Is it a bmstdr model fitted object?

materncov

Banerjee, Carlin and Gelfand (2015) Mat'ern covariance function

maternfun

Banerjee et al Mat'ern covariance function

obs_v_pred_plot

Observed against predicted plot

phichoice_sp

Grid search method for choosing phi Calculates the validation statisti...

phichoicep

Calculates the validation statistics using the spatial model with a gi...

plot.bmstdr

Plot method for bmstdr objects.

print.bmstdr

Provides basic information regarding the fitted model.

residuals.bmstdr

Extract residuals from a bmstdr fitted object.

summary

Provides basic summaries of model fitting.

terms.bmstdr

Prints the terms

Fits, validates and compares a number of Bayesian models for spatial and space time point referenced and areal unit data. Model fitting is done using several packages: 'rstan', 'INLA', 'spBayes', 'spTimer', 'spTDyn', 'CARBayes' and 'CARBayesST'. Model comparison is performed using the DIC and WAIC, and K-fold cross-validation where the user is free to select their own subset of data rows for validation. Sahu (2022) <doi:10.1201/9780429318443> describes the methods in detail.

  • Maintainer: Sujit K. Sahu
  • License: GPL-2
  • Last published: 2023-12-18