All functions

calculate_statistics()

Estimate the marginal causal survival curves using potential outcome framework

calculate_trt_effect()

Calculate the marginal treatment effect using counterfactual simulations

clmqControl()

Control of marginal HR estimation via clustermq

get_marginal_effect()

Calculate the marginal treatment effects for hazard ratio (HR) adjusting covariates in clinical trials

get_point_estimate()

Calculate the marginal treatment effects (only the point estimate) for hazard ratio (HR) adjusting covariates in clinical trials

get_rmst_estimate()

Calculate the marginal restricted mean survival time (RMST) when adjusting covariates in clinical trials

get_variance_estimation()

Calculate the variance (SE) of the marginal treatment effects (hazard ratio) adjusting covariates in clinical trials

oak

Oak trial data

rmst_delta()

Calculate the variance of the marginal restricted mean survival time (RMST) when adjusting covariates using the delta method

rmst_point_estimate()

Calculate the point estimate of the marginal restricted mean survival time (RMST) when adjusting covariates in clinical trials

rmst_unadjust()

Calculate the unadjusted restricted mean survival time (RMST)

simulate_counterfactuals()

Calculate the potential outcomes using marginal survival causual curves