Implements a normal data distribution for z-values given an observed z-value
and stage size.
Standard deviation is 1 and mean θ √n where
θ is the standardized effect size.
The option two_armed
can be set to decide whether a one-arm or a
two-arm design should be computed.
logical indicating if a two-armed trial is regarded
outcome
vector of probabilities
sample size
distribution parameter
further optional arguments
object of class Normal
number of simulation runs
random seed
See DataDistribution-class
for more details.
see probability_density_function
and
cumulative_distribution_function
to evaluate the pdf
and the cdf, respectively.
datadist <- Normal(two_armed = TRUE)