Skip to contents

Core Algorithm

Main forestsearch function and subgroup search engine.

forestsearch()
ForestSearch: Exploratory Subgroup Identification
print(<forestsearch>)
Print Method for forestsearch Objects
summary(<forestsearch>)
Summary Method for forestsearch Objects
subgroup.search()
Subgroup Search for Treatment Effect Heterogeneity (Improved, Parallelized)
get_FSdata()
ForestSearch Data Preparation and Feature Selection

Subgroup Evaluation & Selection

Functions for evaluating, sorting, and selecting candidate subgroups.

analyze_subgroup()
Analyze subgroup for summary table (OPTIMIZED)
assign_subgroup_membership()
Assign data to subgroups based on selected node
evaluate_subgroup_consistency()
Evaluate Subgroup Consistency (Single-Stage)
extract_subgroup()
Extract Subgroup Information
get_subgroup_membership()
Get subgroup membership vector
prepare_subgroup_data()
Prepare subgroup data for analysis
select_best_subgroup()
Select best subgroup based on criterion
sort_subgroups()
Sort Subgroups by Focus (post-consistency)
sort_subgroups_preview()
Sort Subgroups by Focus (pre-consistency)
remove_near_duplicate_subgroups()
Remove Near-Duplicate Subgroups
remove_redundant_subgroups()
Remove Redundant Subgroups

Consistency Evaluation

Split-sample consistency evaluation including the two-stage sequential method.

subgroup.consistency()
Evaluate Subgroup Consistency
evaluate_consistency_twostage()
Evaluate Consistency (Two-Stage Algorithm)
run_single_consistency_split()
Run Single Consistency Split
setup_parallel_SGcons()
Set up parallel processing for subgroup consistency
sg_consistency_out()
Output Subgroup Consistency Results
wilson_ci()
Wilson Score Confidence Interval
early_stop_decision()
Early Stopping Decision

Bootstrap Bias Correction

Bootstrap methods for bias-corrected hazard ratio estimation using infinitesimal jackknife variance estimation (Leon et al., 2024).

forestsearch_bootstrap_dofuture()
ForestSearch Bootstrap with doFuture Parallelization
bootstrap_results()
Bootstrap Results for ForestSearch with Bias Correction
bootstrap_ystar()
Bootstrap Ystar Count Matrix
count_boot_id()
Count ID Occurrences in Bootstrap Sample
generate_bootstrap_synthetic()
Generate Synthetic Data using Bootstrap with Perturbation
generate_bootstrap_with_noise()
Generate Bootstrap Sample with Added Noise
generate_gbsg_bootstrap_general()
Generate Synthetic GBSG Data using Generalized Bootstrap
get_dfRes()
Bootstrap Confidence Interval and Bias Correction Results

Bootstrap Summaries

Summarizing and formatting bootstrap results into publication-ready tables and diagnostics.

summarize_bootstrap_results()
Enhanced Bootstrap Results Summary
summarize_bootstrap_subgroups()
Summarize Bootstrap Subgroup Analysis Results
summarize_bootstrap_events()
Summarize Bootstrap Event Counts
summarize_factor_presence_robust()
Summarize Factor Presence Across Bootstrap Subgroups
format_bootstrap_table()
Format Bootstrap Results Table with gt
format_bootstrap_diagnostics_table()
Format Bootstrap Diagnostics Table with gt
format_bootstrap_timing_table()
Format Bootstrap Timing Table with gt
format_subgroup_summary_tables()
Format Subgroup Summary Tables with gt
create_factor_summary_tables()
Create Factor Summary Tables from Bootstrap Results

Cross-Validation

K-fold and repeated cross-validation for assessing subgroup identification stability and agreement metrics.

forestsearch_Kfold()
ForestSearch K-Fold Cross-Validation
forestsearch_tenfold()
ForestSearch Repeated K-Fold Cross-Validation
forestsearch_KfoldOut()
ForestSearch K-Fold Cross-Validation Output Summary
CV_sgs()
Cross-Validation Subgroup Match Summary
cv_summary_tables()
Create Summary Tables from forestsearch_KfoldOut Results
cv_metrics_tables()
Create Metrics Tables for Cross-Validation Results
cv_summary_text()
Create Compact CV Summary Text
cv_compare_results()
Compare Multiple CV Results
print(<fs_kfold>)
Print Method for K-Fold CV Results
print(<fs_tenfold>)
Print Method for Repeated K-Fold CV Results

