Sample \(\alpha\) conditional on the current partition and value of \(K\) using an Metropolis-Hastings step with log-normal proposal.
sampleAlpha(N, Nk, K, alpha, s0_proposal, log_pAlpha)A named list containing:
"alpha": a numeric, the new \(\alpha\) value.
"acc": logical indicating acceptance.
A number; indicating the sample size.
An integer vector; indicating the group sizes in the partition.
A number; indicating the number of components.
A numeric value; indicating the value for \(\alpha\).
A numeric value; indicating the standard deviation of the random walk.
A function; evaluating the log prior of \(\alpha\).