Description Usage Arguments Value References See Also Examples
This constructor defines a data dependent prior with parameters by matching
moments. As a consequence it needs as inputs an fdata
object and a model
object. The prior distributions chosen and the methods how parameters are
computed are described in Frühwirth-Schnatter (2006).
1 2 3 4 5 6 7 |
fdata |
An |
model |
A |
varargin |
|
prior.wagner |
A logical indicating, if the prior from Wagner (2007) should be used in case of an exponential mixture model. |
s |
A numeric specifying the standard deviation |
A fully specified prior
object.
Fr\"uwirth-Schnatter, S. (2006), "Finite Mixture and Markov Switching Models"
Wagner, H. (2007), "Bayesian analysis of mixtures of exponentials", Journal of Applied Mathematics, Statistics and Informatics 3, 165-183
prior for the class definition
prior()
for the default constructor of the class
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.