Learn R Programming

Installing BSTZINB

You can install the BSTZINB package by running the following code snippet in your R Console:

install.packages('BSTZINB')

Using BSTZINB

Please see the vignette for different functions available in the package and their usage. You can access the vignette by using the vignette function: vignette("BSTZINB_vignette",package="BSTZINB")

Copy Link

Version

Install

install.packages('BSTZINB')

Monthly Downloads

150

Version

2.0.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Suman Majumder

Last Published

November 19th, 2025

Functions in BSTZINB (2.0.1)

print.DCMB

Print function for DCMB class of objects
print.summ.DCMB

Prints out the summary of a DCMB object
synth_dat_IA

synth_dat_IA: A dataset containing county-wise synthsized counts for the state of Iowa over 16 time points and a covariate used to generate the data
BSTNB

Fit a Bayesian Spatiotemporal Negative Binomial model
compute_NB_DIC

DIC for BSTNB or BNB fitted objects
ResultTableSummary

Summary Table for a fitted object
USDmapCount

Draw spatial maps of various quantities over regions in the US
USAcities

USAcities: A dataset containing state and county information for the cities in the United States
BNB

Fit a Bayesian Negative Binomial Model
TimetrendCurve

Time-trend curve over the study time domain for counties in the US
ResultTableSummary2

Generate a summary table of the outputs all different methods given the data
BSTZINB

Fit a Bayesian Spatiotemporal Zero Inflated Negative Binomial model
BZINB

Fit a Bayesian Zero Inflated Negative Binomial Model
conv.test

convergence test for parameters in the fitted objects
compute_ZINB_DIC

DIC for BSTZINB fitted objects
summary.DCMB

Summary function for objects of class DCMB
simdat

simdat: A simulated dataset containing response and covariates with region and time information
county.adjacency

county.adjacency: A dataframe containing neighborhood information for counties in the US
get_adj_mat

Adjacency matrix for counties of one or many states in the United States
qRankPar

Bar plot for time-averaged log-q estimates over quantile-representative counties (descending order)
qRankParTop

Bar plot for time-averaged log-q estimates over top ranking counties (descending order)