How kmsvishnu11/causal-inference-uplift-modeling-framework works
Causal Inference System is a Streamlit dashboard for estimating intervention effects and exploring causal methods. Users choose built-in examples or supply a CSV; the dashboard obtains data, invokes the relevant analysis engine, and presents estimates and diagnostics. Its major capabilities include propensity-based adjustment, panel and policy analysis, threshold-based RDD, and customer-level uplift modeling. The excerpts show selected dashboard calls and engine internals; other links are included only where the README explicitly documents the workflow.
Main entry points: app.py Streamlit dashboard · propensity.py Propensity methods · did.py Difference-in-Differences · uplift.py Uplift learners
Components 17
Dashboard
- Streamlit dashboard
app.py
Data
- Dataset generation
src/data_generator.py - Cached datasets
data
Cross-sectional
- Propensity methods
src/propensity.py - Naive comparison
src/propensity.py - Propensity estimation
src/propensity.py - Matching and balance
src/propensity.py - Effect and robustness
src/propensity.py
Panel and threshold
- Difference-in-Differences
src/did.py - Trends and event study
src/did.py - Synthetic control
src/did.py - Regression discontinuity
src/rdd.py - RDD diagnostics
src/rdd.py
Uplift targeting
- Uplift learners
src/uplift.py - Uplift evaluation
src/uplift.py - Targeting and budget
src/uplift.py
Other components
- Analyst
Connections 16
- Analyst → Streamlit dashboard: uses
app.py - Streamlit dashboard → Dataset generation: requests data
app.py - Dataset generation → Cached datasets: builds and caches
src/data_generator.py - Streamlit dashboard → Propensity methods: runs analyses
app.py - Streamlit dashboard → Difference-in-Differences: runs analyses
app.py - Streamlit dashboard → Regression discontinuity: runs analyses
app.py - Streamlit dashboard → Uplift learners: fits learners
app.py - Propensity methods → Naive comparison: compares
src/propensity.py - Propensity methods → Propensity estimation: estimates
src/propensity.py - Propensity methods → Matching and balance: matches and checks
README.md - Propensity methods → Effect and robustness: estimates and tests
README.md - Difference-in-Differences → Trends and event study: supports with
README.md - Difference-in-Differences → Synthetic control: also offers
README.md - Regression discontinuity → RDD diagnostics: checks robustness
app.py - Uplift learners → Uplift evaluation: evaluates scores
src/uplift.py - Uplift learners → Targeting and budget: informs targeting
src/uplift.py