Plot.MixReparametrized: plot of the MCMC output produced by K.MixReparametrized

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

This is a generic function for a graphical rendering of the MCMC samples produced by K.MixReparametrized function. The function draws boxplots for unimodal variables and for multimodal arguments after clustering them by applying a k-means algorithm. It also plots line charts for other variables.

Usage

1
Plot.MixReparametrized(xobs, estimate)

Arguments

xobs

vector of the observations

estimate

output of the K. MixReparametrized function

Details

Boxplots are produced using the boxplot.default method.

Value

The output of this function consists of

boxplot

three boxplots for the radial coordinates, the mean and the standard deviation of the mixture distribution, k boxplots for each of the mixture model weights, component means and component standard deviations.

histogram

an histogram of the observations against an overlaid curve of the density estimate, obtained by averaging over all mixtures corresponding to the MCMC draws,

line chart

line charts that report the evolution of the proposal scales and of the acceptance rates over the number of batch of 50 iterations.

Note

The mixture density estimate is based on the draws simulated of the parameters obtained by K.MixReparametrized function.

Author(s)

Kaniav Kamary

References

Kamary, K., Lee, J.Y., and Robert, C.P. (2017) Weakly informative reparameterisation of location-scale mixtures. arXiv.

See Also

K.MixReparametrized

Examples

1
2
3
4
#data(faithful)
#xobs=faithful[,1]
#estimate=K.MixReparametrized(xobs, k=2, alpha0=.5, alpha=.5, Nsim=20000)
#plo=Plot.MixReparametrized(xobs, estimate)

Ultimixt documentation built on May 1, 2019, 10:56 p.m.