Related Experiment Video
Updated: Jun 22, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Automating incidence and prevalence analysis in open cohorts
Neil Cockburn1, Ben Hammond2, Illin Gani2
1Institute of Applied Health Research, University of Birmingham, Birmingham, West Midlands, UK. n.cockburn@bham.ac.uk.
Motivation:
Data is increasingly used for improvement and research in public health, especially administrative data such as that collected in electronic health records. Patients enter and exit these typically open-cohort datasets non-uniformly; this can render simple questions about incidence and prevalence time-consuming and with unnecessary variation between analyses. We therefore developed methods to automate analysis of incidence and prevalence in open cohort datasets, to improve transparency, productivity and reproducibility of analyses.
Implementation:
We provide both a code-free set of rules for incidence and prevalence that can be applied to any open cohort, and a python Command Line Interface implementation of these rules requiring python 3.9 or later.
General Features:
The Command Line Interface is used to calculate incidence and point prevalence time series from open cohort data. The ruleset can be used in developing other implementations or can be rearranged to form other analytical questions such as period prevalence.
Availability:
The command line interface is freely available from https://github.com/THINKINGGroup/analogy_publication .
More Related Videos
07:31Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
10:46A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Related Concept Videos
Prevalence and Incidence
Prevalence indicates the proportion of individuals in a population who have a specific disease or health...
Statistical Methods for Analyzing Epidemiological Data
Steps in Outbreak Investigation
Study Designs in Epidemiology
Observational studies are those where the researcher does not intervene but rather observes natural variations. They include cross-sectional, cohort, and...
Bias in Epidemiological Studies
Introduction to Epidemiology