GRF Integration

Generalized Random Forest methods for heterogeneous treatment effect estimation and variable importance screening.

grf.subg.harm.survival()
GRF Subgroup Identification for Survival Data
grf.subg.eval()
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.
fit_causal_forest()
Fit causal survival forest
fit_policy_trees()
Fit policy trees up to specified depth
create_grf_config()
Helper Functions for GRF Subgroup Analysis
validate_grf_data()
Validate input data for GRF analysis
print_grf_details()
Print detailed output for debugging
compute_node_metrics()
Compute node metrics for a policy tree
find_leaf_split()
Find the split that leads to a specific leaf node (deprecated)

Cox Model Utilities

Cox proportional hazards model wrappers with robust standard errors, spline fitting, and average hazard ratio calculations.

cox_summary()
Cox model summary for subgroup (OPTIMIZED)
cox_summary_batch()
Batch Cox summaries with caching
cox_summary_legacy()
Cox model summary for subgroup
cox_summary_vectorized()
Cox model summary for subgroup - vectorized version
cox_ahr_cde_analysis()
Comprehensive Wrapper for Cox Spline Analysis with AHR and CDE Plotting
print(<cox_ahr_cde>)
Print method for cox_ahr_cde objects
summary(<cox_ahr_cde>)
Summary method for cox_ahr_cde objects
cox_cs_fit()
Fit Cox Model with Cubic Spline for Treatment Effect Heterogeneity
build_cox_formula()
Build Cox Model Formula
fit_cox_models()
Fit Cox Models for Subgroups
get_Cox_sg()
Fit Cox Model for Subgroup
get_split_hr_fast()
Fast Cox Model HR Estimation
rmst_calculation()
RMST calculation for subgroup

GLM Extension

Effect estimation for binary and continuous outcomes (OR, RR, RD, IRR, IRD, MD) and propensity score adjustment for observational studies. Extends ForestSearch beyond survival endpoints.

make_effect_estimator()
Make an Effect-Estimator Closure
estimate_propensity_scores()
Estimate Propensity Scores

Subgroup Tables & Estimates

Formatted tables of subgroup estimates and labels.

sg_tables()
Enhanced Subgroup Summary Tables (gt output)
SG_tab_estimates()
Subgroup summary table estimates
SGplot_estimates()
Violin/Boxplot Visualization of HR Estimates
FS_labels()
Convert Factor Code to Label
create_summary_table()
Create Enhanced Summary Table for Baseline Characteristics
create_summary_table_compact()
Preset: Compact Table
create_summary_table_minimal()
Preset: Minimal Table (No Highlighting, No Alternating)
create_summary_table_presentation()
Preset: Presentation Table (Large Fonts)
create_summary_table_publication()
Preset: Publication-Ready Table
create_sample_size_table()
Create Sample Size Table for Multiple Scenarios

Visualization

Publication-ready plotting functions for forest plots, survival curves, and subgroup characteristics.

gg_forest()
ggplot2 / patchwork forest plot
plot_subgroup_results_forestplot()
Plot Subgroup Results Forest Plot
render_forestplot()
Render ForestSearch Forest Plot
save_forestplot()
Save ForestSearch Forest Plot to File
create_forest_theme()
Create Forest Plot Theme with Size Controls
print(<fs_forest_theme>)
Print Method for ForestSearch Forest Theme
print(<fs_forestplot>)
Print Method for ForestSearch Forest Plot
plot(<fs_forestplot>)
Plot Method for ForestSearch Forest Plot
create_subgroup_summary_df()
Create Subgroup Summary Data Frame for Forest Plot
plot_km_band_forestsearch()
Plot Kaplan-Meier Survival Difference Bands for ForestSearch Subgroups
quick_km_band_plot()
Quick Plot KM Bands from ForestSearch
plot_sg_results()
Plot ForestSearch Subgroup Results
plot_sg_distribution()
Plot Distribution of Identified Subgroups
plot_sg_weighted_km()
Plot Weighted Kaplan-Meier Curves for ForestSearch Subgroups
print(<fs_weighted_km>)
Print Method for fs_weighted_km Objects
plot_sg_glm_outcomes() print(<fs_binary_plot>) plot(<fs_binary_plot>)
Plot GLM Subgroup Outcomes
plot_subgroup()
Plot Subgroup Survival Curves
plot(<fs_sg_plot>)
Plot Method for fs_sg_plot Objects
print(<fs_sg_plot>)
Print Method for fs_sg_plot Objects
plot_subgroup_effects()
Plot Subgroup Analysis Results
plot(<forestsearch>)
Plot ForestSearch Results
plot_spline_treatment_effect()
Plot Spline Treatment Effect Function
plot_detection_curve()
Plot Detection Probability Curve
compare_detection_curves()
Compare Detection Curves Across Sample Sizes
sens_text()
Generate Cross-Validation Sensitivity Text
figure_note()
Generate Figure Note for Quarto/RMarkdown
km_summary()
KM median summary for subgroup

