You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix RC IF normalization scaling: M1 uses n_all denominator, PS M2 uses sum not mean
- _outcome_regression_rc: M1 denominator changed from sum_w_D to n_all
(matching R colMeans convention); inf_cont_2 / sum_w_D then gives correct
single normalization by mean_w_D * n_all = sum_w_D
- _ipw_estimation_rc: PS M2 uses np.sum/n_all instead of np.mean (which
divided by n_ct/n_cs instead of n_all, under-scaling the correction)
- _doubly_robust_rc: PS M2 already correct (np.sum/n_all), no change
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments