Abstract
In this article, we present the cgmstats command, which analyzes continuous glucose monitoring (CGM) data. The use of wearable CGMs is growing rapidly. The latest generation of CGM systems does not require fingerstick calibration, is minimally invasive, and is frequently used in research studies. CGM sensors are typically worn for up to 2 weeks and record interstitial glucose measurements every minute to every 15 minutes, depending on the sensor used. CGM systems generate hundreds of measurements per day and thousands of measurements in one person over a single wear. There is a need for tools that allow researchers to efficiently organize and summarize the wealth of data on glucose patterns produced by CGM systems. The cgmstats command generates CGM summary measures for data from various CGM systems and allows the user to flexibly define ranges and generate data visualizations. In this article, we provide an overview of the cgmstats command and examples of its use. The cgmstats command supports rigorous and reproducible analyses of CGM data.
| Original language | English (US) |
|---|---|
| Pages (from-to) | 274-290 |
| Number of pages | 17 |
| Journal | Stata Journal |
| Volume | 26 |
| Issue number | 2 |
| DOIs | |
| State | Published - Jun 2026 |
Keywords
- cgmstats
- continuous glucose monitoring metrics
- glucose profile
- st0804
ASJC Scopus subject areas
- Software
- Statistics and Probability
- Mathematics (miscellaneous)
- Economics and Econometrics
- Statistics, Probability and Uncertainty
Fingerprint
Dive into the research topics of 'Summarizing data from continuous glucose monitors using the cgmstats command'. Together they form a unique fingerprint.Cite this
- APA
- Standard
- Harvard
- Vancouver
- Author
- BIBTEX
- RIS