WeightedProportion.calculate_impact# WeightedProportion.calculate_impact(y_true, y_pred)# Calculate the causal impact of the intervention. Parameters: y_true (ndarray) – Observed outcomes. y_pred (ndarray) – Counterfactual predictions from the fitted model. Return type: ndarray