model: fitted model object returned by fit.subgroup() function
B: integer. number of bootstrap replications or refitting replications.
method: validation method. "boot_bias_correction" for the bootstrap bias correction method of Harrell, et al (1996) or "training_test_replication"
for repeated training and test splitting of the data (train.fraction should be specified for this option)
train.fraction: fraction (between 0 and 1) of samples to be used for training in training/test replication. Only used for method = "training_test_replication"
benefit.score.quantiles: a vector of quantiles (between 0 and 1) of the benefit score values for which to return bootstrapped information about the subgroups. ie if one of the quantile values is 0.5, the median value of the benefit scores will be used as a cutoff to determine subgroups and summary statistics will be returned about these subgroups
parallel: Should the loop over replications be parallelized? If FALSE, then no, if TRUE, then yes. If user sets parallel = TRUE and the fitted fit.subgroup() object uses the parallel version of an internal model, say for cv.glmnet(), then the internal parallelization will be overridden so as not to create a conflict of parallelism.
Returns
An object of class "subgroup_validated"
avg.results: Estimates of average conditional treatment effects when subgroups are determined based on the provided cutoff value for the benefit score. For example, if cutoff = 0 and there is a treatment and control only, then the treatment is recommended if the benefit score is greater than 0.
se.results: Standard errors of the estimates from avg.estimates
boot.results: Contains the individual results for each replication. avg.results is comprised of averages of the values from boot.results
avg.quantile.results: Estimates of average conditional treatment effects when subgroups are determined based on different quntile cutoff values for the benefit score. For example, if benefit.score.quantiles = 0.75 and there is a treatment and control only, then the treatment is recommended if the benefit score is greater than the 75th upper quantile of all benefit scores. If multiple quantile values are provided, e.g. benefit.score.quantiles = c(0.15, 0.5, 0.85), then results will be provided for all quantile levels.
se.quantile.results: Standard errors corresponding to avg.quantile.results
boot.results.quantiles: Contains the individual results for each replication. avg.quantile.results is comprised of averages of the values from boot.results.quantiles
family: Family of the outcome. For example, "gaussian" for continuous outcomes
method: Method used for subgroup identification model. Weighting or A-learning
n.trts: The number of treatment levels
comparison.trts: All treatment levels other than the reference level
reference.trt: The reference level for the treatment. This should usually be the control group/level
larger.outcome.better: If larger outcomes are preferred for this model
cutpoint: Benefit score cutoff value used for determining subgroups
val.method: Method used for validation
iterations: Number of replications used in the validation process
nobs: Number of observations in x provided to fit.subgroup
nvars: Number of variables in x provided to fit.subgroup
Details
Estimates of various quantities conditional on subgroups and treatment statuses are provided and displayed via the print.subgroup_validated function:
"Conditional expected outcomes"The first results shown when printing a subgroup_validated object are estimates of the expected outcomes conditional on the estimated subgroups (i.e. which subgroup is 'recommended' by the model) and conditional on treatment/intervention status. If there are two total treatment options, this results in a 2x2 table of expected conditional outcomes.
"Treatment effects conditional on subgroups"The second results shown when printing a subgroup_validated object are estimates of the expected outcomes conditional on the estimated subgroups. If the treatment takes levels j∈{1,…,K}, a total of K
conditional treatment effects will be shown. For example, of the outcome is continuous, the jth conditional treatment effect is defined as E(Y∣Trt=j,Subgroup=j)−E(Y∣Trt=j,Subgroup=/=j), where Subgroup=j if treatment j is recommended, i.e. treatment j results in the largest/best expected potential outcomes given the fitted model.
"Overall treatment effect conditional on subgroups "The third quantity displayed shows the overall improvement in outcomes resulting from all treatment recommendations. This is essentially an average over all of the conditional treatment effects weighted by the proportion of the population recommended each respective treatment level.
Chen, S., Tian, L., Cai, T. and Yu, M. (2017), A general statistical framework for subgroup identification and comparative treatment scoring. Biometrics. doi:10.1111/biom.12676
Harrell, F. E., Lee, K. L., and Mark, D. B. (1996). Tutorial in biostatistics multivariable prognostic models: issues in developing models, evaluating assumptions and adequacy, and measuring and reducing errors. Statistics in medicine, 15, 361-387. doi:10.1002/(SICI)1097-0258(19960229)15:4<361::AID-SIM168>3.0.CO;2-4
Huling. J.D. and Yu, M. (2021), Subgroup Identification Using the personalized Package. Journal of Statistical Software 98(5), 1-60. doi:10.18637/jss.v098.i05
See Also
fit.subgroup for function which fits subgroup identification models, plot.subgroup_validated for plotting of validation results, and print.subgroup_validated for arguments for printing options for validate.subgroup().