Arguments
n.stages
The number of stages of the sequential decision problem.
group.size
The sample size at each stage. The individal samples are combined
into a group mean, which is the single observation at each stage.
tau
The standard deviation of the prior for the unknown population mean
before the first stage.
sigma
The population standard deviation for a single individual. The
standard deviation for the group response is this value divided by the
square root of group.size.
stage.cost
The cost of proceeding to the next stage.
final.cost
The cost payed at the final stage if a finalisation decision is
taken (if a stopping decision is taken, this cost is not payed).
final.gain
A constant which is multiplied with the true population mean in
order to obtain the utility gain at the final stage, if a finalisation
decision is taken (if a stopping decision is taken, this gain is not
included in the total utility).