Skip to content

UtrechtUniversity/nudging

Repository files navigation

Binder

Precision nudging with Machine Learning

About the Project

This software package is a companion to our upcoming paper for the Precision Nudging project. The scientific aim of this project is to test multiple Machine Learning algorithms to find the treatment effect for a nudge for people, given their personal circumstances. For this, we have created an involved simulation setup that can compare different methods, knowing the true treatment effect for each individual in the dataset (something that is not possible with real data).

Thus, we are interested in the heterogeneous treatment effect of nudges. Conventionally, heterogeneous treatment effects are found by dividing the study data into subgroups (e.g., men and women, or by age) and comparing the conditional average treatment effect (CATE) between subgroups. A challenge with this approach is that each subgroup may have substantially less data than the study as a whole, and there may not be enough data to accurately estimate the effects on subgroups. Recently and increasingly, however, machine learning is used to estimate heterogeneous treatment effects, even to the level of individuals, see e.g. Künzel et al. 2019. In this study, we apply different machine learning models to determine the heterogenity of treatment effects.

The project can be split in several steps:

Online Tutorial

We have a quick online tutorial.

Getting Started

Prerequisites

Install a version of Python>=3.7 for this project.

Installation (locally)

Open a command line terminal (not a python interpreter!).

Clone the repository with git clone https://github.com/UtrechtUniversity/nudging.git.

Go into the newly created directory cd nudging (Linux/MacOS).

Install the package with pip install .

Tutorial

The tutorial is available under examples/tutorial.ipynb.

Contributing

Contributions are what make the open source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

To contribute:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

UU Research Engineering team - research.engineering@uu.nl

About

Precision nudging with machine learning

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages