Given that the prior on M is a dirac delta, find the γ hyperparameter of the weights prior to match E(K)=K∗, where K∗ is user-specified
Given that the prior on M is a dirac delta, find the γ hyperparameter of the weights prior to match E(K)=K∗, where K∗ is user-specified
Once a fixed value of the number of components M∗ is specified, this function adopts a bisection method to find the value of γ
such that the induced distribution on the number of clusters is centered around a user specifed value K∗, i.e. the function uses a bisection method to solve for γ if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="argiento2019infinity",package="AntMAN",cached_env=.Rdpack.currefs) . The user can provide a lower γl and an upper γu bound for the possible values of γ. The default values are γl=10−3 and γu=10. A default value for the tolerance is ϵ=0.1. Moreover, after a maximum number of iteration (default is 31), the function stops warning that convergence has not been reached.