K.MixReparametrized(xobs, k, alpha0, alpha, Nsim)Robert, C. and Casella, G. (2009). Introducing Monte Carlo Methods with R. Springer-Verlag.
Roberts, G. O., Gelman, A. and Gilks, W. R. (1997). Weak convergence and optimal scaling of random walk Metropolis algorithms. Ann. Applied Probability, 7, 110--120.
Gelman, A. and Rubin, D. (1992). Inference from iterative simulation using multiple sequences (with discussion). Statistical Science, 457--472.
Ultimixt
data(faithful)
xobs=faithful[50:100,1]
#estimate=K.MixReparametrized(xobs, k=2, alpha0=.5, alpha=.5, Nsim=1e4)
Run the code above in your browser using DataLab