Treatment Switching
Log-Rank Test of Survival Curve Difference
Marginal Structural Model (MSM) for Treatment Switching
Print method for ipcw objects
Print method for ipe objects
Print liferegr Object
Print logisregr Object
Print method for msm objects
Print phregr Object
Print method for rpsftm objects
Print method for tsegest objects
Print method for tsesimp objects
QR Decomposition of a Matrix
Simulation Study to Evaluate Recensoring Rules in RPSFTM
Residuals for Parametric Regression Models for Failure Time Data
Prepare Survival Data With Time-Dependent Covariates
B-Spline Basis for Polynomial Splines
Find Interval Numbers of Indices
Inverse Probability of Censoring Weights (IPCW) for Treatment Switchin...
Iterative Parameter Estimation (IPE) for Treatment Switching
Estimate of Milestone Survival Difference
Kaplan-Meier Estimates of Survival Curve
Parametric Regression Models for Failure Time Data
Logistic Regression Models for Binary Data
Natural Cubic Spline Basis
Proportional Hazards Regression Models
Plot method for ipcw objects
Plot method for ipe objects
Plot method for msm objects
Plot method for rpsftm objects
Plot method for tsegest objects
Plot method for tsesimp objects
Residuals for Proportional Hazards Regression Models
Estimate of Restricted Mean Survival Time Difference
Estimate of Restricted Mean Survival Time
Rank Preserving Structural Failure Time Model (RPSFTM) for Treatment S...
B-Spline Design Matrix
Survival Curve for Proportional Hazards Regression Models
Brookmeyer-Crowley Confidence Interval for Quantiles of Right-Censored...
Split a survival data set at specified cut points
Treatment Switching
Two-Stage Estimation with g-Estimation (TSEgest) for Treatment Switchi...
Simulate Survival Data for Two-Stage Estimation with g-estimation
Simple Two-Stage Estimation (TSEsimp) for Treatment Switching
Simulate Data for Treatment Switching
Implements rank preserving structural failure time model (RPSFTM), iterative parameter estimation (IPE), inverse probability of censoring weights (IPCW), marginal structural model (MSM), simple two-stage estimation (TSEsimp), and improved two-stage estimation with g-estimation (TSEgest) methods for treatment switching in randomized clinical trials.