Description Usage Arguments Value References See Also Examples
Calling prior()
constructs an object of class prior. The
constructor can be called without providing any arguments, but the prior
has to be filled with appropriate parameters when MCMC sampling should be
performed.
There exists next to the general constructor also an advanced constructor
that specifies a data dependent prior. See priordefine()
for this advanced
constructor.
1 2 3 4 5 6 |
weight |
A matrix storing the prior parameters for the |
par |
A list storing the prior parameters for the parameters of a finite mixture model. |
type |
A character specifying what type of prior should be used in
Bayesian estimation. Either |
hier |
A logical defining, if the used prior should be hierarchical. Hierarchical prior are often more robust, but need an additional layer in sampling, so computing costs increase. |
A prior
object with the specified slots.
Fr\"uhwirth-Schnatter, S (2006), "Finite Mixture and Markov Switching Models"
prior()
for the general constructor of this class
priordefine()
for the advanced constructor of this class
1 2 | # Call the default constructor without any arguments.
f_prior <- prior()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.