R/plotDists.R
plotNormalInvGamma.Rd
Plot the bivariate PDF of the Normal Inverse Gamma Distribution.
plotNormalInvGamma(mu, lambda, alpha, beta)
mu | \(\mu\) parameter of the Normal Inverse Gamma distribution. |
---|---|
lambda | \(\lambda\) parameter of the Normal Inverse Gamma distribution. |
alpha | \(\alpha\) parameter of the Normal Inverse Gamma distribution. |
beta | \(\beta\) parameter of the Normal Inverse Gamma distribution. |
The PDF of NormalInverseGamma(mu, lambda, alpha, beta)
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
.
plotNormalInvGamma(3, 1, 1, 1)