Skip to content

starsimhub/mighti

Repository files navigation

Model of Inter-Generational Health, Transmission, and Interventions (MIGHTI)

Warning! MIGHTI is still in the early stages of development. It is being shared solely for transparency and to facilitate collaborative development. It is not yet ready to be used for real research or policy analysis without careful validation.

MIGHTI is an agent-based modeling framework designed to simulate the dynamics of infectious diseases, non-communicable diseases (NCDs), and their interactions over time. MIGHTI builds on the Starsim architecture.

Documentation: See the MIGHTI Wiki for usage instructions and examples.

Requirements

  • Python 3.9–3.13

We recommend, but do not require, installing MIGHTI in a virtual environment such as Anaconda.

Installation

MIGHTI is not yet available on PyPI, but you can install it directly from GitHub:

git clone https://github.com/starsimhub/mighti.git
cd mighti
pip install -e .

Please also make sure to install its dependencies:

pip install starsim stisim

Running an Example

python mighti_main.py

This will run a sample simulation that includes demography, HIV, and NCD modules. Outputs will be saved in the outputs/ folder.

You can also run:
  • mighti_demography.py — mortality and life expectancy module
  • mighti_calibration.py — Optuna-based parameter calibration

Usage and Documentation

MIGHTI is based on Starsim, please refer to Starsim documentation for additional information.

References

MIGHTI uses data from:
  • Demography: UN WPP 2024
  • NCDs: Global Burden of Disease (GBD)
  • HIV: DHS, SHIMS

Contributing

Contributions to the MIGHTI project are welcome! Please read CONTRIBUTING.mst for details on our code of conduct, and the process for submitting pull requests.

Disclaimer

This code was developed by researchers at NYU, IDM, and collaborators. It is shared under the MIT License to foster reproducibility and future development. No guarantees are made regarding functionality or support. You are free to fork and modify the code under the terms of the license.

References

The MIGHTI framework incorporates data from the following public sources:

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages