causallib icon indicating copy to clipboard operation
causallib copied to clipboard

A Python package for modular causal inference analysis and model evaluations

Results 8 causallib issues
Sort by recently updated
recently updated
newest added

weight_matrix = probabilities.rdiv(1.0) statement in [this file](https://github.com/IBM/causallib/blob/4aff723d96399e14d84ebd9e784b8d79c677dc0b/causallib/estimation/ipw.py#L64) can return inf weights if some entries in "probabilities" series are zero. Maybe there could be some way to ignore the corresponding inf...

I try to apply several examples of causallib ============================= %matplotlib inline from causallib.evaluation import evaluate import matplotlib.pyplot as plt evaluation_results = evaluate(ipw, X, a, y) ============================== Whenever I import evaluate...

Hello and thank you for your amazing work! I stumbled upon a tiny mistake in one of the examples in [causallib](https://github.com/IBM/causallib)/[examples](https://github.com/IBM/causallib/tree/master/examples)/causal_simulator.ipynb You'll find the following first code cell: ``` import...

Scikit-learn version 1.2.0 enforces two API changes that currently break tests. 1. `LinearRegression` no longer supports the `normalize` keyword argument, which some of the tests use. Fix should theoretically be...

Thank you for a wonderful package for ipw analysis. Using the causallib package, I analyzed survival outcomes for cancer patient data. But, there is no statistical method to show the...

Implemented possibility to choose Horvitz-Thompson or Hajek IPW estimator.

Hi, I believe there is a mistake in the calculation of outcomes in IPW. The code is using np.average to compute the expected outcome across treatment groups. This computation sums...