int_eval {sequential.pops} | R Documentation |
Simulation of an STBP
Description
This function is called on Evaluation of Sequential tests of
Bayesian posterior probabilities, STBP.eval
.
Usage
int_eval(pop_mean, prior, n, obj, overdispersion.sim = NA, seed = NULL)
Arguments
pop_mean |
True population density. |
prior |
Initial prior. |
n |
Sample size within bouts. |
obj |
A STBP object |
overdispersion.sim |
Overdispersion parameter or function for simulations. |
seed |
Optional seed for random count generation. |
Value
A list with average number of bouts required to reach a decision and recommendation for H
[Package sequential.pops version 0.1.1 Index]