make_cuped_binary_26
Binary CUPED benchmark with richer confounders and structured HTE. Includes a calibrated pre-period covariate 'y_pre' by default. Wrapper for generate_cuped_binary().
Parameters
- n (
int) – Number of samples to generate. - seed (
int) – Random seed. - add_pre (
bool) – Whether to add a pre-period covariate 'y_pre'. - pre_name (
str) – Name of the pre-period covariate column. - pre_target_corr (
float) – Target correlation between y_pre and post-outcome y in the control group. - pre_spec (
PreCorrSpec) – Detailed specification for pre-period calibration (transform, method, etc.). - include_oracle (
bool) – Whether to include oracle columns like 'cate', 'g0', and 'g1'. - return_causal_data (
bool) – Whether to return a CausalData object. - theta_logit (
float) – Baseline log-odds uplift scale for heterogeneous treatment effects.
Returns
DataFrame or CausalData–