WeightedProportion.fit# WeightedProportion.fit(X, y)[source]# Fit model on data X with predictor y. Parameters: X (ndarray) – Donor matrix. y (ndarray) – Treated unit outcomes in the pre-treatment period. Return type: WeightedProportion