Learn R Programming

adoptr (version 0.1.1)

ConditionalPower-class: Conditional power of a design given stage-one outcome

Description

This score evaluates . Note that the distribution of is the posterior predictive after observing .

Usage

ConditionalPower(dist, prior)

Arguments

dist

a univariate distribution object

prior

a Prior object

See Also

The method evaluate provides evaluation of the ConditionalPower.

Examples

Run this code
# NOT RUN {
cp <- ConditionalPower(dist = Normal(), prior = PointMassPrior(.4, 1))

# }

Run the code above in your browser using DataLab