Implements the normal approximation of the log-rank test statistic.
Arguments
- event_rate
probability that a subject will eventually have an event
- 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
Survival
- nsim
number of simulation runs
- seed
random seed
See also
see probability_density_function
and
cumulative_distribution_function
to evaluate the pdf
and the cdf, respectively.