Data Preparation & Encoding

Cut point generation, dummy variable creation, and variable selection.

get_dfpred()
Generate Prediction Dataset with Subgroup Treatment Recommendation
fs_in_subgroup()
Membership of a forestsearch fit's declared subgroup
dummy_encode()
Dummy-code a data frame (numeric pass-through, factors expanded)
add_id_column()
Add ID Column to Data Frame
evaluate_comparison()
Evaluate a Comparison Expression Without eval(parse())
evaluate_cuts_once()
Cache and validate cut expressions efficiently
detect_variable_types()
Automatically Detect Variable Types in a Dataset
is_flag_continuous()
Check if cut expression is for a continuous variable (OPTIMIZED)
is_flag_drop()
Check if cut expression should be dropped
is.continuous()
Check if a variable is continuous
get_cut_name()
Get variable name from cut expression
cut_var()
Generate cut expressions for a variable
lasso_selection()
LASSO selection for survival and GLM outcomes
filter_by_lassokeep()
Filter a vector by LASSO-selected variables

Tree Cut Extraction

Extract and process cut points from tree-based models.

extract_all_tree_cuts()
Extract all cuts from fitted trees
extract_selected_tree_cuts()
Extract cuts from selected tree only
extract_tree_cuts()
Extract cut information from a policy tree
extract_idx_flagredundancy()
Extract redundancy flag for subgroup combinations

Data Generating Mechanisms

Functions for creating data generating mechanisms (DGMs) for simulation studies with configurable treatment effect heterogeneity.

generate_aft_dgm_flex()
Generate Synthetic Survival Data using AFT Model with Flexible Subgroups
setup_gbsg_dgm()
Set Up a GBSG-Based AFT Data Generating Mechanism
print(<gbsg_dgm>)
Print Method for gbsg_dgm Objects
compute_dgm_cde()
Compute and Attach CDE Values to a DGM Object
create_dgm_for_mrct()
Create Data Generating Mechanism for MRCT Simulations
simulate_from_dgm()
Simulate Survival Data from AFT Data Generating Mechanism
calibrate_cens_adjust()
Calibrate Censoring Adjustment to Match DGM Reference Distribution
check_censoring_dgm()
Diagnose Censoring Consistency Between DGM Source Data and Simulated Data
calibrate_k_inter()
Calibrate k_inter for Target Subgroup Hazard Ratio
find_k_inter_for_target_hr()
Find k_inter Value to Achieve Target Harm Subgroup Hazard Ratio
validate_k_inter_effect()
Validate k_inter Effect on HR Heterogeneity
sensitivity_analysis_k_inter()
Sensitivity Analysis of Hazard Ratios to k_inter

Simulation Studies

Running and summarizing simulation studies for operating characteristics.

run_simulation_analysis()
Run One Simulation Replicate
summarize_simulation_results()
Summarize Simulation Results
format_oc_results()
Format Operating Characteristics Results as GT Table
build_classification_table()
Build Classification Rate Table from Simulation Results
build_estimation_table()
Build Estimation Properties Table from Simulation Results
interpret_estimation_table()
Generate Narrative Interpretation of Estimation Properties
render_reference_table()
Render Reference Simulation Table as gt
compute_detection_probability()
Compute Probability of Detecting True Subgroup
generate_detection_curve()
Generate Detection Probability Curve
find_required_sample_size()
Find Minimum Sample Size for Target Detection Power
create_null_result()
Create result object when no subgroup is found
create_success_result()
Create result object for successful subgroup identification

Multi-Regional Clinical Trials

Specialized functions for multi-regional clinical trial (MRCT) subgroup analysis with regional consistency evaluation.

mrct_region_sims()
MRCT Regional Subgroup Simulation
summaryout_mrct()
Summary Tables for MRCT Simulation Results
validate_mrct_data()
Validate Dataset for MRCT Simulations

