Skip to main content
Ctrl+K

mcf 0.8.0 documentation

Site Navigation

  • Getting started
  • User Guide
  • Algorithm Reference
  • Python API
  • FAQ
    • Changelog
  • GitHub
  • PyPI

Site Navigation

  • Getting started
  • User Guide
  • Algorithm Reference
  • Python API
  • FAQ
    • Changelog
  • GitHub
  • PyPI
  • User Guide

User Guide#

This user guide provides a comprehensive walkthrough on how to use the main features of the mcf. It includes several example scripts to help users, regardless of their technical expertise, to navigate and use the mcf package effectively.

Modified Causal Forest#

  • 1. Estimation of treatment effects
  • 2. Data cleaning
  • 3. Sampling weights and clustering
  • 4. Common support
  • 5. Feature selection
  • 6. Post-estimation diagnostics
  • 7. Experimental features
  • 8. Computational Speed and Ressources for Effect Estimation

Optimal Policy#

  • 1. Learning an optimal policy

Example scripts#

We provide several example scripts in our example folder on GitHub. Below you also find the direct links to these scripts.

Modified Causal Forest

  • Minimal example

  • Minimal example that uses the same data for training and prediction

  • Full example with all parameters used

  • Example to show how the mcf with BGATE estimation can be implemented

  • Example to show how the qiates of mcf can be computed

  • Example to show how IV estimation can be implemented (soon to be documented)

Optimal Policy

  • Minimal example

  • Minimal example that jointly estimates a Modified Causal Forest and an Optimal Policy Tree

  • Full example with all parameters used

  • Example to show how to use the adjustments for policy score uncertainty

  • Example to show how fairness adjustments can be implemented

previous

Getting started

next

1. Estimation of treatment effects

On this page
  • Modified Causal Forest
  • Optimal Policy
  • Example scripts
Show Source

© Copyright 2024, Michael Lechner.

Created using Sphinx 5.0.2.

Built with the PyData Sphinx Theme 0.14.4.