Description Usage Arguments Details Value Author(s) See Also Examples
Given a multivariate distribution, one of its marginal distributions is computed.
1 | marginal(object, v)
|
object |
The multivariate probability distribution whose marginal should be computed. |
v |
A vector of indices, indicating which parts of the |
The index or indices of the parameter(s) whose marginal distribution
is computed is given in v
.
A probability distribution.
Petter Mostad <mostad@chalmers.se>
1 2 3 4 | data <- simulate(normal(3, log(3)), 11)
posterior <- linearmodel(data, designOneGroup(11))
credibilityinterval(marginal(posterior, 1))
credibilityinterval(marginal(posterior, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.