Evaluates the performance of GRF-identified subgroups, including hazard ratios, bias, and predictive values. This function is typically used in simulation studies to assess the performance of the GRF subgroup identification method.
grf.subg.eval(
df,
grf.est,
dgm,
cox.formula.sim,
cox.formula.adj.sim,
analysis = "GRF",
frac.tau = 1
)A data frame with evaluation metrics.
Data frame containing the analysis data.
List. Output from grf.subg.harm.survival.
List. Data-generating mechanism (truth) for simulation.
Formula for unadjusted Cox model.
Formula for adjusted Cox model.
Character. Analysis label (default: "GRF").
Numeric. Fraction of tau for GRF horizon (default: 1.0).