Description Usage Arguments Value
View source: R/bss.ci.Poigam.R
Bayesian sample size using ACC or ALC criterion for the Poisson/gamma model
1 2 | bss.ci.Poigam(crit, lam0, theta0, w, rho, len = NULL, len.max = NULL,
R = 1000, n0 = 1)
|
crit |
A characther string specifying the criterion. Criteria: "ACC", "ALC" and "ALCApprox". |
lam0 |
A positive real number representing the prior expected value for the prior gamma distribution. |
theta0 |
A positive real number representing the shape parameter for the prior gamma distribution. |
w |
A positive real number representing the aliquot volume. |
rho |
A number in (0, 1). The probability of the credible interval is equal or greater than $1-rho$ depending on the criterion used. |
len |
A positive real number representing the length of the credible intervals in the ACC criterion. |
len.max |
A positive real number representing the maximum length of the credible intervals in the ALC criterion. |
R |
Number of replicates used in the simulation. Default is 1000. |
n0 |
A positive integer representing the initial sample size in which the function will check the criterion. Default is 1. |
An integer representing the sample size.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.