MH_MCMC.RdMetropolis Hastings MCMC
MH_MCMC(itera, k, al_c, be_c, startvalue_lamda_r = 0)
| itera | numeric, number of MCMC samples. |
|---|---|
| k | numeric, observed count for a taxa in a sample. |
| al_c | numeric, estimated shape parameter for the contaminant intensity. |
| be_c | numeric, estimated scale parameter for the contaminant intensity. |
| startvalue_lamda_r | numeric, initial value for the true intensity. |
An array of MCMC samples.