plotNormalInvGamma {bayesAB} | R Documentation |
Plot the bivariate PDF of the Normal Inverse Gamma Distribution.
Description
Plot the bivariate PDF of the Normal Inverse Gamma Distribution.
Usage
plotNormalInvGamma(mu, lambda, alpha, beta)
Arguments
mu |
|
lambda |
|
alpha |
|
beta |
|
Value
The PDF of NormalInverseGamma(mu, lambda, alpha, beta)
Note
This is a bivariate distribution (commonly used to model mean and
variance of the normal distribution) and returns a 2d contour
plot instead of a typical one dimensional PDF. You may want to experiment
with both this distribution and the plotNormal
and plotInvGamma
outputs separately before arriving at a suitable set of priors for the
Normal and LogNormal bayesTest
.
Examples
plotNormalInvGamma(3, 1, 1, 1)
[Package bayesAB version 1.1.3 Index]