Description Usage Arguments Value
View source: R/bss.dt.nbPearson.R
Bayesian sample size in a decision-theoretic approach for the negative binomial/Pearson Type VI model
1 2 |
lf |
1 or 2, representing the loss function used. |
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. |
phi |
A positive real number representing a scale parameter of the prior distribution. |
w |
A positive real number representing the aliquot volume. |
c |
A positive real number representing the cost of colect one aliquot. |
rho |
A number in (0, 1). The probability of the credible interval is $1-rho$. Only for lost function 1. |
gam |
A positive real number connected with the credible interval when using lost function 2. |
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$. |
lrep |
A positive integer representing the number of samples taken for $S_n$. |
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.