Interpret Qini Results for Both Binary and Multi-Arm Treatments
Source:R/margot_interpret_qini.R
margot_interpret_qini.Rd
This function interprets Qini results for both binary and multi-arm treatments.
It detects the treatment type based on the input data structure and calls the
appropriate sub-function. A new parameter, model_names
, restricts the
analysis to the specified models; if not supplied, all models are processed.
Usage
margot_interpret_qini(
multi_batch,
label_mapping = NULL,
alpha = 0.05,
decimal_places = 2,
model_names = NULL
)
Arguments
- multi_batch
List output from margot_batch_policy() with diff_gain_summaries.
- label_mapping
Optional named list mapping model names to readable labels.
- alpha
Significance level for confidence intervals. Default is 0.05.
- decimal_places
Number of decimal places for rounding. Default is 2.
- model_names
Optional character vector specifying models to process. Default is NULL (i.e. process all).