MRCT Consistency: Analytic Layer & Case Study

Population average hazard ratios and their design-based limits, hazard scaling of a DGM, and helpers to find and examine an MRCT case-study trial.

ahr_population() print(<ahr_population>)
The population of the analytic layer
ahr_limit()
The exact limit of the two-sample Cox estimate on a patient set
ahr_design()
Design quantities and trigger probabilities at a trial size
ahr_solve()
Solve P(trigger) = target in one free parameter
ahr_truths_table() ahr_design_table()
Tables of the MRCT analytic layer, over cells and sets
scale_dgm_hazard()
Multiply every hazard of a Weibull AFT DGM by a constant
mrct_core_summary()
Core operating characteristics of an MRCT simulation campaign
mrct_select_case()
Select a case-study trial from an MRCT simulation
mrct_case_study()
Redraw and examine one trial of an MRCT simulation
print(<mrct_case_study>)
Print an MRCT case study
plot(<mrct_case_study>)
Plot an MRCT case study
mrct_trial_analysis() print(<mrct_trial_analysis>) plot(<mrct_trial_analysis>)
Regional-consistency analysis of an observed multiregional trial
mrct_four_sets() print(<mrct_four_sets>) as.data.frame(<mrct_four_sets>) plot(<mrct_four_sets>)
The four patient sets of a regional-consistency analysis
mrct_record()
Read a shipped record of the MRCT consistency campaign
mrct_build_dgm()
Build an MRCT data-generating mechanism, keeping its warnings

Formatting & Estimation Helpers

Formatting utilities, confidence intervals, and estimation helpers.

format_CI()
Format Confidence Interval for Estimates
format_results()
Format results for subgroup summary
format_fs_details()
Format ForestSearch Details Output for Beamer Two-Column Display
hrCI_format()
Format Hazard Ratio and Confidence Interval
n_pcnt()
Calculate n and percent
ci_est()
Confidence Interval for Estimate
calc_cov()
Calculate Covariance for Bootstrap Estimates
get_targetEst()
Target Estimate and Standard Error for Bootstrap
calculate_counts()
Calculate counts for subgroup summary
calculate_potential_hr()
Calculate potential outcome hazard ratio
density_threshold_both()
Bivariate Density for Split-Sample HR Threshold Detection
find_quantile_for_proportion()
Find Quantile for Target Subgroup Proportion
qlow()
25th Percentile (Quantile Low)
qhigh()
75th Percentile (Quantile High)
get_best_survreg()
Get Best Model from Comparison
compare_multiple_survreg()
Compare Multiple Survival Regression Models
print(<multi_survreg_comparison>)
Print method for survreg_comparison objects

Internal Utilities

Lower-level helpers. Most users will not call these directly.

filter_call_args()
Filter and merge arguments for function calls
get_combinations_info()
Get all combinations of subgroup factors up to maxk
get_conf_force()
Get forced cut expressions for variables
get_covs_in()
Get indicator vector for selected subgroup factors
process_conf_force_expr()
Process forced cut expression for a variable

Additional functions (0.4.0)

Functions added in forestsearch 0.4.0, pending placement in the sections above.

