Welcome to the egfr40 Python Library Documentation!

Note

This documentation is for egfr40 version 0.0.1a3.

egfr40 is a Python library that estimates the 3-year probability of a ≥40% decline in estimated glomerular filtration rate (eGFR) or kidney failure, using the risk equation developed by Grams et al. (2022) for the CKD Prognosis Consortium (CKD-PC). The model applies to the general population, with or without chronic kidney disease (CKD). Every coefficient matches the odds ratios published in the paper, and the risks match the ckdpcrisk.org/gfrdecline40 calculator in the diabetes models.

The library scores single individuals or entire cohorts, explains each individual’s risk term by term, and includes helpers for CKD-EPI 2021 eGFR and for converting urine protein-to-creatinine ratio (uPCR) or dipstick protein to urine albumin-to-creatinine ratio (uACR).

For one individual at a time without writing code, there is also a web calculator built on the library.

Important

egfr40 is not affiliated with the CKD Prognosis Consortium. It is an independent implementation of a published equation, intended for research use. It is not a medical device and should not be used to make clinical decisions.

Prerequisites

  • Python: 3.8 or higher

  • numpy: 1.20 or higher

  • pandas: 1.3 or higher

Installation

pip install egfr40

Table of Contents