Description Usage Arguments Details See Also Examples
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.
1 2 3 4 5 6 7 |
two_armed |
logical indicating if a two-armed trial is regarded |
x |
outcome |
probs |
vector of probabilities |
n |
sample size |
theta |
distribution parameter |
... |
further optional arguments |
object |
object of class |
nsim |
number of simulation runs |
seed |
random seed |
See DataDistribution-class
for more details.
see probability_density_function
and
cumulative_distribution_function
to evaluate the pdf
and the cdf, respectively.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.