Methods for Analysing 'EQ-5D' Data and Calculating 'EQ-5D' Index Scores
Overview
EQ-5D is a widely used health-related quality-of-life instrument developed by the EuroQol Group and used in the clinical and economic evaluation of health care. Health is described using five dimensions (mobility, self-care, usual activities, pain/discomfort, and anxiety/depression) rated on either a three-level (EQ-5D-3L and EQ-5D-Y-3L) or five-level (EQ-5D-5L) scale. Responses can be reported as EQ-5D health states or converted to utility index scores using country-specific value sets. The package provides methods for the valuation, reporting and analysis of EQ-5D data. Utility index scores can be calculated for EQ-5D-3L, EQ-5D-5L and EQ-5D-Y-3L data using a wide range of value sets and mapping approaches. Functionality is also provided for descriptive-system reporting, severity and distributional summaries, informativity measures, health-state distribution analysis, longitudinal change analysis, probability of superiority analysis and Health Profile Grid visualisation. Methods described in Devlin et al. (2020) doi:10.1007/978-3-030-47622-9 are implemented where appropriate. A companion 'Shiny' application is included for interactive analysis and visualisation of EQ-5D datasets.
Data and analytical infrastructure
- Added
descriptive_data(), providing a canonical, tidy representation of the EQ‑5D descriptive system for reuse across plots and tables. - Added
table_descriptive(), a reporting helper for producing descriptive‑system tables of EQ‑5D response‑level distributions by dimension. - Added
table_ps(), a reporting helper for formatting Probability of Superiority (PS) output into a tabular representation.
Visualisation
- Added
plot_descriptive()to visualise the EQ‑5D descriptive system using side‑by‑side bar charts, with optional faceting for grouped data.
Show all changes in 0.17.0Hide the rest of the changes in 0.17.0
- Added
plot_hsdc()to visualise Health State Density Curves (HSDC) from pre-computed cumulative distributions. - Added
plot_severity_summary()to visualise EQ-5D index values across severity strata using the Level Frequency Score (LFS) or Level Sum Score (LSS). - Added
plot_hpg()to visualise paired EQ-5D health state transitions using the Health Profile Grid, supporting optional exclusion of full-health transitions and publication-ready styling.
Documentation and reporting guidance
- Added a set of reporting vignettes covering descriptive system reporting, severity and distributional summaries, and longitudinal change analysis.
- Added an overview vignette describing the reporting workflows and reporting tools available in
eq5d.
Internal refactoring and structural improvements
- Internal implementations of LFS and LSS revised to ensure type-stable outputs.
- Severity, informativity, and cumulative distribution components refactored to provide clearer, more consistent internal data structures.
shannon()now returns a tidy data.frame representation to simplify downstream use and improving consistency.- Cumulative frequency calculations (
eq5dcf()) revised to construct a cumulative distribution based on relative frequencies. Percentage-based summaries retained for presentation. - Informational measures such as the Health State Density Index (
hsdi()) now operate explicitly on proportional cumulative distributions with rounding confined to presentation contexts. - Tests updated to reflect the updated code changes.
- Shiny application logic updated to align with the revised code.
DSU mapping
- Updated DSU mapping lookup tables to include the UK EQ-5D value set (
UK_2026). The original DSU mapping value set is now explicitly available asEngland_2018, withcountry = "UK"retained as a backwards-compatible alias. Additional DSU mappings for other countries are also available. - Utility values in DSU lookup tables are now stored rounded to 3 decimal places and copula mapping values rounded to 8 decimal places, improving consistency with standard EQ-5D reporting, reducing floating-point matching issues, and decreasing package size.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 42 (1 internal)includes a package overview page
- Examples that run
- 90%26 run in a plain check · 3 never run
- Exported functions with examples
- 73%
- Documented parameters
- 100%
- Return-value docs
- 75%
- Help pages citing references
- 14%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/fragla/eq5d on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.17.0Latest2026-08-28 · current release · diff ↗ ·
added 9 exports
descriptive_data, make_hsdc_by_group, make_hsdi_by_group, plot_descriptive, plot_hpg, plot_hsdc, plot_severity_summary, table_descriptive, table_ps - RR 4.6.0 released · 2026-04-24
- 0.16.32026-03-30 · diff ↗
- 0.16.22026-02-27 · diff ↗
- 0.16.12025-09-10 · diff ↗
- 0.16.0
- RR 4.5.0 released · 2025-04-11
- 0.15.72025-02-28 · diff ↗
- 0.15.62025-01-16 · diff ↗
- 0.15.52024-11-20 · diff ↗
- 0.15.4
- 0.15.32024-04-29 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.15.22024-01-31 · diff ↗ ·
added 3 exports
get_all_health_states, get_dimensions_from_health_states, get_health_states_from_dimensions - 0.15.12023-11-20 · diff ↗
- 0.15.02023-07-17 · diff ↗
Show 23 earlier eventsHide 23 earlier events
- RR 4.3.0 released · 2023-04-21
- 0.14.0
- 0.13.02022-11-11 · diff ↗
- 0.12.0
- RR 4.2.0 released · 2022-04-22
- 0.11.0
- 0.10.12021-11-12 · diff ↗
- 0.10.0
- RR 4.1.0 released · 2021-05-18
- 0.9.0
- 0.8.12021-02-09 · diff ↗
- 0.8.02020-11-12 · diff ↗ ·
added 6 exports
eq5dcf, getDimensionsFromHealthStates, getHealthStatesFromDimensions, lfs, lss, pchc - 0.7.22020-07-21 · diff ↗
- 0.7.12020-06-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.7.0
- 0.6.02020-02-04 · diff ↗
- 0.5.02019-12-15 · diff ↗
- 0.4.02019-11-12 · diff ↗
- 0.3.02019-09-13 · diff ↗
- 0.2.02019-06-27 · diff ↗
- 0.1.02019-05-22
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-05-22
- Total releases
- 31 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 5.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("eq5d")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.