Learn R Programming

bbricks (version 0.1.1)

MPE.GaussianNIW: Mean Posterior Estimate(MPE) of a "GaussianNIW" object

Description

Generate the MPE of "theta" in following GaussianNIW structure: theta|gamma ~ NIW(gamma) x|theta ~ Gaussian(theta) where theta = (mu,Sigma) is the Gaussian parameter, gamma = (m,k,v,S) is the Normal-Inverse-Wishart(NIW) parameter. The model structure and prior parameters are stored in a "GaussianNIW" object. MPE is theta_MPE = mean_theta(theta|gamma,x)

Usage

# S3 method for GaussianNIW
MPE(obj, ...)

Arguments

obj

A "GaussianNIW" object.

...

Additional arguments to be passed to other inherited types.

Value

A named list, the MPE estimate of "theta".

References

Murphy, Kevin P. "Conjugate Bayesian analysis of the Gaussian distribution." def 1.22 (2007): 16.

Gelman, Andrew, et al. "Bayesian Data Analysis Chapman & Hall." CRC Texts in Statistical Science (2004).

See Also

GaussianNIW