dnorgam: Density function for the Normal-Gamma distribution

Description Usage Arguments Value Examples

View source: R/GNGFunctions.R

Description

Density function for the Normal-Gamma distribution

Usage

1
dnorgam(mu, tau, mu0, n0, a0, b0)

Arguments

mu

likelihood evaluated when mean takes on value mu

tau

likelihood evaluated when precision takes on value tau

mu0

hyperparameter describing mu

n0

hyperparameter describing effective sample size associated with mu0

a0

hyperparameter describing shape parameter of precision parameter

b0

hyperparameter describing rate parameter of precision parameter

Value

Returns the value of the Normal-gamma density function at the point passed.

Examples

1
2
3
4
## Not run: 
dnorgam()

## End(Not run)

lylyf1987/GNGpkg documentation built on May 19, 2020, 12:07 a.m.