DataDistribution is an abstract class used to represent the distributionof a sufficient statisticx given a sample sizen and asingle parameter valuetheta.
Details
This abstraction layer allows the representation of t-distributions(unknown variance), normal distribution (known variance), and normalapproximation of a binary endpoint.Currently, the two implemented versions areNormal-class andBinomial-class.
The logical optiontwo_armed allows to decide whether a one-arm ora two-arm (the default) design should be computed. In the case of a two-armdesign all sample sizes are per group.
