Description Usage Arguments Value Author(s)
Generate the posterior distribution when the error distribution is a mixture.
1 | post_mix_dist(g, betahat, errordist)
|
g |
The prior distribution. Either of class |
betahat |
The observations, a vector of numerics. |
errordist |
A list of mixture distributions. |
A list of arrays containing the parameters for the posterior. The first dimension is the observations, the second is the mixture components for the prior, and the third is the mixture components of the error.
weights
The mixing proportions
means
The location parameter if the posterior is either
a mixture of normals or truncated normals.
variances
The scale parameter if the posterior is either
a mixture of normals or truncated normals.
lower
The lower bound of support if the posterior is
either a mixture of truncated normals of uniforms.
upper
The upper bound of support if the posterior is
either a mixture of truncated normals of uniforms.
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.