Dispersion: Specify the prior for the dispersion parameter in a CMP...

View source: R/SpecModel-generators.R

DispersionR Documentation

Specify the prior for the dispersion parameter in a CMP model.

Description

Specify the prior for the dispersion parameter (often denoted 'nu') in a CMP or COM-Poisson model. The dispersion parameter is assumed to have a distribution

log \nu_i \sim N(\mu, \sigma^2)

Usage

Dispersion(mean = 0, sd = 1)

Arguments

mean

A scalar, defaulting to 0.

sd

A scalar, defaulting to 1.

Value

An object of class Dispersion.

See Also

CMP models are specified with function CMP.

Examples

Dispersion()
Dispersion(mean = 1, sd = 0.3)

StatisticsNZ/demest documentation built on Nov. 2, 2023, 7:56 p.m.