Title: | Performing Matched-Adjusted Indirect Comparisons (MAIC) |
---|---|
Description: | A generalised workflow for Matching-Adjusted Indirect Comparison (MAIC) analysis, which supports both anchored and non-anchored MAIC methods. In MAIC, unbiased trial outcome comparison is achieved by weighting the subject-level outcomes of the intervention trial so that the weighted aggregate measures of prognostic or effect-modifying variables match those of the comparator trial. Measurements supported include time-to-event (e.g., overall survival) and binary (e.g., objective tumor response). The method is described in Signorovitch et al. (2010) <doi:10.2165/11538370-000000000-00000> and Signorovitch et al. (2012) <doi:10.1016/j.jval.2012.05.004>. |
Authors: | Xiao Qi [aut, cre] |
Maintainer: | Xiao Qi <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.1 |
Built: | 2024-12-11 19:29:41 UTC |
Source: | CRAN |
An example data frame containing aggregate summary data from the comparator study.
data(AgD_bl)
data(AgD_bl)
A data frame with X rows and Y variables:
Label of the comparator study, e.g., "Study XX-1".
Grouping variable, e.g., "active" or "control".
Number of subjects in each group.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
data(AgD_bl) head(AgD_bl)
data(AgD_bl) head(AgD_bl)
An example data frame containing aggregate results data from the comparator study.
data(AgD_eff)
data(AgD_eff)
A data frame with X rows and Y variables:
Label of the comparator study, e.g., "Study XX-1".
Subsets to be analyzed, e.g., "PFSINV", "OS".
Point estimate of the effect size.
The lower confidence limit of the point estimate of the effect size.
The upper confidence limit of the point estimate of the effect size.
data(AgD_eff) head(AgD_eff)
data(AgD_eff) head(AgD_eff)
The endpoint of interest is either time-to-event (e.g., overall survival) or binary (e.g., objective tumor response). The methods described in this documentation are based on those originally outlined by Signorovitch et al., 2012, and further detailed in the National Institute for Health and Care Excellence (NICE) Decision Support Unit (DSU) Technical Support Document (TSD) 18.
ipds_wts |
A data frame containing individual patient data from the
intervention study, with a column containing the estimated weights (derived
using |
intervention.arm |
The name of the grouping column in the data frame
specified by |
agds_eff |
A data frame containing aggregate efficacy results from the comparator study. |
comparator |
The name of the study column in the data frame specified
by |
comparator.study |
A character specifying the comparator study, which
must be quoted and cannot be empty (e.g., |
ipds.param.var |
The name of the column that specifies only a subset
of the |
ipds.param |
A character specifying the subset of the rows to be used.
This is the value of the column set by the |
agds.param.var |
The name of the column that specifies only a specific
result of the |
agds.param |
A character specifying the subset of the rows to be used.
This is the value of the column set by the |
agds.estimate |
The column name of the point estimate of the effect size. |
agds.ci.lower |
The column name for the lower confidence limit of the point estimate of the effect size. |
agds.ci.upper |
The column name for the upper confidence limit of the point estimate of the effect size. |
time |
The name of the survival or follow-up time column in the
|
status |
The status indicator, normally 0 = event, 1 = censored. Can be
reset using the |
event |
A numeric value that represents the survival status, 0 = event, 1 = censored. |
response |
The name of the response status column in the |
stralist |
A string specifying the stratification factors in a
stratified analysis, e.g., |
dtype |
Two options are available: "HR" and "OR". The default is "HR". |
wt.col |
The name of the estimated weights column in the data frame
specified by |
CIw |
The numeric value specifying the width of the confidence interval, with a default of 0.95. |
digits |
Specify the number of decimal places for the output results. |
A data frame containing the anchored matching-adjusted indirect comparison results.
results1 <- anchored_maic( ipds_wts = pts, intervention.arm = TRT, agds_eff = AgD_eff, comparator = STUDY, comparator.study = "Study XX-1", ipds.param.var = PARAMCD, ipds.param = "OS", agds.param.var = PARAM, agds.param = "OS", agds.estimate = EST, agds.ci.lower = CIL, agds.ci.upper = CIU, time = AVAL, status = CNSR, event = 0, stralist = "BPDL1, CNSBRAIN, AGEGR", dtype = "HR", wt.col = wt, CIw = 0.95, digits = 2) results1 results2 <- anchored_maic( ipds_wts = pts, intervention.arm = TRT, agds_eff = AgD_eff, comparator = STUDY, comparator.study = "Study XX-1", agds.param.var = PARAM, agds.param = "ORR", agds.estimate = EST, agds.ci.lower = CIL, agds.ci.upper = CIU, response = RESP, stralist = "BPDL1, CNSBRAIN, AGEGR", dtype = "OR", wt.col = wt, CIw = 0.95, digits = 2) results2
results1 <- anchored_maic( ipds_wts = pts, intervention.arm = TRT, agds_eff = AgD_eff, comparator = STUDY, comparator.study = "Study XX-1", ipds.param.var = PARAMCD, ipds.param = "OS", agds.param.var = PARAM, agds.param = "OS", agds.estimate = EST, agds.ci.lower = CIL, agds.ci.upper = CIU, time = AVAL, status = CNSR, event = 0, stralist = "BPDL1, CNSBRAIN, AGEGR", dtype = "HR", wt.col = wt, CIw = 0.95, digits = 2) results1 results2 <- anchored_maic( ipds_wts = pts, intervention.arm = TRT, agds_eff = AgD_eff, comparator = STUDY, comparator.study = "Study XX-1", agds.param.var = PARAM, agds.param = "ORR", agds.estimate = EST, agds.ci.lower = CIL, agds.ci.upper = CIU, response = RESP, stralist = "BPDL1, CNSBRAIN, AGEGR", dtype = "OR", wt.col = wt, CIw = 0.95, digits = 2) results2
Check Whether the Variables are Balanced After Weighting
ipds_wts |
A data frame containing individual patient data from the
intervention study, with a column containing the estimated weights (derived
using |
agds |
A data frame containing aggregate summary data from the comparator study. |
summary.list |
A character list with two elements giving the names of variables for summarizing: the first is a vector of binary variables, and the second is a vector of continuous variables. The variable names must match the column names in ipds and do not need to be the same as those in matching.list. Use c() if a type is absent. |
matching.list |
A character list with two elements giving the names of variables for matching: the first is a vector of binary variables, and the second is a vector of continuous variables. The variable names must match the column names in ipds and agds. Use c() if a type is absent. |
intervention.arm |
The name of the grouping column in the data frame
specified by ipds, e.g., |
comparator |
The name of the study column in the data frame specified
by agds, e.g., |
comparator.study |
A character specifying the comparator study, which
must be quoted and cannot be empty (e.g., |
comparator.arm |
The name of the grouping column in the data frame
specified by agds, e.g., |
comparator.n |
The name of the subjects number column in the data frame
specified by agds, e.g., |
wt.col |
The name of the estimated weights column in the data frame
specified by ipds_wts. The default is |
A data frame containing all specified variables summarised before and after weighting.
cov <- list( binary = c("ECOG", "SMK", "METBRAIN"), continuous = c("BMI", "DIAG") ) cov_all <- list( binary = c("SEX", "ECOG", "SMK", "METBRAIN", "METLIVER"), continuous = c("BMI", "DIAG", "WEIGHT", "HEIGHT") ) baseline <- check_matching( ipds_wts = pts, agds = AgD_bl, summary.list = cov_all, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.n = N, comparator.arm = TRT) baseline
cov <- list( binary = c("ECOG", "SMK", "METBRAIN"), continuous = c("BMI", "DIAG") ) cov_all <- list( binary = c("SEX", "ECOG", "SMK", "METBRAIN", "METLIVER"), continuous = c("BMI", "DIAG", "WEIGHT", "HEIGHT") ) baseline <- check_matching( ipds_wts = pts, agds = AgD_bl, summary.list = cov_all, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.n = N, comparator.arm = TRT) baseline
Convert a Longer Table Generated by check_matching() Into a Wider Table
baseline.longer |
A data frame containing the summarised results generated by check_matching(). |
intervention.arm |
The name of the grouping column in the data frame specified by ipds, e.g., intervention.arm = TRT. The default is TRT. |
digits |
Specify the number of decimal places for the output results. |
A data frame containing the summarized results in a wider format.
cov <- list( binary = c("ECOG", "SMK", "METBRAIN"), continuous = c("BMI", "DIAG") ) cov_all <- list( binary = c("SEX", "ECOG", "SMK", "METBRAIN", "METLIVER"), continuous = c("BMI", "DIAG", "WEIGHT", "HEIGHT") ) baseline <- check_matching( ipds_wts = pts, agds = AgD_bl, summary.list = cov_all, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.n = N, comparator.arm = TRT) baseline_summary <- check_matching2wider( baseline.longer = baseline, intervention.arm = TRT) baseline_summary
cov <- list( binary = c("ECOG", "SMK", "METBRAIN"), continuous = c("BMI", "DIAG") ) cov_all <- list( binary = c("SEX", "ECOG", "SMK", "METBRAIN", "METLIVER"), continuous = c("BMI", "DIAG", "WEIGHT", "HEIGHT") ) baseline <- check_matching( ipds_wts = pts, agds = AgD_bl, summary.list = cov_all, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.n = N, comparator.arm = TRT) baseline_summary <- check_matching2wider( baseline.longer = baseline, intervention.arm = TRT) baseline_summary
Estimate Effective Sample Size (ESS)
ipds_wts |
A data frame containing individual patient data from the
intervention study, with a column containing the estimated weights (derived
using |
agds |
A data frame containing aggregate summary data from the comparator study. |
intervention.arm |
The name of the grouping column in the data frame specified by ipds, e.g., intervention.arm = TRT. The default is TRT. |
comparator |
The name of the study column in the data frame specified by agds, e.g., comparator = STUDY. The default is STUDY. |
comparator.study |
A character specifying the comparator study, which must be quoted and cannot be empty (e.g., comparator.study = "Study XX-1"). This is the value of the study column in agds set by the comparator parameter. |
comparator.arm |
The name of the grouping column in the data frame specified by agds, e.g., comparator.arm = TRT. The default is TRT. |
comparator.n |
A The name of the subjects number column in the data frame specified by agds, e.g., comparator.n = N. The default is N. |
wt.col |
The name of the estimated weights column in the data frame specified by ipds_wts. The default is wt. |
digits |
Specify the number of decimal places for the output results. |
A data frame containing effective sample size (ESS) after weighting.
ess <- estimate_ess( ipds_wts = pts, agds = AgD_bl, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.arm = TRT, comparator.n = N) ess
ess <- estimate_ess( ipds_wts = pts, agds = AgD_bl, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.arm = TRT, comparator.n = N) ess
Functions for the Estimation of Propensity Weights
ipds |
A data frame containing individual patient data from the intervention study, with baseline characteristic variables for matching. |
agds |
A data frame containing aggregate summary data from the comparator study. |
matching.list |
A character list with two elements giving the names of variables for matching: the first is a vector of binary variables, and the second is a vector of continuous variables. The variable names must match the column names in ipds and agds. Use c() if a type is absent. |
intervention.arm |
The name of the grouping column in the data frame specified by ipds, e.g., intervention.arm = TRT. The default is TRT. |
comparator |
The name of the study column in the data frame specified by agds, e.g., comparator = STUDY. The default is STUDY. |
comparator.study |
A character specifying the comparator study, which must be quoted and cannot be empty (e.g., comparator.study = "Study XX-1"). This is the value of the study column in agds set by the comparator parameter. |
comparator.arm |
The name of the grouping column in the data frame specified by agds, e.g., comparator.arm = TRT. The default is TRT. |
opt.method |
The optim method to be used. The default is "BFGS". |
seed |
The seed for centralized variable missing value imputation (KNN method). |
... |
Refer to optim for additional parameters. |
A data frame containing individual patient data, calculated weights, and rescaled weights.
cov <- list( c("ECOG", "SMK", "METBRAIN"), c("BMI", "DIAG") ) pts <- estimate_weights( ipds = IPD, agds = AgD_bl, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.arm = TRT )
cov <- list( c("ECOG", "SMK", "METBRAIN"), c("BMI", "DIAG") ) pts <- estimate_weights( ipds = IPD, agds = AgD_bl, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.arm = TRT )
Histograms of Weights and Rescaled Weights Distributions
ipds_wts |
A data frame containing individual patient data from the
intervention study, with a column containing the estimated weights
(derived using |
intervention.arm |
The name of the grouping column in the data frame
specified by ipds, e.g., |
wt.col |
The name of the estimated weights column in the data frame
specified by ipds_wts. The default is |
rswt.col |
The name of the estimated rescaled weights column in the
data frame specified by ipds_wts. The default is |
bin |
The number of bins or bars of the histogram. |
xstepby |
An integer guiding the breaks on the X-axis. |
ystepby |
An integer guiding the breaks on the Y-axis. |
... |
Refer to geom_histogram for additional parameters. |
Histograms of weights and rescaled weights distributions.
hist_weights(pts, intervention.arm = TRT, xstepby = 2, ystepby = 50)
hist_weights(pts, intervention.arm = TRT, xstepby = 2, ystepby = 50)
An example data frame containing individual patient data from the intervention study, with baseline characteristic variables for matching.
data(IPD)
data(IPD)
A data frame with X rows and Y variables:
Subject Unique Identifier.
Grouping variable, e.g., "active" or "control".
Stratification factors for stratified analysis.
Stratification factors for stratified analysis.
Stratification factors for stratified analysis.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Subsets to be analyzed, e.g., "PFSINV", "OS".
Survival or follow up time.
The status indicator, 0 = event, 1 = censored.
Response status, 1 = responder, 0 = non-responder.
data(IPD) head(IPD)
data(IPD) head(IPD)
An example data frame containing pseudo patient data from the comparator study
data(pseudo)
data(pseudo)
A data frame with X rows and Y variables:
Subject Unique Identifier.
Subsets to be analyzed, e.g., "PFSINV", "OS".
Label of the comparator study, = "Comparator".
Survival or follow up time.
The status indicator, 0 = event, 1 = censored.
Weights, = 1.
data(pseudo) head(pseudo)
data(pseudo) head(pseudo)
An example data frame containing individual patient data and estimated weights.
data(pts)
data(pts)
A data frame with X rows and Y variables:
Subject Unique Identifier.
Grouping variable, e.g., "active" or "control".
Stratification factors for stratified analysis.
Stratification factors for stratified analysis.
Stratification factors for stratified analysis.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristic variables for matching or summarizing.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Baseline characteristics variables for matching.
Subsets to be analyzed, e.g., "PFSINV", "OS".
Survival or follow up time.
The status indicator, 0 = event, 1 = censored.
Response status, 1 = responder, 0 = non-responder.
Estimated propensity weights.
Estimated rescaled propensity weights.
data(pts) head(pts)
data(pts) head(pts)
Summarize the Distribution of Weight Values
ipds_wts |
A data frame containing individual patient data from the
intervention study, with a column containing the estimated weights (derived
using |
intervention.arm |
The name of the grouping column in the data frame specified by ipds, e.g., intervention.arm = TRT. The default is TRT. |
wt.col |
The name of the estimated weights column in the data frame specified by ipds_wts. The default is wt. |
rswt.col |
The name of the estimated rescaled weights column in the data frame specified by ipds_wts. The default is wt_rs. |
digits |
Specify the number of decimal places for the output results. |
A data frame containing a summary table of weights and rescaled weights.
summarize_weights(ipds_wts = pts, intervention.arm = TRT)
summarize_weights(ipds_wts = pts, intervention.arm = TRT)
Generate a Kaplan-Meier Plot with Individual Efficacy Data and Pseudo Efficacy Data.
unds_wts |
A combined data frame containing individual efficacy data from the intervention study and pseudo efficacy data from the comparator study. |
unds.arm |
The name of the grouping column in the combined data frame specified by unds_wts, e.g., comparator.arm = TRT. The default is TRT. |
unds.param.var |
The name of the column that specifies only a subset of the rows of the data to be used. |
unds.param |
A character specifying the subset of the rows to be used. This is the value of the column set by the unds.param.var. |
time |
The name of the survival or follow up time column in the combined data frame. |
status |
The status indicator, normally 0 = event, 1 = censored. Can be reseted using the event parameter. |
event |
A numeric value that represents the survival status, 0 = event, 1 = censored. |
wt.col |
The name of the estimated weights column in the data frame specified by unds_wts. The default is wt. |
km.xlim |
A numeric value specifying the right limit of the scale on the X-axis. |
xstepby |
An integer guiding the breaks on the X-axis. |
km.ylim |
A numeric value specifying the upper limit of the scale on the Y-axis. |
ystepby |
An integer guiding the breaks on the Y-axis. |
xlab |
A character giving label of the X-axis. The default is "Time (Months)". |
ylab |
A character giving label of the Y-axis. The default is "Survival probability". |
km.legend |
A character vector of length >=1 to appear in the legend. |
km.title |
A character used to set the main title at the top. |
... |
Refer to ggsurvplot for additional parameters.. |
A Kaplan-Meier plot object that contains individual efficacy data from the intervention study and pseudo efficacy data from the comparator study.
unanchored_kmplot( unds_wts = unpts, unds.arm = ARM, unds.param.var = PARAMCD, unds.param = "OS", time = AVAL, status = CNSR, event = 0, wt.col = wt, km.xlim = 35, xstepby = 3, km.legend = c("Arm A", "ARM B"), km.title = "AAAA")
unanchored_kmplot( unds_wts = unpts, unds.arm = ARM, unds.param.var = PARAMCD, unds.param = "OS", time = AVAL, status = CNSR, event = 0, wt.col = wt, km.xlim = 35, xstepby = 3, km.legend = c("Arm A", "ARM B"), km.title = "AAAA")
Conduct non-Anchored Matching-Adjusted Indirect Comparison (MAIC).
unds_wts |
A combined data frame containing individual efficacy data from the intervention study and pseudo efficacy data from the comparator study. |
unds.arm |
The name of the grouping column in the combined data frame specified by unds_wts, e.g., comparator.arm = TRT. The default is TRT. |
comparator.study |
A character specifying or presenting the comparator study, e.g., comparator.study = "Study XX-1". |
unds.param.var |
The name of the column that specifies only a subset of the rows of the data to be used. |
unds.param |
A character specifying the subset of the rows to be used. This is the value of the column set by the unds.param.var. |
time |
The name of the survival or follow up time column in the combined data frame. |
status |
The status indicator, normally 0 = event, 1 = censored. Can be reseted using the event parameter. |
event |
A numeric value that represents the survival status, 0 = event, 1 = censored. |
response |
The name of the response status column in the unds_wts. |
dtype |
Two options are available: "HR" and "OR". The default is "HR". |
wt.col |
The name of the estimated weights column in the data frame specified by unds_wts. The default is wt. |
CIw |
The numeric value specifying the width of the confidence interval, with a default of 0.95. |
digits |
Specify the number of decimal places for the output results. |
A data frame containing the non-anchored matching-adjusted indirect comparison results.
results3 <- unanchored_maic( unds_wts = unpts, unds.arm = ARM, comparator.study = "Study XX-1", unds.param.var = PARAMCD, unds.param = "OS", time = AVAL, status = CNSR, event = 0, dtype = "HR") results3 results4 <- unanchored_maic( unds_wts = unpts, unds.arm = ARM, #' unds.param = "ORR", #' comparator.study = "Study XX-1", response = CNSR, dtype = "OR") results4
results3 <- unanchored_maic( unds_wts = unpts, unds.arm = ARM, comparator.study = "Study XX-1", unds.param.var = PARAMCD, unds.param = "OS", time = AVAL, status = CNSR, event = 0, dtype = "HR") results3 results4 <- unanchored_maic( unds_wts = unpts, unds.arm = ARM, #' unds.param = "ORR", #' comparator.study = "Study XX-1", response = CNSR, dtype = "OR") results4
Two different methods for estimating a 95% confidence interval (CI) from the bootstrap samples were explored: * Percentile CIs * Bias-corrected and accelerated (BCa) CIs
ipds |
A data frame containing individual patient data from the intervention study, with baseline characteristic variables for matching. |
psds |
A data frame containing pseudo data from the comparator study. |
agds |
A data frame containing aggregate summary data from the comparator study. |
matching.list |
A character list with two elements giving the names of variables for matching: the first is a vector of binary variables, and the second is a vector of continuous variables. The variable names must match the column names in ipds and agds. Use c() if a type is absent. |
intervention.arm |
The name of the grouping column in the data frame specified by ipds, e.g., intervention.arm = TRT. The default is TRT. |
comparator |
The name of the study column in the data frame specified by agds, e.g., comparator = STUDY. The default is STUDY. |
comparator.study |
A character specifying the comparator study, which must be quoted and cannot be empty (e.g., comparator.study = "Study XX-1"). This is the value of the study column in agds set by the comparator parameter. |
comparator.arm |
The name of the grouping column in the data frame specified by agds, e.g., comparator.arm = TRT. The default is TRT. |
ipds.param.var |
The name of the column that specifies only a subset of the ipds to be used. |
ipds.param |
A character specifying the subset of the rows to be used. This is the value of the column set by the ipds.param.var. |
psds.param.var |
The name of the column that specifies only a specifyed result of the psds to be used. |
psds.param |
A character specifying the subset of the rows to be used. This is the value of the column set by the psds.param.var. |
time |
The name of the survival or follow up time column. |
status |
The status indicator, normally 0 = event, 1 = censored. Can be reseted using the event parameter. |
event |
A numeric value that represents the survival status, 0 = event, 1 = censored. |
response |
The name of the response status column. |
dtype |
Two options are available: "HR" and "OR". The default is "HR". |
n.samples |
The number of bootstrap replicates. |
CIw |
The numeric value specifying the width of the confidence interval, with a default of 0.95. |
digits |
Specify the number of decimal places for the output results. |
... |
Refer to boot for additional parameters. |
A list containing 2 objects. First, a data frame containing the non-anchored matching-adjusted indirect comparison results. Second, a bootstrapping diagnostics histogram.
cov <- list( c("ECOG", "SMK", "METBRAIN"), c("BMI", "DIAG") ) results5 <- unanchored_maic_bootstrap( ipds = IPD, agds = AgD_bl, psds = pseudo, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.arm = TRT, time = AVAL, status = CNSR, event = 0, dtype = "HR", ipds.param.var = PARAMCD, ipds.param = "OS", psds.param.var = NULL, psds.param = NULL, n.samples = 1000 ) results5$results results5$plot
cov <- list( c("ECOG", "SMK", "METBRAIN"), c("BMI", "DIAG") ) results5 <- unanchored_maic_bootstrap( ipds = IPD, agds = AgD_bl, psds = pseudo, matching.list = cov, intervention.arm = TRT, comparator = STUDY, comparator.study = "Study XX-1", comparator.arm = TRT, time = AVAL, status = CNSR, event = 0, dtype = "HR", ipds.param.var = PARAMCD, ipds.param = "OS", psds.param.var = NULL, psds.param = NULL, n.samples = 1000 ) results5$results results5$plot
A combined data frame containing individual efficacy data from the intervention study and pseudo efficacy data from the comparator study.
data(unpts)
data(unpts)
A data frame with X rows and Y variables:
Subject Unique Identifier.
Subsets to be analyzed, e.g., "PFSINV", "OS".
Label of the study, "Intervention" for the intervention study and "Cmparator" for the comparator study.
Survival or follow up time.
The status indicator, 0 = event, 1 = censored.
Weights to be used.
data(unpts) head(unpts)
data(unpts) head(unpts)