prop_to_mu_two_arm: Convert a proportion of dropouts to a dropout rate.

Description Usage Arguments Value

Description

prop_to_mu_two_arm converts a proportion of patients who have withdrawn at data cut-off dco to the corresponding exponential dropout rate. This takes into acount the competing risk of the event-of-interest.

Usage

1
prop_to_mu_two_arm(prop_withdrawn = 0.2, dco = 28, recruitment, model)

Arguments

dco

Time of data cut-off.

recruitment

List of recruitment information. Containing

  1. Sample size on control, n_0

  2. Sample size on experimental, n_1

  3. Recruitment period, r_period

  4. Recruitment parameter for power model, k

model

The piecewise hazard model. A list containing the change_points and lambdas.

Value

The dropout rate mu that would lead to prop_withdrawn at dco.


dominicmagirr/expectedevents documentation built on May 7, 2019, 4:39 p.m.