analysis_covariates()
Covariate set handed to forestsearch()/mrct_region_sims() for the paper's observed vs unobserved analysis cases.
benchmark_spec()
Random-benchmark subgroup specification
calibrate_glm_interaction()
Calibrate GLM Interaction for a Target Subgroup Effect Size
calibrate_k_treat()
Calibrate k_treat for Target Overall Hazard Ratio
calibrate_L_eff()
Calibrate L_eff from Simulation Results
collect_results()
Collect Results from foreach with Error Handling
compare_fs_subgroups()
Compare Subgroup Membership Across Two Analyses
compare_selection_rules()
Compare forestsearch Runs Across Selection-Rule Combinations
compare_subgroup_sims()
Compare two extreme-subgroups simulation studies
compute_detection_probability_glm()
Compute Detection Probability for GLM Outcomes
compute_frontier_cis()
Compute Naive and Split-Derived 95% CIs for Pareto Frontier Members
confint(<dina>)
Wald confidence intervals for DINA coefficients.
consistency_resample()
Resampling approximation to the splitting consistency rate
consistency_resample_compare()
Validate the consistency approximation against literal splitting (Cox)
create_glm_row()
Compute GLM Effect Estimate for a Single Subgroup
d_eff_binary()
Effective Information for Binary Outcomes (Logistic)
d_eff_continuous()
Effective Information for Continuous Outcomes (Gaussian)
d_eff_count()
Effective Information for Count Outcomes (Poisson)
d_eff_survival()
Effective Information for Survival (Cox PH)
dina()
Estimate heterogeneous treatment effects via DINA (data-frame interface)
dina_bagged()
Bagged DINA with IJ variance (data-frame interface)
dina_fit()
Estimate heterogeneous treatment effects via DINA
dina_fit_bagged()
Bagged DINA with infinitesimal-jackknife variance
dina_frontier()
Extract DINA per-covariate Pareto frontiers as forestsearch cuts
dina_subgroup()
Identify a harm subgroup from a DINA fit via univariate threshold search
dina_subgroup_bootstrap()
Selection-adjusted bootstrap CI for dina_subgroup()
dina_subgroup_refit()
Standard within-subgroup treatment-effect model for a DINA subgroup
expand_covariates()
Expand a seed covariate frame to n_super rows via a Gaussian copula.
explain_pareto_selection()
Describe the Pareto-Frontier Selection in Words
extract_grf_args()
Recover the GRF arguments used inside a forestsearch run
extract_selected_subgroups()
Tidy summary of selected subgroups across a comparison run
forest_height()
Recommended figure height for a forest panel
fpr_approx()
Approximate Procedure-Level False Positive Rate
fpr_calibration()
Direct Simulation-Based FPR Calibration at a Specific Threshold Pair
fpr_calibration_transfer()
Transfer Corrected FPR Prediction to a Nearby Threshold Pair
frontier_member_flags()
Per-Subject Membership Matrix for Pareto Frontier Members
fs_assert_membership()
Assert the exported selected-subgroup membership matches forestsearch's own
fs_declaration_calibration() print(<fs_declaration_calibration>)
Calibrated declaration threshold and family-wise size of the p-star screen
fs_declaration_table()
Declaration at a protected level, as a table
fs_dgm_feasibility() print(<fs_dgm_feasibility>)
Design-time feasibility of a DGM's planted region
fs_dgm_scale()
Sampling Scale of the Difference-in-Means Estimator
fs_export_maxeff_family()
Materialize the maxeff candidate family as 0/1 membership columns
fs_family_report() print(<fs_family_report>)
Report which stages of the candidate family are data-dependent
fs_fdr_report()
Operating False-Discovery Rate of a Fitted ForestSearch Analysis
fs_focus_tag()
Stem tag for a (subgroup_method, sg_focus) pair
fs_identification_summary()
Identification structure across a sweep
fs_identification_table()
Identification-structure table
fs_mr_oc_summary()
Operating-Characteristics Summary of a Multiplier-Resampling Payload
fs_oc_family_enumerate()
Enumerate the candidate family on a DGM's population frame
fs_oc_grid()
Sweep the declaration thresholds on one draw set per trial size
fs_oc_invert()
Invert the family declaration rate for a target
fs_oc_predict()
Predicted operating characteristics of the search over a candidate family
fs_plot_bias_coverage()
Bias-vs-coverage display (three panels)
fs_rule_covariate_pairs()
Covariate signatures of the realized rules
fs_scale_se()
Estimator Standard Deviation at a Given Trial Size
fs_sim_bias_coverage()
Bias and coverage summary for one simulation cell
fs_sym_root()
Symmetric Square Root of a Covariance Matrix
fs_to_guohe()
Run Guo and He Algorithm 3 on a forestsearch maxeff fit
generate_glm_dgm()
Generate GLM-Based Data Generating Mechanism
get_conf_force_jq()
Get J-quantile cut expressions for variables
get_leff()
Get L_eff at a Given Sample Size
glm_cs_fit() print(<glm_cs_fit>)
Fit GLM with Spline Treatment-Biomarker Interaction
glm_effect_profile()
GLM Treatment-Effect Profile for Continuous Biomarker Interaction
grf.subg.harm.glm()
GRF Subgroup Identification for GLM Outcomes
guohe_adaptive_r()
Cross-validated choice of the shrinkage tuning parameter r
guohe_algorithm3()
De-biased inference for the best subgroup over a large enumerated family
inject_mrct_structure()
Build an aft_dgm_flex with synthetic regions and paper-style effect structure.
interpret_search_config()
Interpret and Diagnose Search Configuration
latest_rds()
Find the Most Recent .rds File Matching a Pattern
load_leff_calibration()
Load L_eff Calibration Results
make_region_model()
Build the logistic region model and draw Region on a population.
mr_estimates_table()
Multiplier-resampling (MR) estimates table (bootstrap-table format)
mr_values()
Multiplier-resampling (MR) inference quantities as a tidy data frame
mr_method_comparison() mr_cost_table()
Naive, bootstrap and multiplier estimates, side by side, and their cost
mrct_truth_by_region()
Truth by region on the super-population: prevalence, x_pred shift, causal AHR / CDE, and a large-sample Cox HR on UNCENSORED potential outcomes. Compare HR_cox_PO with the censored-trial HR from sim_region_metrics(): a gap between them isolates the prognostic-shift / follow-up-truncation mechanism (the Feb-2026 deck) from covariate shift (AHR itself differing by region).
pareto_frontier_table()
Format Pareto Frontier of Candidate Subgroups
plot_effect_distribution()
Three-Panel Effect-Distribution Violin from Simulation Results
plot_fs_identification_involvement()
Covariate involvement across the sweep
plot_fs_identification_structure()
Composition of the identified subgroup by structure
plot_fs_rule_pairs()
Selected-covariate-pair frequencies
plot_pareto_combined()
Combined Pareto-Frontier Plot Across Configurations Sharing a Passing Set
plot_pareto_frontier()
Plot the Pareto Frontier of Candidate Subgroups
plot_region_modifier()
True log-HR psi0(x) along x_pred with region histograms (paper Fig. 3 analogue)
plot(<subgroup_sims_summary>)
Forest plot of an extreme-subgroups summary
predict_fpr_corrected()
Predict Corrected Null FPR
predict(<dina>)
Predicted DINA values for new covariate data.
print(<dina_bagged>)
Print a bagged DINA fit.
print(<dina_subgroup>)
Print a dina_subgroup result.
print(<dina_subgroup_bootstrap>)
Print a dina_subgroup_bootstrap result.
print(<dina_subgroup_refit>)
Print a dina_subgroup_refit result.
print(<forestsearch_comparison>)
Print Method for forestsearch_comparison
print(<fpr_calibration>)
Print method for fpr_calibration objects
print(<fs_bootstrap>)
Print Method for ForestSearch Bootstrap Results
print(<fs_cv_summary>)
Print Method for fs_cv_summary Objects
print(<fs_dgm_scale>)
Print method for fs_dgm_scale objects
print(<fs_fdr_report>)
Print method for fs_fdr_report objects
print(<fs_mr_oc>)
Print method for fs_mr_oc objects
print(<glm_dgm>)
Print method for glm_dgm objects
print(<glm_effect_profile>)
Print method for glm_effect_profile objects
print(<guohe_a3>)
Print method for guohe_a3 objects
print(<guohe_ar>)
Print method for guohe_ar objects
print(<hte_test>)
Print method for hte_test objects
print(<leff_calibration>)
Print method for leff_calibration objects
reset_workers()
Reset a Parallel Worker Pool
run_null_calibration()
Run Null Calibration Simulation
run_subgroup_sims()
Run the extreme-subgroups simulation study
save_leff_calibration()
Save L_eff Calibration Results
sgdist_fig_height()
Adaptive Figure Height for a Subgroup-Distribution Plot
sim_region_metrics()
Region-consistency metrics on a simulated trial (ITT and optionally a subgroup)
simulate_from_glm_dgm()
Simulate Trial Data from a GLM Data Generating Mechanism
subgroup_cox()
Cox per-subgroup fit function
subgroup_glm()
GLM per-subgroup fit function
suggest_thresholds()
Suggest Screening and Consistency Thresholds
summarize_cv_results()
Summarise ForestSearch Cross-Validation Diagnostics
summary(<dina>)
Summary method for a DINA fit.
summary(<fpr_calibration>)
Summary method for fpr_calibration objects
summary(<subgroup_sims>)
Summarize an extreme-subgroups simulation study
test_constant_cate()
Test for Constant Conditional Average Treatment Effect
test_hte()
Run Both Crump et al. Tests
test_hte_from_forestsearch()
HTE Test Using ForestSearch-Selected Covariates
test_zero_cate()
Test for Zero Conditional Average Treatment Effect
validate_subgroups()
Validate subgroup definitions against a data frame