Learn R Programming

RegimeChange (version 0.1.1)

poisson_gamma: Gamma-Poisson Prior for Count Data

Description

Creates a Gamma prior specification for Poisson-distributed count data.

Usage

poisson_gamma(alpha0 = 1, beta0 = 1)

Value

An object of class "regime_prior"

Arguments

alpha0

Shape parameter for the rate

beta0

Rate parameter

Examples

Run this code
prior <- poisson_gamma(alpha0 = 1, beta0 = 1)

Run the code above in your browser using DataLab