Description Usage Arguments Value Examples
Given a model output by the function bpwpm_gibbs
, it thins
down the chain and makes puntual estimation for the parameters, given a type
of estimation. This parameter object can later be used to calculate the
F matrix and other results.
1 | posterior_params(bpwpm, thin, burn_in, type = "mean")
|
bpwpm |
an object of the class bpwpm |
thin |
A thinning parameter for the MCMC Chain |
burn_in |
A burn in parameter for the MCMC Chain |
type |
The type of punctual estimation for the parameters. Options include: mean, mode or median. |
An object of the class bpwpm_params that contains:
The posterior estimation for β
The posterior estimation for w's on each dimention
The corresponding nodes
The final F matrix
M parameter
J parameter
K parameter
number of dimentions
Logical
1 | (model, 2, 2000, 'mean') (model, 0, 0, 'median')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.