Description Usage Arguments Value
Bayesian sample size in a decision-theoretic approach for the Poisson/Dirichlet process.
1 2 | bss.dt.PoiDP(lam0, theta0, alpha, w, c, nmax = 100, nrep = 10,
R = 100, plot = TRUE, ...)
|
lam0 |
A positive real number representing a hyperparameter of the $F_0$ base distribution. |
theta0 |
A positive real number representing a hyperparameter of the $F_0$ base distribution. We consider $F_0$ as the gamma distribution with mean $lam_0$ and shape parameter $theta_0$. |
alpha |
Shape parameter of the Dirichlet process. |
w |
A positive real number representing the aliquot volume. |
c |
A positive real number representing the cost of colect one aliquot. |
nmax |
A positive integer representing the maximum number for compute the Bayes risk. Default is 100. |
nrep |
A positive integer representing the number of samples taken for each $n$. |
R |
Number of replicates used in the simulation. Default is 100. |
plot |
Boolean. If TRUE (default) it plot the estimated Bayes risks and the fitted curve. |
... |
Currently ignored. |
An integer representing the sample size.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.