nix2_update_one: Conjugate updating of Normal-Chi^-2 parameters for a single...

Description Usage Arguments Details Value

View source: R/nix.R

Description

This uses the parametrization from Murphy (2008; University of British Columbia).

Usage

1
nix2_update_one(p = list(nu = 0, kappa = 0, mu = 0, sigma2 = 0), x)

Arguments

p

named list of distribution parameters (mu, sigma2, nu, and kappa)

x

vector of observations to update with (optional if summary stats are passed)

Details

This is specialized for a single observation, and about 25 nix2_update. Use, for instance, in reduce or accumulate.

Value

Update parameters


kleinschmidt/beliefupdatr documentation built on May 24, 2020, 8:26 p.m.