calc_normal_gamma_dist: Calculate Parameters For Normal Gamma Distribution

Description Usage Arguments Details Value

Description

Calculate the parameters for a normal gamma distribution parameterized by the expected value and standard deviation.

Usage

1
calc_normal_gamma_dist(mu, tau, sigma_mu, sigma_tau)

Arguments

mu

The expected value of x (see details)

tau

The expected value of T (see details)

sigma_mu

The standard deviation of x (see details)

sigma_tau

The standard deviation of T (see details)

Details

If (x, T) ~ NormalGamma(mu, lambda, alpha, beta), then mu = E[x], tau = E[T], sigma_mu^2 = Var(x), and sigma_tau^2 = Var(T)

Value

An object of class normal_gamma_dist


convoyinc/abayes documentation built on May 12, 2019, 1:34 a.m.