View source: R/mixing_distribution_posterior_draw.R
PosteriorDraw.exponential | R Documentation |
Draw from the posterior distribution
## S3 method for class 'exponential'
PosteriorDraw(mdObj, x, n = 1, ...)
PosteriorDraw(mdObj, x, n = 1, ...)
## S3 method for class 'mvnormal'
PosteriorDraw(mdObj, x, n = 1, ...)
## S3 method for class 'mvnormal2'
PosteriorDraw(mdObj, x, n = 1, ...)
## S3 method for class 'normalFixedVariance'
PosteriorDraw(mdObj, x, n = 1, ...)
## S3 method for class 'normal'
PosteriorDraw(mdObj, x, n = 1, ...)
## S3 method for class 'weibull'
PosteriorDraw(mdObj, x, n = 100, ...)
mdObj |
Mixing Distribution |
x |
Data |
n |
Number of draws |
... |
For a non-conjugate distribution the starting parameters. Defaults to a draw from the prior distribution. |
A sample from the posterior distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.