| Type: | Package |
| Title: | Methods for Analysing 'EQ-5D' Data and Calculating 'EQ-5D' Index Scores |
| Version: | 0.17.0 |
| Description: | 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. |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| Depends: | R (≥ 3.5.0), lifecycle, rlang |
| Suggests: | testthat, shiny, DT, mime, readxl, ggplot2, ggiraph, ggiraphExtra, shinycssloaders, shinyWidgets, FSA, PMCMRplus, knitr, rmarkdown, covr |
| URL: | https://github.com/fragla/eq5d |
| BugReports: | https://github.com/fragla/eq5d/issues |
| RoxygenNote: | 7.3.3 |
| VignetteBuilder: | knitr |
| Language: | en-GB |
| NeedsCompilation: | no |
| Packaged: | 2026-08-28 17:01:01 UTC; fm78w |
| Author: | Fraser Morton [aut, cre], Jagtar Singh Nijjar [aut] |
| Maintainer: | Fraser Morton <fraser.morton@glasgow.ac.uk> |
| Repository: | CRAN |
| Date/Publication: | 2026-08-28 21:20:12 UTC |
eq5d: Methods for Analysing 'EQ-5D' Data and Calculating 'EQ-5D' Index Scores
Description
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.
Author(s)
Maintainer: Fraser Morton fraser.morton@glasgow.ac.uk
Authors:
Jagtar Singh Nijjar
See Also
Useful links:
EQ-5D-5L Crosswalk data
Description
Crosswalk index value calculation table to calculate EQ-5D-3L indices from EQ-5D-5L data for Denmark, France, Germany, Japan, Netherlands, Russia, Spain, Thailand, UK, USA and Zimbabwe.
Usage
CW
Format
An object of class data.frame with 3125 rows and 13 columns.
Source
van Hout B, Janssen MF, et al. Interim scoring for the EQ-5D-5L: Mapping the EQ-5D-5L to EQ-5D-3L value sets. Value in Health 2012 Jul-Aug;15(5):708-15. doi:10.1016/j.jval.2012.02.008. PMID: 22867780.
Bailey H, Roudijk B, Brathwaite R. The EQ-5D-3L valuation study for Bermuda: using an on-line EQ-VT protocol. Eur J Health Econ. 2024 Jul 9. doi:10.1007/s10198-024-01701-2. Epub ahead of print. PMID: 38982011.
Al Rabayah A, Roudijk B, Purba FD, Rencz F, Jaddoua S, Siebert U. Valuation of the EQ-5D-3L in Jordan. Eur J Health Econ. 2024 Sep 3. doi:10.1007/s10198-024-01712-z. Epub ahead of print. PMID: 39225720.
Omelyanovskiy V, Musina N, Ratushnyak S, Bezdenezhnykh T, Fediaeva V, Roudijk B, Purba FD. Valuation of the EQ-5D-3L in Russia. Qual Life Res. 2021 Mar 13. doi:10.1007/s11136-021-02804-6. Epub ahead of print. PMID: 33713323.
EQ-5D-5L Crosswalk Index Value Sets
DSU mapping from EQ-5D-3L to EQ-5D-5L
Description
Data for age and sex based mapping from EQ-5D-3L dimensions or utility index score to EQ-5D-5L for China, Germany, Japan, Netherlands, South Korea, Spain and UK.
Usage
DSU3L
Format
An object of class data.frame with 2430 rows and 60 columns.
Source
Hernández Alava M, Pudney S, Wailoo A. Estimating the Relationship Between EQ-5D-5L and EQ-5D-3L: Results from a UK Population Study. Pharmacoeconomics. 2023 Feb;41(2):199-207. doi:10.1007/s40273-022-01218-7. Epub 2022 Nov 30. PMID: 36449173.
Hernández-Alava M, Pudney S. Econometric modelling of multiple self-reports of health states: The switch from EQ-5D-3L to EQ-5D-5L in evaluating drug therapies for rheumatoid arthritis. J Health Econ. 2017 Sep;55:139-152. doi:10.1016/j.jhealeco.2017.06.013. Epub 2017 Jul 4. PMID: 28778350.
DSU mapping from EQ-5D-5L to EQ-5D-3L
Description
Data for age and sex based mapping from EQ-5D-5L dimensions or utility index score to EQ-5D-3L for China, Germany, Japan, Netherlands, South Korea, Spain and UK.
Usage
DSU5L
Format
An object of class data.frame with 31250 rows and 60 columns.
Source
Hernández Alava M, Pudney S, Wailoo A. Estimating the Relationship Between EQ-5D-5L and EQ-5D-3L: Results from a UK Population Study. Pharmacoeconomics. 2023 Feb;41(2):199-207. doi:10.1007/s40273-022-01218-7. Epub 2022 Nov 30. PMID: 36449173.
Hernández-Alava M, Pudney S. Econometric modelling of multiple self-reports of health states: The switch from EQ-5D-3L to EQ-5D-5L in evaluating drug therapies for rheumatoid arthritis. J Health Econ. 2017 Sep;55:139-152. doi:10.1016/j.jhealeco.2017.06.013. Epub 2017 Jul 4. PMID: 28778350.
EQ-5D-3L Reverse Crosswalk data (deprecated)
Description
Reverse Crosswalk index value table to calculate EQ-5D-5L indices from EQ-5D-3L data for England, Germany, Netherlands and USA. Table uses the values published on the EuroQol analysis tools webpage based on reverse engineering of van Hout et al (2012)
Usage
RCW
Format
An object of class data.frame with 243 rows and 4 columns.
Source
EQ-5D-3L Reverse Crosswalk data
Description
Reverse Crosswalk index value table to calculate EQ-5D-5L indices from EQ-5D-3L data using the van Hout et al (2021) method.
Usage
RCWVH
Format
An object of class matrix (inherits from array) with 243 rows and 50 columns.
Source
doi:10.1016/j.jval.2021.03.009
EQ-5D-3L TTO value set data
Description
Coefficients for the estimation of the EQ-5D-3L index values based on TTO valuation studies for Argentina, Australia, Brazil, Canada, Chile, China, Denmark, Ecuador, France, Germany, Hungary, Italy, Japan, Netherlands (2006), Netherlands (2026), Pakistan, Poland, Portugal, Russia, Singapore, SouthKorea, Spain, SriLanka, Sweden, Taiwan, Thailand, Trinidad and Tobago, Tunisia, UK, USA and Zimbabwe.
Usage
TTO
Format
An object of class data.frame with 63 rows and 33 columns.
Source
Szende, A., Oppe, M., & de Charro, F. (2007), Comparative review of Time Trade-Off value sets. In Szende, A., Oppe, M., & Devlin, N. (Ed.), EQ-5D Value Sets: Inventory, Comparative Review and User Guide (pp. 27-28). Dordrecht, The Netherlands: Springer.
Janssen, B., Szende, A., & Ramos-Goñi JM. (2014), Data and Methods. Szende, A., Janssen, B., & Cabasés, J. (Ed.), In Self-Reported Population Health: An International Perspective based on EQ-5D (p 13). Dordrecht, The Netherlands: Springer.
Argentina: Augustovski FA, Irazola VE, Velazquez AP, Gibbons L, Craig BM. Argentine valuation of the EQ-5D health states. Value Health. 2009 Jun;12(4):587-96. doi:10.1111/j.1524-4733.2008.00468.x. Epub 2008 Nov 12. PMID: 19900257.
Australia: Viney R, Norman R, King MT, Cronin P, Street DJ, Knox S, Ratcliffe J. Time trade-off derived EQ-5D weights for Australia. Value Health. 2011 Sep-Oct;14(6):928-36. doi:10.1016/j.jval.2011.04.009. PMID: 21914515.
Bermuda: Bailey H, Roudijk B, Brathwaite R. The EQ-5D-3L valuation study for Bermuda: using an on-line EQ-VT protocol. Eur J Health Econ. 2024 Jul 9. doi:10.1007/s10198-024-01701-2. Epub ahead of print. PMID: 38982011.
Brazil: Viegas Andrade M, Noronha K, Kind P, Maia AC, Miranda de Menezes R, De Barros Reis C, Nepomuceno Souza M, Martins D, Gomes L, Nichele D, Calazans J, Mascarenhas T, Carvalho L, Lins C. Societal Preferences for EQ-5D Health States from a Brazilian Population Survey. Value Health Reg Issues. 2013 Dec;2(3):405-412. doi: 10.1016/j.vhri.2013.01.009. Epub 2013 Mar 13. Erratum in: Value Health Reg Issues. 2016 Dec;11:85-87. doi:10.1016/j.vhri.2016.12.001. PMID: 29702778.
Canada: Bansback N, Tsuchiya A, Brazier J, Anis A. Canadian valuation of EQ-5D health states: preliminary value set and considerations for future valuation studies. PLoS One. 2012;7(2):e31115. doi:10.1371/journal.pone.0031115. Epub 2012 Feb 6. PMID: 22328929.
Chile: Zarate V, Kind P, Valenzuela P, Vignau A, Olivares-Tirado P, Munoz A. Social valuation of EQ-5D health states: the Chilean case. Value Health. 2011 Dec;14(8):1135-41. doi:10.1016/j.jval.2011.09.002. Epub 2011 Nov 6. PMID: 22152184.
China: Liu GG, Wu H, Li M, Gao C, Luo N. Chinese time trade-off values for EQ-5D health states. Value Health. 2014 Jul;17(5):597-604. doi:10.1016/j.jval.2014.05.007. Epub 2014 Jul 23. PMID: 25128053.
Denmark: Wittrup-Jensen KU, Lauridsen J, Gudex C, Pedersen KM. Generation of a Danish TTO value set for EQ-5D health states. Scand J Public Health. 2009 Jul;37(5):459-66. doi:10.1177/1403494809105287. Epub 2009 May 1. PMID: 19411320.
Ecuador: Lucio R, Flores V, Granja M, Mata G. Resultados de la encuesta de valoración social de los estados de salud de lAños de vida ajustados por calidad (QALY'S). 2019. Link
France: Chevalier J, de Pouvourville G. Valuing EQ-5D using time trade-off in France. Eur J Health Econ. 2013 Feb;14(1):57-66. doi:10.1007/s10198-011-0351-x. Epub 2011 Sep 21. PMID: 21935715.
Germany: Greiner W, Claes C, Busschbach JJ, von der Schulenburg JM. Validating the EQ-5D with time trade off for the German population. Eur J Health Econ. 2005 Jun;6(2):124-30. doi:10.1007/s10198-004-0264-z. PMID: 19787848.
Hungary: Rencz F, Brodszky V, Gulácsi L, Golicki D, Ruzsa G, Pickard AS, Law EH, Péntek M. Parallel Valuation of the EQ-5D-3L and EQ-5D-5L by Time Trade-Off in Hungary. Value Health. 2020 Sep;23(9):1235-1245. doi:10.1016/j.jval.2020.03.019. Epub 2020 Aug 12. PMID: 32940242.
Italy: Scalone L, Cortesi PA, Ciampichini R, Belisari A, D'Angiolella LS, Cesana G, Mantovani LG. Italian population-based values of EQ-5D health states. Value Health. 2013 Jul-Aug;16(5):814-22. doi:10.1016/j.jval.2013.04.008. Epub 2013 Jun 19. PMID: 23947975.
Japan: Tsuchiya A, Ikeda S, Ikegami N, Nishimura S, Sakai I, Fukuda T, Hamashima C, Hisashige A, Tamura M. Estimating an EQ-5D population value set: the case of Japan. Health Econ. 2002 Jun;11(4):341-53. doi:10.1002/hec.673. PMID: 12007165.
Jordan: Al Rabayah A, Roudijk B, Purba FD, Rencz F, Jaddoua S, Siebert U. Valuation of the EQ-5D-3L in Jordan. Eur J Health Econ. 2024 Sep 3. doi:10.1007/s10198-024-01712-z. Epub ahead of print. PMID: 39225720.
Netherlands (2006): Lamers LM, McDonnell J, Stalmeier PF, Krabbe PF, Busschbach JJ. The Dutch tariff: results and arguments for an effective design for national EQ-5D valuation studies. Health Econ. 2006 Oct;15(10):1121-32. doi:10.1002/hec.1124. PMID: 16786549.
Netherlands (2026): Roudijk B, Jonker MF. Revisiting health state preferences after 20 years: A new EQ-5D-3L value set for the Netherlands. Eur J Health Econ. 2026 Jan 12. doi:10.1007/s10198-025-01892-2. PMID: 41525009.
Pakistan: Malik M, Gu NY, Hussain A, Roudijk B, Purba FD. The EQ-5D-3L Valuation Study in Pakistan. Pharmacoecon Open. 2023 Sep 13. doi:10.1007/s41669-023-00437-8. Epub ahead of print. PMID: 37702988.
Poland: Golicki D, Jakubczyk M, Niewada M, Wrona W, Busschbach JJ. Valuation of EQ-5D health states in Poland: first TTO-based social value set in Central and Eastern Europe. Value Health. 2010 Mar-Apr;13(2):289-97. doi:10.1111/j.1524-4733.2009.00596.x. Epub 2009 Sep 10. PMID: 19744296.
Portugal: Ferreira LN, Ferreira PL, Pereira LN, Oppe M. The valuation of the EQ-5D in Portugal. Qual Life Res. 2014 Mar;23(2):413-23. doi:10.1007/s11136-013-0448-z. Epub 2013 Jun 8. PMID: 23748906.
Russia: Omelyanovskiy V, Musina N, Ratushnyak S, Bezdenezhnykh T, Fediaeva V, Roudijk B, Purba FD. Valuation of the EQ-5D-3L in Russia. Qual Life Res. 2021 Mar 13. doi:10.1007/s11136-021-02804-6. Epub ahead of print. PMID: 33713323.
Singapore: Luo N, Wang P, Thumboo J, Lim YW, Vrijhoef HJ. Valuation of EQ-5D-3L health states in Singapore: modeling of time trade-off values for 80 empirically observed health states. Pharmacoeconomics. 2014 May;32(5):495-507. doi:10.1007/s40273-014-0142-1. PMID: 24519603.
Spain: Badia X, Roset M, Herdman M, Kind P. A comparison of United Kingdom and Spanish general population time trade-off values for EQ-5D health states. Med Decis Making. 2001 Jan-Feb;21(1):7-16. doi:10.1177/0272989X0102100102. PMID: 11206949.
South Korea: Lee YK, Nam HS, Chuang LH, Kim KY, Yang HK, Kwon IS, Kind P, Kweon SS, Kim YT. South Korean time trade-off values for EQ-5D health states: modeling with observed values for 101 health states. Value Health. 2009 Nov-Dec;12(8):1187-93. doi:10.1111/j.1524-4733.2009.00579.x. Epub 2009 Jul 29. PMID: 19659703.
Sri Lanka: Kularatna S, Whitty JA, Johnson NW, Jayasinghe R, Scuffham PA. Valuing EQ-5D health states for Sri Lanka. Qual Life Res. 2015 Jul;24(7):1785-93. doi:10.1007/s11136-014-0906-2. Epub 2014 Dec 28. PubMed PMID: PMID: 25543271.
Sweden: Burström K, Sun S, Gerdtham UG, Henriksson M, Johannesson M, Levin LÅ, Zethraeus N. Swedish experience-based value sets for EQ-5D health states. Qual Life Res. 2014 Mar;23(2):431-42. doi:10.1007/s11136-013-0496-4. PMID: 23975375.
Taiwan: Lee HY, Hung MC, Hu FC, Chang YY, Hsieh CL, Wang JD. Estimating quality weights for EQ-5D (EuroQol-5 dimensions) health states with the time trade-off method in Taiwan. J Formos Med Assoc. 2013 Nov;112(11):699-706. doi:10.1016/j.jfma.2012.12.015. Epub 2013 Feb 12. PMID: 24183199.
Thailand: Tongsiri S, Cairns J. Estimating population-based values for EQ-5D health states in Thailand. Value Health. 2011 Dec;14(8):1142-5. doi:10.1016/j.jval.2011.06.005. PMID: 22152185.
Trinidad and Tobago: Bailey H, Stolk E, Kind P. Toward Explicit Prioritization for the Caribbean: An EQ-5D Value Set for Trinidad and Tobago. Value Health Reg Issues. 2016 Dec;11:60-67. doi:10.1016/j.vhri.2016.07.010. PMID: 27986200.
Tunisia: Chemli J, Drira C, Felfel H, Roudijk B, Al Sayah F, Kouki M, Kooli A, Razgallah Khrouf M. Valuing health-related quality of life using a hybrid approach: Tunisian value set for the EQ-5D-3L. Qual Life Res. 2021 Jan 14. doi:10.1007/s11136-020-02730-z. Epub ahead of print. PMID: 33447958.
UK: Dolan P. Modeling valuations for EuroQol health states. Med Care. 1997 Nov;35(11):1095-108. doi:10.1097/00005650-199711000-00002. PMID: 9366889.
USA: Shaw JW, Johnson JA, Coons SJ. US valuation of the EQ-5D health states: development and testing of the D1 valuation model. Med Care. 2005 Mar;43(3):203-20. doi:10.1097/00005650-200503000-00003. PMID: 15725977.
Zimbabwe: Jelsma J, Hansen K, De Weerdt W, De Cock P, Kind P. How do Zimbabweans value health states? Popul Health Metr. 2003 Dec 16;1(1):11. doi:10.1186/1478-7954-1-11. PMID: 14678566.
EQ-5D-3L VAS value set data
Description
Coefficients for the estimation of the EQ-5D-3L index values based on VAS valuation studies for Belgium, Denmark, Europe, Finland, Germany, Iran, Malaysia, New Zealand, Slovenia, Spain and UK.
Usage
VAS
Format
An object of class data.frame with 21 rows and 11 columns.
Source
Oppe, M., Szende, A., & de Charro, F. (2007), Comparative review of Visual Analogue Scale value sets. In Szende, A., Oppe, M., & Devlin, N. (Ed.), EQ-5D Value Sets: Inventory, Comparative Review and User Guide (pp. 37-38). Dordrecht, The Netherlands: Springer.
Belgium: Cleemput I. A social preference valuations set for EQ-5D health states in Flanders, Belgium. Eur J Health Econ. 2010 Apr;11(2):205-13. doi:10.1007/s10198-009-0167-0. Epub 2009 Jul 7. PMID: 19582490.
Denmark: Wittrup-Jensen KU, Lauridsen JT, Gudex C, Brooks R, Pedersen KM. Estimating Danish EQ-5D tariffs using TTO and VAS. In: Norinder A, Pedersen K, Roos P, editors. Proceedings of the 18th Plenary Meeting of the EuroQol Group. 2001. Copenhagen, Denmark. IHE, The Swedish Institute for Health Economics, 2002: 257-292.
Europe: Greiner W, Weijnen T, Nieuwenhuizen M, et al. A single European currency for EQ-5D health states. Results from a six country study. Eur J Health Econ 2003; 4(3):222-231.
Finland: Ohinmaa, A., & Sintonen, H. (1998, October). Inconsistencies and modelling of the Finnish EuroQol (EQ-5D) preference values. In EuroQol Plenary Meeting (pp. 1-2). Health Economics and Health System Research, University of Hannover.
Germany: Claes, C., Greiner, W., Uber, A., & Graf von der Schulenburg, J. M. (1999). An interview-based comparison of the TTO and VAS values given to EuroQol states of health by the general German population. In Proceedings of the 15th Plenary Meeting of the EuroQol Group. Hannover, Germany: Centre for Health Economics and Health Systems Research, University of Hannover (pp. 13-38).
Iran: Goudarzi R, Zeraati H, Akbari Sari A, Rashidian A, Mohammad K. Population-Based Preference Weights for the EQ-5D Health States Using the Visual Analogue Scale (VAS) in Iran. Iran Red Crescent Med J. 2016 Feb 13;18(2):e21584. doi:10.5812/ircmj.21584. PMID: 27186384.
Malaysia: Yusof FA, Goh A, Azmi S. Estimating an EQ-5D value set for Malaysia using time trade-off and visual analogue scale methods. Value Health. 2012 Jan-Feb;15(1 Suppl):S85-90. doi:10.1016/j.jval.2011.11.024. PMID: 22265073.
New Zealand: Devlin NJ, Hansen P, Kind P, Williams A. Logical inconsistencies in survey respondents' health state valuations – a methodological challenge for estimating social tariffs. Health Econ. 2003 Jul;12(7):529-44. doi:10.1002/hec.741. PMID: 12825206.
Slovenia: Prevolnik Rupel V, Rebolj M. The Slovenian VAS Tariff based on valuations of EQ-5D health states from the general population. In: Cabasés JM, Gaminde I, editors. Proceedings of the 17th Plenary Meeting of the EuroQol Group. Universidad Pública de Navarra 2001; 23-47.
Spain Badia X, Roset M, Monserrat S, Herdman M. The Spanish VAS tariff based on valuation of EQ-5D health states from the general population. In: Rabin RE et al, editors. EuroQol Plenary meeting Rotterdam 1997, 2-3 October. Discussion papers. Centre for Health Policy & Law, Erasmus University, Rotterdam, 1998; 93-114
UK MVH Group. The Measurement and Valuation of Health. Final report on the modeling of valuation tariffs. York Centre for Health Economics, 1995.
EQ-5D-5L VT value set data
Description
EQ-5D-5L VT value set calculation data for Australia, Belgium, Canada, China, Denmark, Egypt, England, Ethiopia, France, Germany, Ghana, HongKong, Hungary, India, Indonesia, Iran, Ireland, Italy, Japan, Malaysia, Mexico, Morocco, Netherlands, NewZealand, Norway, Peru, Philippines, Poland, Portugal, Romania, SaudiArabia, Slovenia, SouthKorea, Spain, Sweden, Taiwan, Thailand, Uganda, UAE, Uruguay, USA, Vietnam and Western Preference Pattern (WePP).
Usage
VT
Format
An object of class data.frame with 37 rows and 50 columns.
Source
Australia: Norman R, Mulhern B, Lancsar E, Lorgelly P, Ratcliffe J, Street D, Viney R. The Use of a Discrete Choice Experiment Including Both Duration and Dead for the Development of an EQ-5D-5L Value Set for Australia. Pharmacoeconomics. 2023 Jan 31. doi:10.1007/s40273-023-01243-0. Epub ahead of print. PMID: 36720793.
Belgium: Bouckaert N, Cleemput I, Devriese S, Gerkens S. An EQ-5D-5L Value Set for Belgium. Pharmacoecon Open. 2022 Aug 4. doi:10.1007/s41669-022-00353-3. Epub ahead of print. PMID: 35927410.
Canada: Xie F, Pullenayegum E, Gaebel K, Bansback N, Bryan S, Ohinmaa A, Poissant L, Johnson JA; Canadian EQ-5D-5L Valuation Study Group. A Time Trade-off-derived Value Set of the EQ-5D-5L for Canada. Med Care. 2016 Jan;54(1):98-105. doi:10.1097/MLR.0000000000000447. PMID: 26492214.
China: Luo N, Liu G, Li M, Guan H, Jin X, Rand-Hendriksen K. Estimating an EQ-5D-5L Value Set for China. Value Health. 2017 Apr;20(4):662-669. doi:10.1016/j.jval.2016.11.016. Epub 2017 Feb 9. PMID: 28408009.
Denmark: Jensen CE, Sørensen SS, Gudex C, Jensen MB, Pedersen KM, Ehlers LH. The Danish EQ-5D-5L Value Set: A Hybrid Model Using cTTO and DCE Data. Appl Health Econ Health Policy. 2021 Feb 2. doi:10.1007/s40258-021-00639-3. Epub ahead of print. PMID: 33527304.
Egypt: Al Shabasy S, Abbassi M, Finch A, Roudijk B, Baines D, Farid S. The EQ-5D-5L Valuation Study in Egypt. Pharmacoeconomics. 2021 Nov 17:1–15. doi:10.1007/s40273-021-01100-y. Epub ahead of print. PMID: 34786590.
England: Devlin NJ, Shah KK, Feng Y, Mulhern B, van Hout B. Valuing health-related quality of life: An EQ-5D-5L value set for England. Health Econ. 2018 Jan;27(1):7-22. doi:10.1002/hec.3564. Epub 2017 Aug 22. PMID: 28833869.
Ethiopia: Welie AG, Gebretekle GB, Stolk E, Mukuria C, Krahn MD, Enquoselassie F, Fenta TG. Valuing Health State: An EQ-5D-5L Value Set for Ethiopians. Value Health Reg Issues. 2019 Nov 1;22:7-14. doi:10.1016/j.vhri.2019.08.475. PMID: 31683254.
France: Andrade LF, Ludwig K, Goni JMR, Oppe M, de Pouvourville G. A French Value Set for the EQ-5D-5L. Pharmacoeconomics. 2020 Jan 8. doi:10.1007/s40273-019-00876-4. PMID: 31912325.
Germany: Ludwig K, Graf von der Schulenburg JM, Greiner W. German Value Set for the EQ-5D-5L. Pharmacoeconomics. 2018 Feb;36(6):663-674. doi:10.1007/s40273-018-0615-8. PMID: 29460066.
Ghana: Addo R, Mulhern B, Norman R, Owusu R, Viney R, Nonvignon J. An EQ-5D-5L Value Set for Ghana Using an Adapted EuroQol Valuation Technology Protocol. Value Health Reg Issues. 2024 Sep 4;45:101045. doi:10.1016/j.vhri.2024.101045. Epub ahead of print. PMID: 39236574.
HongKong: Wong ELY, Ramos-Goñi JM, Cheung AWL, Wong AYK, Rivero-Arias O. Assessing the Use of a Feedback Module to Model EQ-5D-5L Health States Values in Hong Kong. Patient. 2018 Apr;11(2):235-247. doi:10.1007/s40271-017-0278-0. PMID: 29019161.
Hungary: Rencz F, Brodszky V, Gulácsi L, Golicki D, Ruzsa G, Pickard AS, Law EH, Péntek M. Parallel Valuation of the EQ-5D-3L and EQ-5D-5L by Time Trade-Off in Hungary. Value Health. 2020 Sep;23(9):1235-1245. doi:10.1016/j.jval.2020.03.019. Epub 2020 Aug 12. PMID: 32940242.
India: Jyani G, Sharma A, Prinja S, Kar SS, Trivedi M, Patro BK, Goyal A, Purba FD, Finch AP, Rajsekar K, Raman S, Stolk E, Kaur M. Development of an EQ-5D Value Set for India Using an Extended Design (DEVINE) Study: The Indian 5-Level Version EQ-5D Value Set. Value Health. 2022 Jul;25(7):1218-1226. doi:10.1016/j.jval.2021.11.1370. Epub 2022 Jan 5. PMID: 35779943.
Indonesia: Purba FD, Hunfeld JAM, Iskandarsyah A, Fitriana TS, Sadarjoen SS, Ramos-Goñi JM, Passchier J, Busschbach JJ. The Indonesian EQ-5D-5L Value Set. PharmacoEconomics. 2017 Nov;35(11)1153-1165. doi:10.1007/s40273-017-0538-9. PMID: 28695543.
Iran: Afshari S, Daroudi R, Goudarzi R, Mahboub-Ahari A, Yaseri M, Sari AA, Ameri H, Bahariniya S, Oliaei-Manesh A, Kalavani K, Zare Z, Hasannezhad E, Mirzaei M, Amiri Z. A national survey of Iranian general population to estimate a value set for the EQ-5D-5L. Qual Life Res. 2023 Mar 10. doi:10.1007/s11136-023-03378-1. Epub ahead of print. PMID: 36897530.
Ireland: Hobbins A, Barry L, Kelleher D, Shah K, Devlin N, Ramos Goñi JM, O’Neill C. Utility Values for Health States in Ireland: A Value Set for the EQ-5D-5L. PharmacoEconomics. 2018 Nov;36(11):1345-1353. doi:10.1007/s40273-018-0690-x. PMID: 30051267.
Italy: Finch AP, Meregaglia M, Ciani O, Roudijk B, Jommi C. An EQ-5D-5L value set for Italy using videoconferencing interviews and feasibility of a new mode of administration. Soc Sci Med. 2022 Jan;292:114519. doi:10.1016/j.socscimed.2021.114519. Epub 2021 Oct 28. PMID: 34736804.
Japan: Shiroiwa T, Ikeda S, Noto S, Igarashi A, Fukuda T, Saito S, Shimozuma K. Comparison of Value Set Based on DCE and/or TTO Data: Scoring for EQ-5D-5L Health States in Japan. Value Health. 2016 Jul-Aug;19(5):648-54. doi:10.1016/j.jval.2016.03.1834. Epub 2016 Apr 26. PMID: 27565282.
Malaysia: Shafie AA; Vasan Thakumar A; Lim CJ;Luo N; Rand-Hendriksen K; Yusof FA. EQ-5D-5L Valuation for the Malaysian Population. PharmacoEconomics. 2019 May;37(5):715-725. doi:10.1007/s40273-018-0758-7. PMID: 30535779.
Mexico: Gutierrez-Delgado C, Galindo-Suárez RM, Cruz-Santiago C, Shah K, Papadimitropoulos M, Feng Y, Zamora B, Devlin N. EQ-5D-5L Health-State Values for the Mexican Population. Appl Health Econ Health Policy. 2021 Nov;19(6):905-914. doi:10.1007/s40258-021-00658-0. Epub 2021 Jun 26. PMID: 34173957.
Morocco: Azizi A, Boutib A, Achak D, Purba FD, Rencz F, Saad E, Hilali A, Ahid S, Nejjari C, Stolk EA, Roudijk B, Youlyouz-Marfak I, Marfak A.Valuing health-related quality of life: an EQ-5D-5L value set for Morocco. Qual Life Res. 2025 Feb 28. doi:10.1007/s11136-025-03930-1. Online ahead of print. PMID: 40019677.
Netherlands: Versteegh MM, Vermeulen KM, Evers SM, de Wit GA, Prenger R, Stolk EA. Dutch Tariff for the Five-Level Version of EQ-5D. Value in Health. 2016 Jun;19(4):343-52. doi:10.1016/j.jval.2016.01.003. PMID: 27325326.
New Zealand: Sullivan T, Hansen P, Ombler F, Derrett S, Devlin N. A new tool for creating personal and social EQ-5D-5L value sets, including valuing 'dead'. Soc Sci Med. 2020 Feb;246:112707. doi:10.1016/j.socscimed.2019.112707. Epub 2019 Nov 30. PMID: 31945596.
Nigeria: Yusuf AH, Ardo BU, Thavorncharoensap M, Roudijk B, Purba FD, Yang Z, Liao M, Chaikledkaew U, Youngkong S, Thakkinstian A, Agada-Amade YA, Amole TG, Sambo MN, Ohiri K. The EQ-5D-5L valuation study in Nigeria. Qual Life Res. 2026 Jun 15;35(8):206. doi:10.1007/s11136-026-04319-4. PMID: 42295458.
Norway: Garratt AM, Stavem K, Shaw JW, Rand K. EQ-5D-5L value set for Norway: a hybrid model using cTTO and DCE data. Qual Life Res. 2024 Nov 20. doi:10.1007/s11136-024-03837-3. Epub ahead of print. PMID: 39565555.
Peru Augustovski F, Belizán M, Gibbons L, Reyes N, Stolk E, Craig BM, Tejada RA. Peruvian Valuation of the EQ-5D-5L: A Direct Comparison of Time Trade-Off and Discrete Choice Experiments. Value Health. 2020;23(7):880-888. doi:10.1016/j.jval.2020.05.004. PMID: 32762989.
Philippines Miguel RTD, Rivera AS, Cheng KJG, Rand K, Purba FD, Luo N, Zarsuelo MA, Genuino-Marfori AJ, Florentino-Fariñas I, Guerrero AM, Lam HY. Estimating the EQ-5D-5L value set for the Philippines. Qual Life Res. 2022 May 9. doi:10.1007/s11136-022-03143-w. PMID: 35532835.
Poland Golicki D, Jakubczyk M, Niewada M, Wrona W, Busschbach JJ. Valuation of EQ-5D health states in Poland: first TTO-based social value set in Central and Eastern Europe. Value Health. 2010 Mar-Apr;13(2):289-97. doi:10.1111/j.1524-4733.2009.00596.x. PMID: 19744296.
Portugal Ferreira PL, Antunes P, Ferreira LN, Pereira LN, Ramos-Goñi JM. A hybrid modelling approach for eliciting health state preferences: the Portuguese EQ-5D-5L value set. Qual Life Res. 2019 Jun 14. doi:10.1007/s11136-019-02226-5. PMID: 31201730.
Romania Olariu E, Mohammed W, Oluboyede Y, Caplescu R, Niculescu-Aron IG, Paveliu MS, Vale L. EQ-5D-5L: a value set for Romania. Eur J Health Econ. 2022 Jun 10. doi:10.1007/s10198-022-01481-7. Epub ahead of print. PMID: 35688994.
Saudi Arabia Al-Jedai A, Almudaiheem H, Al-Salamah T, Aldosari M, Almutairi AR, Almogbel Y, AlRuthia Y, Althemery AU, Alluhidan M, Roudijk B, Purba FD, Awad N, O'jeil R. Valuation of EQ-5D-5L in the Kingdom of Saudi Arabia: A national representative study. Value Health. 2024 Feb 9:S1098-3015(24)00047-0. doi:10.1016/j.jval.2024.01.017. PMID: 38342365.
Singapore Luo N, Vasan Thakumar A, Cheng LJ, Yang Z, Rand K, Cheung YB, Thumboo J. Developing an EQ-5D-5L Value Set for Singapore. Pharmacoeconomics. 2025 Aug 29. doi:10.1007/s40273-025-01519-7. Epub ahead of print. PMID: 40880001.
Slovenia Prevolnik Rupel V, Ogorevc M. EQ-5D-5L Value Set for Slovenia. Pharmacoeconomics. 2023 Jun 21. doi:10.1007/s40273-023-01280-9. Epub ahead of print. PMID: 37341959.
South Korea Kim SH, Ahn J, Ock M, Shin S, Park J, Luo N, Jo MW. The EQ-5D-5L valuation study in Korea. Qual Life Res. 2016 Jul;25(7):1845-52. doi:10.1007/s11136-015-1205-2. PMID: 26961008.
Spain: Ramos-Goñi JM, Craig B, Oppe M, Ramallo-Fariña Y, Pinto-Prades JL, Luo N, Rivero-Arias O. Handling data quality issues to estimate the Spanish EQ-5D-5L Value Set using a hybrid interval regression approach. Value in Health 2018 May;21(5):596-604. doi:10.1016/j.jval.2017.10.023. PMID: 29753358.
Sweden (2020): Burström K, Teni FS, Gerdtham UG, Leidl R, Helgesson G, Rolfson O, Henriksson M. Experience-Based Swedish TTO and VAS Value Sets for EQ-5D-5L Health States. Pharmacoeconomics. 2020 Apr 20. doi:10.1007/s40273-020-00905-7. PMID: 32307663.
Sweden (2022): Sun S, Chuang LH, Sahlén KG, Lindholm L, Norström F. Estimating a social value set for EQ-5D-5L in Sweden. Health Qual Life Outcomes. 2022 Dec 23;20(1):167. doi:10.1186/s12955-022-02083-w. PMID: 36564844.
Taiwan: Lin HW, Li CI, Lin FJ, Chang JY, Gau CS, Luo N, Pickard AS, Ramos Goñi JM, Tang CH, Hsu CN. Valuation of the EQ-5D-5L in Taiwan. PLoS One. 2018; 13(12):: e0209344. doi:10.1371/journal.pone.0209344. PMID: 30586400.
Thailand Pattanaphesaj J, Thavorncharoensap M, Ramos-Goñi JM, Tongsiri S, Ingsrisawang L, Teerawattananon Y. The EQ-5D-5L Valuation study in Thailand. Expert Review of Pharmacoeconomics & Outcomes Research. 2018 Oct;18(5):551-558. doi:10.1080/14737167.2018.1494574. PMID: 29958008.
Trinidad_and_Tobago Bailey H, Jonker MF, Pullenayegum E, Rencz F, Roudijk B. The EQ-5D-5L valuation study for Trinidad and Tobago. Health Qual Life Outcomes. 2024 Jul 2;22(1):51. doi:10.1186/s12955-024-02266-7. PMID: 38956543.
UAE Al Sayah F, Roudijk B, El Sadig M, Al Mannaei A, Farghaly MN, Dallal S, Kaddoura R, Metni M, Elbarazi I, Kharroubi SA. A Value Set for the EQ-5D-5L for United Arab Emirates. Value Health. 2025 Jan 27:S1098-3015(25)00021-X. doi:10.1016/j.jval.2025.01.003. Epub ahead of print. PMID: 39880198.
Uganda Yang F, Katumba KR, Roudijk B, Yang Z, Revill P, Griffin S, Ochanda PN, Lamorde M, Greco G, Seeley J, Sculpher M. Developing the EQ-5D-5L Value Set for Uganda Using the 'Lite' Protocol. Pharmacoeconomics. 2021 Nov 29:1–13. doi:10.1007/s40273-021-01101-x. PMID: 34841471.
UK Rowen D, Mukuria C, Bray N, Carlton J, Longworth L, Meads D, Oluboyede Y, O'Neill C, Yang Y. A UK value set for the EQ-5D-5L. Value Health. 2026 Mar 24:S1098-3015(26)00110-5. doi:10.1016/j.jval.2026.03.008. Epub ahead of print. PMID: 41887403.
Uruguay: Augustovski F, Rey-Ares L, Irazola V, Garay OU, Gianneo O, Fernández G, Morales M, Gibbons L, Ramos-Goñi JM. An EQ-5D-5L value set based on Uruguayan population preferences. Qual Life Res. 2016 Feb;25(2):323-33. doi:10.1007/s11136-015-1086-4. PMID: 26242249.
USA: Pickard AS, Law EH, Jiang R, Pullenayegum E, Shaw JW, Xie F, Oppe M, Boye KS, Chapman RH, Gong CL, Balch A, Busschbach JJV. United States Valuation of EQ-5D-5L Health States Using an International Protocol. Value in Health. 2019 Aug;22(8):931-941. doi:10.1016/j.jval.2019.02.009. PMID: 31426935.
Vietnam: Mai VQ, Sun S, Minh HV, Luo N, Giang KB, Lindholm L, Sahlen KG. An EQ-5D-5L Value Set for Vietnam. Qual Life Res. 2020;29(7):1923-1933. doi:10.1007/s11136-020-02469-7. PMID: 32221805.
WePP: Olsen JA, Lamu AN, Cairns J. In search of a common currency: A comparison of seven EQ-5D-5L value sets. Health Econ. 2018 Jan;27(1):39-49. doi:10.1002/hec.3606. Epub 2017 Oct 24. PMID: 29063633.
EQ-5D-Y-3L value set data
Description
EQ-5D-Y-3L value set calculation data for Australia, Belgium, Brazil, China, Germany, Hungary, Indonesia, Japan, Netherlands, Slovenia and Spain.
Usage
Y3L
Format
An object of class data.frame with 14 rows and 13 columns.
Source
Australia: Pan T, Roudijk B, Devlin N, Mulhern B, Norman R. An Australian Value Set for the EQ-5D-Y-3L. Health Qual Life Outcomes. 2025 Jul 15;23(1):72. doi:10.1186/s12955-025-02402-x. PMID: 40660259.
Belgium: Dewilde S, Roudijk B, Tollenaar NH, Ramos-Goñi JM. An EQ-5D-Y-3L Value Set for Belgium. Pharmacoeconomics. 2022 Nov 1:1–12. doi:10.1007/s40273-022-01187-x. Epub ahead of print. PMID: 36316544.
Brazil: Espirito Santo CM, Miyamoto GC, Santos VS, Ben ÂJ, Finch AP, Roudijk B, de Jesus-Moraleida FR, Stein AT, Santos M, Yamato TP. Estimating an EQ-5D-Y-3L Value Set for Brazil. Pharmacoeconomics. 2024 Jul 2. doi:10.1007/s40273-024-01404-9. Epub ahead of print. PMID: 38954389.
China: Yang Z, Jiang J, Wang P, Jin X, Wu J, Fang Y, Feng D, Xi X, Li S, Jing M, Zheng B, Huang W, Luo N. Estimating an EQ-5D-Y-3L Value Set for China. Pharmacoeconomics. 2022 Nov 18. doi:10.1007/s40273-022-01216-9. Epub ahead of print. PMID: 36396878.
Germany: Kreimeier S, Mott D, Ludwig K, Greiner W; IMPACT HTA HRQoL Group. EQ-5D-Y Value Set for Germany. Pharmacoeconomics. 2022 May 23:1–13. doi:10.1007/s40273-022-01143-9. Epub ahead of print. PMID: 35604633.
HongKong: Wong EL, Wang K, Wong AY, Cheung AW, Wong CKH, Luo N, Rivero-Arias O, Yeoh EK. Value set of EQ-5D-Y-3L for Hong Kong. Health Qual Life Outcomes. 2026 Mar 23. doi:10.1186/s12955-026-02522-y. Epub ahead of print. PMID: 41872908.
Hungary: Rencz F, Ruzsa G, Bató A, Yang Z, Finch AP, Brodszky V. Value Set for the EQ-5D-Y-3L in Hungary. Pharmacoeconomics. 2022 Sep 20:1–11. doi:10.1007/s40273-022-01190-2. Epub ahead of print. PMID: 36123448.
Indonesia: Fitriana TS, Roudijk B, Purba FD, Busschbach JJV, Stolk E. Estimating an EQ-5D-Y-3L Value Set for Indonesia by Mapping the DCE onto TTO Values. Pharmacoeconomics. 2022 Nov 9. doi:10.1007/s40273-022-01210-1. Epub ahead of print. PMID: 36348155.
Japan: Shiroiwa T, Ikeda S, Noto S, Fukuda T, Stolk E. Valuation Survey of EQ-5D-Y Based on the International Common Protocol: Development of a Value Set in Japan. Med Decis Making. 2021 Mar 23:272989X211001859. doi:10.1177/0272989X211001859. Epub ahead of print. PMID: 33754886.
Netherlands:Roudijk B, Sajjad A, Essers B, Lipman S, Stalmeier P, Finch AP. A Value Set for the EQ-5D-Y-3L in the Netherlands. Pharmacoeconomics. 2022 Oct 10:1–11. doi:10.1007/s40273-022-01192-0. Epub ahead of print. PMID: 36216977.
Slovenia: Prevolnik Rupel V, Ogorevc M; IMPACT HTA HRQoL Group. EQ-5D-Y Value Set for Slovenia. Pharmacoeconomics. 2021 Feb 10. doi:10.1007/s40273-020-00994-4. Epub ahead of print. PMID: 33565048.
Spain: Ramos-Goñi JM, Oppe M, Estévez-Carrillo A, Rivero-Arias O; IMPACT HTA HRQoL Group. Accounting for Unobservable Preference Heterogeneity and Evaluating Alternative Anchoring Approaches to Estimate Country-Specific EQ-5D-Y Value Sets: A Case Study Using Spanish Preference Data. Value Health. 2022 May;25(5):835-843. doi:10.1016/j.jval.2021.10.013. Epub 2021 Dec 6. PMID: 35500952.
USA: Pickard AS, Nazari JL, Ramos-Goñi JM, Gu NY. Valuing child health: an EQ-5D-Y-3L value set for the United States. Value Health. 2025 Nov 26:S1098-3015(25)05689-X. doi:10.1016/j.jval.2025.11.003. Epub ahead of print. PMID: 41314415.
Generate descriptive system data for EQ-5D
Description
Creates a tidy data.frame representing the EQ-5D descriptive system, suitable for plotting and tabular presentation. The output contains explicit columns for dimension, level, metric (count or percent), and optional grouping variables.
Usage
descriptive_data(
data,
version,
metric = c("percent", "count"),
group = NULL,
dimensions = c("MO", "SC", "UA", "PD", "AD"),
ignore.invalid = TRUE
)
Arguments
data |
A data.frame containing EQ-5D responses. |
version |
EQ-5D version ("3L", "5L", or "Y3L"). |
metric |
Character string, one of |
group |
Optional character scalar giving the name of a grouping variable. |
dimensions |
Character vector of EQ-5D dimension names. |
ignore.invalid |
Logical; whether to ignore invalid responses. |
Details
This function is designed as a canonical internal representation and
may be used by plotting and table-generation functions. It does not
return Stata-style summary tables; for those see eq5dds.
Value
A tidy data.frame with columns:
-
DimensionEQ-5D dimension (MO, SC, UA, PD, AD) -
LevelResponse level (1, 2, ..., L) -
ValueCount or percentage -
MetricEither "count" or "percent" -
GroupGroup label (if grouping applied)
References
Ramos-Goñi JM, Ramallo-Fariña Y (2016). eq5dds: A command to analyze the descriptive system of the EQ-5D quality-of-life instrument. The Stata Journal, 16(3), 691–701. doi:10.1177/1536867X1601600309
See Also
Examples
## Load example EQ-5D-3L data included with the package
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## Descriptive system for the full sample
dd <- descriptive_data(
data = dat,
version = "3L"
)
dd
## Descriptive system stratified by group
dd_group <- descriptive_data(
data = dat,
version = "3L",
group = "Group"
)
dd_group
Calculate EQ-5D index scores
Description
Wrapper for eq5d3l, eq5d5l and eq5dy3l. Calculate EQ-5D index scores for
EQ-5D-3L, EQ-5D-5L and EQ-5D-Y-3L. Available value sets can be viewed using the function
valuesets.
Usage
eq5d(scores, version, type, country, ignore.invalid, ...)
Arguments
scores |
numeric or data.frame with names/colnames MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. Alternatively EQ-5D scores can be provided in five digit format e.g. 12321. If five digit scores are used in a data.frame the default column name look for by the function is "State". |
version |
string of value "3L", "5L" or "Y3L" to indicate instrument version. |
type |
string specifying method type used in deriving value set scores. Options are TTO or VAS for EQ-5D-3L, VT for EQ-5D-5L, CW for EQ-5D-5L crosswalk conversion valuesets, RCW for EQ-5D-3L reverse crosswalk conversion valuesets and DSU for the NICE Decision Support Unit's EEPRU age-sex based EQ-5D-3L to EQ-5D-5L and EQ-5D-5L to EQ-5D-3L mappings. Not required for EQ-5D-Y-3L. |
country |
string of value set country name used. |
ignore.invalid |
logical to indicate whether to ignore dimension data with invalid, incomplete or missing data. |
... |
character vectors for column names when using a data.frame. Use
"dimensions" (default c("MO", "SC", "UA", "PD" and "AD")), "five.digit"
(default "State") or "utility", "age", "sex" and "bwidth" (defaults
"Utility", "Age", "Sex" and "bwidth") for NICE DSU mapping. bwidth can also
be a number which is applied to the whole dataset. When a single
NICE DSU score is being calculated "age", "sex" and "bwidth" are also
used. See |
Value
a numeric vector of utility index scores.
Examples
#EQ-5D-5L single utility score by dimension
eq5d(scores=c(MO=1,SC=2,UA=3,PD=4,AD=5), type="VT",
country="Indonesia", version="5L")
#EQ-5D-3L single utility score by dimension
eq5d(scores=c(MO=3,SC=2,UA=3,PD=2,AD=3),
type="TTO", version="3L", country="Germany")
#Mapping an EQ-5D-5L utility score to EQ-5D-3L using NICE DSU method
eq5d(0.922, country="UK", version="5L", type="DSU",
age=18, sex="male")
#Calculation of multiple EQ-5D-5L utility scores from a data.frame of dimensions
scores.df <- data.frame(
MO=c(1,2,3,4,5), SC=c(1,5,4,3,2),
UA=c(1,5,2,3,1), PD=c(1,3,4,3,4), AD=c(1,2,NA,2,1)
)
eq5d(scores.df, country="Canada", version="5L", type="VT", ignore.invalid=TRUE)
#Calculation of a utility score using five digit state
eq5d(scores=12321, type="TTO", version="3L", country="UK")
scores.df2 <- data.frame(
state=c(11111,12121,23232,33333)
)
#Calculation of utility scores using a data.frame with five digit states
eq5d(scores=scores.df2, type="TTO", version="3L", country="UK", five.digit="state")
#Calculation of utility scores from a vector of five digit states
eq5d(scores=scores.df2$state, type="TTO", version="3L", country="UK")
#Mapping multiple utility scores from EQ-5D-5L to EQ-5D-3L using NICE DSU method
scores.df3 <- data.frame(
Utility=c(0.715,0.435,0.95),
Age=c(50,30,70),
Sex=c("m","f","m"),
bwidth=c(0.2,0.2,0.1)
)
#using bwidth column values (one per observation)
eq5d(scores.df3, type="DSU", version="5L", country="UK")
#using single bwidth value for whole dataset
eq5d(scores.df3, type="DSU", version="5L", country="UK", bwidth=0.1)
Calculate EQ-5D-3L index scores
Description
Calculate indices for EQ-5D-3L value sets. Available value sets can be viewed
using the function valuesets.
Usage
eq5d3l(scores, type = "TTO", country = "UK", digits = 3)
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
type |
3L values set type. Either TTO or VAS. |
country |
value set country. |
digits |
number of decimal places to return. |
Value
calculated utility index score.
Examples
eq5d3l(scores=c(MO=1,SC=2,UA=3,PD=1,AD=3), type="VAS", country="UK")
eq5d3l(scores=c(MO=3,SC=2,UA=3,PD=2,AD=3), type="TTO", country="Germany")
Calculate EQ-5D-5L index scores
Description
Calculate indices for EQ-5D-5L value sets. Available value sets can be viewed
using the function valuesets.
Usage
eq5d5l(scores, country = "England", digits = 3)
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
country |
value set country. |
digits |
number of decimal places to return. |
Value
calculated utility index score.
Examples
eq5d5l(scores=c(MO=1,SC=2,UA=3,PD=4,AD=5), country="England")
eq5d5l(scores=c(MO=3,SC=2,UA=5,PD=2,AD=3), country="Netherlands")
eq5d plotting theme
Description
Default ggplot2 theme matching the academic style used in Methods for Analysing and Reporting EQ-5D Data (Devlin et al., 2020).
Usage
eq5d_theme(base_size = 11, base_family = "")
Arguments
base_size |
Base font size, in points. |
base_family |
Base font family. |
Value
A ggplot2 theme.
Calculate the cumulative frequency distribution of EQ-5D health states
Description
Computes the frequency, proportion, and cumulative distribution of EQ-5D health states in a dataset. The function accepts EQ-5D data supplied either as dimension-level columns (MO, SC, UA, PD, AD) or as a single column of five-digit EQ-5D health states.
Usage
eq5dcf(scores, version, ignore.invalid = TRUE, digits = 1, ...)
Arguments
scores |
EQ-5D health states supplied as:
|
version |
Character string identifying the EQ-5D version:
one of |
ignore.invalid |
Logical. If |
digits |
Integer specifying the number of decimal places used when rounding percentages. Defaults to 1. |
... |
Additional arguments reserved for future use. |
Details
The output is a tidy data.frame containing frequencies and cumulative proportions, suitable for computing informativity indices (e.g. HSDI) or for plotting Health State Density Curves (HSDC).
Value
A data.frame with one row per observed health state and columns:
-
State: EQ-5D health state (five-digit code), -
Frequency: number of observations of the state, -
Proportion: relative frequency of the state, -
CumulativeProp: cumulative proportion of states, -
CumulativeState: cumulative share of distinct states, -
Percentage: percentage frequency, -
CumulativePerc: cumulative percentage.
Examples
dat <- read.csv(system.file("extdata", "eq5d3l_example.csv", package="eq5d"))
eq5dcf(dat, "3L")
Calculate EQ-5D-5L crosswalk index scores
Description
Calculate indices for EQ-5D-5L indices by mapping them onto EQ-5D-3L value sets.
Available value sets can be viewed using the function valuesets.
Usage
eq5dcw(scores, country = "UK")
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
country |
value set country. |
Value
calculated utility index score.
Examples
eq5dcw(scores=c(MO=1,SC=2,UA=5,PD=1,AD=3), country="UK")
eq5dcw(scores=c(MO=3,SC=5,UA=5,PD=2,AD=3), country="Germany")
Analyse the descriptive system of an EQ-5D dataset
Description
Analyses the descriptive components of an EQ-5D dataset producing summary information either as counts or as percentages.
Usage
eq5dds(
data,
version,
counts = FALSE,
by = NULL,
ignore.invalid = TRUE,
digits = 1,
...
)
Arguments
data |
numeric or data.frame with names/colnames MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. Alternatively an EQ-5D score can be provided in five digit format e.g. 12321. |
version |
string of value "3L" or "5L" to indicate instrument version. |
counts |
logical show absolute counts in the summary table. Default is FALSE, which shows percentages for each EQ-5D dimension. |
by |
character specifying the column in the data.frame by which to group the results. |
ignore.invalid |
boolean whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
digits |
Integer specifying the number of decimal places used
when reporting percentages. Set to |
... |
character vector, specifying "dimensions" column names. Defaults are "MO", "SC", "UA", "PD" and "AD". |
Value
a data.frame or list of data.frames of counts/percentages. Columns contain dimensions names and rows the EQ-5D score.
Examples
dat <- data.frame(
matrix(
sample(1:3,5*12, replace=TRUE),12,5,
dimnames=list(1:12,c("MO","SC","UA","PD","AD"))
),
Sex=rep(c("Male", "Female"))
)
eq5dds(dat, version="3L")
eq5dds(dat, version="3L", counts=TRUE)
eq5dds(dat, version="3L", by="Sex")
Calculate utility index scores by mapping between EQ-5D-3L and EQ-5D-5L
Description
Conditional prediction of the utility values of 5L scores onto 3L value sets and 3L scores onto 5L value sets from observed or specified values conditional on age and gender using the NICE Decision Support Unit's EEPRU funded models (see NICE DSU's website for more information).
Usage
eq5dmap(scores, country, version, age, sex, bwidth = 0, digits = 3)
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. or a utility index score |
country |
value set country. The original DSU mapping used the England
EQ-5D-5L value set, available as |
version |
string of value "3L" or "5L" to indicate starting instrument version. |
age |
age in years (18-100), or age category (1: 18-34, 2: 35-44, 3: 45-54, 4: 55-64, 5: 65-100) |
sex |
Male or Female |
bwidth |
bandwidth score for approximate scores (< 0.8: 0.2, 0.8-0.951: 0.1, 0.951-1: small, but large enough to include 1) |
digits |
number of decimal places to return |
Details
Available value sets can be viewed using the function valuesets.
Mapping may be performed from either EQ-5D dimension scores or an existing
utility index score. When a utility score is supplied, exact lookup is used
when bwidth = 0 (default); otherwise an Epanechnikov kernel smoother is applied.
Utility values in the package lookup tables are stored rounded to 3 decimal
places, consistent with standard reporting of EQ-5D index scores. Exact
lookup is therefore generally intended for utility values reported to 3
decimal places.
Value
calculated utility index score.
Examples
eq5dmap(c(MO=1,SC=2,UA=3,PD=4,AD=5), "UK_2026", "5L", 30, "female")
eq5dmap(0.848, "UK_2026", "3L", 70, "male")
eq5dmap(0.715, "England_2018", "5L", 50, "male", bwidth = 0.0001)
eq5dmap(0.715, "England_2018", "5L", 50, "male", bwidth = 0.0001, digits = 8)
Calculate EQ-5D-3L reverse crosswalk index scores
Description
Calculate indices for EQ-5D-3L indices by mapping them onto EQ-5D-5L value sets.
Available value sets can be viewed using the function valuesets.
Usage
eq5drcw(scores, country = "UK", method = "VH", digits = 3)
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
country |
value set country. |
method |
crosswalk values to use. Either "VH" (Van Hout, 2021) or "EQ" (EuroQol 2019 values). The van Hout method is recommended. |
digits |
number of decimal places to return. |
Value
calculated utility index score.
Examples
eq5drcw(scores=c(MO=1,SC=2,UA=3,PD=2,AD=1), country="Netherlands")
eq5drcw(scores=c(MO=3,SC=3,UA=3,PD=3,AD=3), country="Germany")
Calculate EQ-5D-Y index scores
Description
'r lifecycle::badge("deprecated")
'eq5dy' was renamed to 'eq5dy3l' to be consistent with the new EuroQol naming convention.
Usage
eq5dy(scores, country = NULL)
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
country |
value set country. |
Value
calculated utility index score.
Calculate EQ-5D-Y-3L index scores
Description
Calculate indices for EQ-5D-Y-3L value sets. Available value sets can be viewed
using the function valuesets.
Usage
eq5dy3l(scores, country = NULL, digits = 3)
Arguments
scores |
numeric with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
country |
value set country. |
digits |
number of decimal places to return. |
Value
calculated utility index score.
Examples
eq5dy3l(scores=c(MO=3,SC=3,UA=3,PD=3,AD=3), country="Slovenia")
Get all five digit health state scores
Description
Get all five digit health state scores for either EQ-5D-3L, EQ-5D-5L or EQ-5D-Y3L
Usage
get_all_health_states(version)
Arguments
version |
the EQ-5D version. Either 3L or 5L. |
Value
A character vector of five digit health states.
Examples
get_all_health_states("3L")
get_all_health_states("5L")
get_all_health_states("Y3L")
Get individual dimension scores from their five digit health states
Description
Get a data.frame of individual dimension scores from their five digit health states.
Usage
get_dimensions_from_health_states(
scores,
version = "5L",
ignore.invalid = TRUE
)
Arguments
scores |
a vector of five digit scores |
version |
3L, 5L or Y. Used for validating scores when ignore.invalid is FALSE. |
ignore.invalid |
whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
Value
A data.frame of individual dimension scores.
Examples
get_dimensions_from_health_states(c("12345", "54321"), version="5L")
Get five digit health states from dimension scores
Description
Merge MO, SC, UA, PD and AD dimension scores to get five digit health states.
Usage
get_health_states_from_dimensions(
scores,
version = "5L",
ignore.invalid = TRUE,
dimensions = .get_dimension_names()
)
Arguments
scores |
a data.fram containing each dimension in a column |
version |
3L, 5L or Y. Used for validating scores when ignore.invalid is FALSE. |
ignore.invalid |
whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
dimensions |
character vector specifying "dimensions" column names. Defaults are "MO", "SC", "UA", "PD" and "AD". |
Value
A character vector of individual dimension scores.
Examples
scores <- data.frame(MO=c(1,1,1,1,1),SC=c(1,2,1,2,1),
UA=c(1,2,3,2,1),PD=c(3,2,1,2,3),AD=c(3,3,3,3,3))
get_health_states_from_dimensions(scores, version="5L")
Health Profile Grid (HPG) for EQ-5D
Description
Computes the Health Profile Grid (HPG) for two sets of EQ-5D health states. The HPG displays pre- and post-intervention utility ranks and the associated PCHC category for each subject.
Two input interfaces are supported:
1. Wide-form input (default method)
hpg(pre, post)
where pre and post are EQ-5D health states represented either as:
5-digit EQ-5D profiles (character or numeric), or
data.frames with dimension columns
MO,SC,UA,PD,AD
2. Long-form input (formula method)
hpg(formula, data)
where the formula has left-hand side forms:
a single 5-digit EQ-5D profile column
dimension columns, e.g.
MO + SC + UA + PD + AD-
cbind(MO,SC,UA,PD,AD)
and right-hand side of the form time | id, where:
-
timeis the visit variable -
idis the subject identifier
For formula methods the time variable must contain exactly two observable
levels unless the user specifies pre.level and post.level.
When not supplied, the ordering of pre- and post-measurements is determined
automatically as follows:
factor time variables use the factor level order
character or numeric time variables use the order of appearance
Usage
hpg(
pre,
post = NULL,
country = NULL,
version = NULL,
type = NULL,
ignore.invalid = TRUE,
dimensions = NULL,
pre.level = NULL,
post.level = NULL,
no.problems = TRUE,
data = NULL
)
## Default S3 method:
hpg(
pre,
post,
country = NULL,
version = NULL,
type = NULL,
ignore.invalid = TRUE,
dimensions = NULL,
pre.level = NULL,
post.level = NULL,
no.problems = TRUE,
data = NULL
)
## S3 method for class 'formula'
hpg(
formula,
post = NULL,
country = NULL,
version = NULL,
type = NULL,
ignore.invalid = TRUE,
dimensions = NULL,
pre.level = NULL,
post.level = NULL,
no.problems = TRUE,
data = NULL
)
Arguments
pre |
For the wide-form interface, pre-intervention EQ-5D values
(5-digit profiles or dimension data.frame).
For the formula interface, a formula describing EQ-5D variables on the
left-hand side and a time variable (and optionally an ID variable)
on the right-hand side, e.g. |
post |
For the wide-form interface, post-intervention EQ-5D values. Ignored for the formula interface. |
country |
Country name passed to |
version |
EQ-5D version: |
type |
EQ-5D valuation method supplied to |
ignore.invalid |
Logical; if TRUE, invalid EQ-5D values are replaced with NA. If FALSE, invalid values trigger an error. |
dimensions |
Optional named character vector mapping canonical dimension
names ( |
pre.level |
Optional value of the time variable representing the pre-intervention visit. |
post.level |
Optional value of the time variable representing the post-intervention visit. |
no.problems |
Logical; passed to |
data |
Long-form dataset used with the formula interface. Ignored for the wide-form interface. |
formula |
A formula describing EQ‑5D variables on the left‑hand side
and a time variable (and optionally an ID variable) on the right‑hand side,
separated by |
Value
A data.frame with columns:
-
Pre - severity rank of the pre-intervention utility score
-
Post - severity rank of the post-intervention utility score
-
PCHC - individual-level PCHC category
Examples
## Not run:
## Load example EQ-5D-3L data included with the package
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## Wide-form usage (illustrative row-wise pairing)
pre <- dat[dat$Group == "Group1", ][1:50, ]
post <- dat[dat$Group == "Group2", ][1:50, ]
res <- hpg(pre, post,
country = "UK",
version = "3L",
type = "TTO")
head(res)
## Long-form usage via formula interface
## (requires data in long format with subject identifiers)
## Using a 5-digit EQ-5D profile column
hpg(profile ~ visit | id, data = df,
country = "UK", version = "3L", type = "TTO")
## Using EQ-5D dimension columns
hpg(MO + SC + UA + PD + AD ~ visit | id, data = df,
country = "UK", version = "3L", type = "TTO")
## Explicit time ordering
hpg(profile ~ time | id, data = df, version = "3L",
pre.level = "baseline",
post.level = "followup")
## End(Not run)
Calculate the Health State Density Index
Description
Calculate the Health State Density Index (HSDI) for an EQ-5D dataset.
Usage
hsdi(scores, version = NULL, ignore.invalid = TRUE, digits = 2, ...)
Arguments
scores |
scores data.frame, numeric or character. For data.frame default column names should be MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. Vector using five digit format can also be used. |
version |
string of value "3L" or "5L" to indicate instrument version. |
ignore.invalid |
booloean whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
digits |
numeric specifying the number of decimal places for percentages. Defaults to 1, use NULL to skip rounding. |
... |
character vector, specifying "dimensions" column names. Defaults are "MO", "SC", "UA", "PD" and "AD". |
Value
numeric containing the HSDI value.
Examples
## Load example EQ-5D-3L data included with the package
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## Health State Density Index (HSDI)
hsdi(dat, version = "3L")
Calculate the Level Frequency Score for an EQ-5D profile
Description
Calculate the Levels Frequency Score for one or more EQ-5D profiles
Usage
lfs(scores, version, ignore.invalid, ...)
Arguments
scores |
EQ-5D health states supplied as:
|
version |
string of value "3L", "5L" or "Y3L" to indicate instrument version. |
ignore.invalid |
whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
... |
Optional arguments.
|
Value
a character vector of Level Frequency Scores.
Examples
lfs(c(MO=1,SC=2,UA=3,PD=2,AD=1), version="3L")
lfs(55555, version="5L")
lfs(c(11111, 12345, 55555), version="5L")
lfs(data.frame(state = c("11111", "12345")), version = "5L")
Calculate the Level Sum Score for an EQ-5D profile
Description
Calculate the Levels Sum Score for one or more EQ-5D profiles
Usage
lss(scores, version, ignore.invalid, ...)
Arguments
scores |
EQ-5D health states supplied as:
|
version |
string of value "3L", "5L" or "Y3L" to indicate instrument version. |
ignore.invalid |
whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
... |
Optional arguments.
are "MO", "SC", "UA", "PD" and "AD". |
Value
an integer vector of Level Sum Scores.
Examples
lss(c(MO=1,SC=2,UA=3,PD=2,AD=1), version="3L")
lss(55555, version="5L")
lss(c(11111, 12345, 55555), version="5L")
Generate Health State Density Curve (HSDC) data by group
Description
Computes health-state cumulative frequency distributions separately for each level of a grouping variable and returns a combined data frame suitable for Health State Density Curve (HSDC) plotting.
This function is a lightweight orchestration helper: it performs explicit
data splitting and applies eq5dcf to each subgroup, but does
not alter the definition or interpretation of the underlying distributional
summaries.
Usage
make_hsdc_by_group(data, group, version)
Arguments
data |
A data.frame containing EQ-5D descriptive-system data. |
group |
Character scalar specifying the name of the grouping variable
in |
version |
EQ-5D instrument version. One of |
Value
A data.frame containing cumulative frequency distributions for each group.
The returned data are suitable for direct use with
plot_hsdc.
See Also
eq5dcf, hsdi, plot_hsdc,
make_hsdi_by_group
Examples
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## Grouped HSDC data by treatment group
hsdc_by_group <- make_hsdc_by_group(
dat,
group = "Group",
version = "3L"
)
plot_hsdc(hsdc_by_group)
Compute Health State Density Index (HSDI) by group
Description
Computes the Health State Density Index (HSDI) separately for each level of a grouping variable. This function is a lightweight orchestration helper that performs explicit data splitting prior to computation and does not alter the definition or interpretation of HSDI.
Usage
make_hsdi_by_group(data, group, version)
Arguments
data |
A data.frame containing EQ-5D descriptive-system data. |
group |
Character scalar giving the name of the grouping variable
in |
version |
EQ-5D instrument version. One of |
Value
A named numeric vector of HSDI values, with one entry per group.
See Also
eq5dcf, hsdi, make_hsdc_by_group
Examples
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## HSDI by group
hsdi_by_group <- make_hsdi_by_group(
dat,
group = "Group",
version = "3L"
)
Paretian Classification of Health Change (PCHC)
Description
Computes the Paretian Classification of Health Change (PCHC) for EQ‑5D data. PCHC classifies change between two EQ‑5D health states into:
-
Improve
-
Worsen
-
No change
-
Mixed change
-
No problems (optional)
The method applied depends on the class of the first argument:
-
pchc.default()for wide‑form data with explicit pre/post states -
pchc.formula()for long‑form data using a formula interface
Computes the Paretian Classification of Health Change from wide-form EQ-5D data where pre- and post-intervention states are supplied as separate objects.
Computes the Paretian Classification of Health Change from long-form EQ-5D data using a formula interface.
Usage
pchc(
pre,
post = NULL,
version = NULL,
id = NULL,
pre.level = NULL,
post.level = NULL,
duplicates = c("error", "first", "last"),
no.problems = TRUE,
totals = TRUE,
by.dimension = FALSE,
ignore.invalid = TRUE,
dimensions = NULL,
summary = TRUE,
data = NULL
)
## Default S3 method:
pchc(
pre,
post,
version = NULL,
id = NULL,
pre.level = NULL,
post.level = NULL,
duplicates = c("error", "first", "last"),
no.problems = TRUE,
totals = TRUE,
by.dimension = FALSE,
ignore.invalid = TRUE,
dimensions = NULL,
summary = TRUE,
data = NULL
)
## S3 method for class 'formula'
pchc(
formula,
post = NULL,
version = NULL,
id = NULL,
pre.level = NULL,
post.level = NULL,
duplicates = c("error", "first", "last"),
no.problems = TRUE,
totals = TRUE,
by.dimension = FALSE,
ignore.invalid = TRUE,
dimensions = NULL,
summary = TRUE,
data = NULL
)
Arguments
pre |
A data.frame of EQ-5D dimensions or a vector of 5-digit EQ-5D profiles. |
post |
Same format as |
version |
EQ-5D instrument version: |
id |
Optional character string naming the subject identifier column when it is not supplied in the formula. |
pre.level |
Optional value of the time variable identifying the pre‑intervention visit. Required when the time variable has more than two levels or when automatic inference would be incorrect. |
post.level |
Optional value of the time variable identifying the post‑intervention visit. |
duplicates |
How to handle duplicate observations per subject and
time point in long‑form data. One of |
no.problems |
Logical; classify |
totals |
Logical; include total rows in the summary table. |
by.dimension |
Logical; compute PCHC separately for each EQ-5D dimension. |
ignore.invalid |
Logical; if TRUE, invalid or missing values yield NA rows; if FALSE, an error is thrown. |
dimensions |
Character vector naming EQ-5D dimension columns. |
summary |
Logical; return summary table or individual classifications. |
data |
A long‑form data.frame used with the formula interface. |
formula |
A formula specifying EQ‑5D variables on the left‑hand side and a time variable (and optionally an ID variable) on the right‑hand side. This argument is used only in the formula interface. |
Details
When summary = FALSE, the function returns individual‑level PCHC
classifications, one per subject. When summary = TRUE, it returns
a tabular summary reporting counts and percentages by PCHC category,
suitable for reporting.
The totals argument applies only when summary = TRUE; it is
ignored otherwise.
Missing or invalid EQ‑5D values are handled consistently across all methods
via the ignore.invalid argument.
For formula methods the time variable must contain exactly two observable
levels unless the user specifies pre.level and post.level.
When not supplied, the ordering of pre‑ and post‑measurements is determined
automatically as follows:
factor time variables use the factor level order
character or numeric time variables use the order of appearance
Value
When summary = FALSE and by.dimension = FALSE, a character
vector of individual-level PCHC classifications.
When summary = TRUE and by.dimension = FALSE, a data.frame
summarising PCHC categories with counts and percentages.
When by.dimension = TRUE, a named list is returned with one element
per EQ-5D dimension. Each element is a character vector (when
summary = FALSE) or a data.frame (when summary = TRUE).
Examples
## Load example EQ-5D-3L data included with the package
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## Wide form (explicit pre/post data)
pre <- dat[dat$Group == "Group1", ][1:50, ]
post <- dat[dat$Group == "Group2", ][1:50, ]
pchc(pre, post, version = "3L", no.problems = FALSE, totals = FALSE)
## Long form (formula interface)
## Not run:
pchc(profile ~ visit | id, data = eq_long)
pchc(MO + SC + UA + PD + AD ~ visit | id, data = eq_long)
## End(Not run)
Plot EQ-5D Descriptive System
Description
Creates bar charts summarising the EQ-5D descriptive system by dimension and level using pre-computed descriptive data. Bars representing EQ-5D response levels are displayed side-by-side within each dimension. When grouped data are supplied, separate panels are created using faceting.
Usage
plot_descriptive(
descriptive_data,
alpha = 1,
theme = eq5d_theme(),
xlab = "Dimension",
ylab = NULL,
dimension_labels = NULL
)
Arguments
descriptive_data |
A data.frame produced by
|
alpha |
Numeric transparency for bars. |
theme |
A ggplot2 theme, defaults to the internal
|
xlab |
Character string for the x-axis label. |
ylab |
Character string for the y-axis label. If |
dimension_labels |
Optional named character vector mapping EQ-5D dimension codes (MO, SC, UA, PD, AD) to display labels. |
Details
This function performs no analytical computation. It visualises the
output of descriptive_data, which serves as the canonical
representation of the EQ-5D descriptive system.
The descriptive system summarises the distribution of response levels within each EQ-5D dimension. Bars are shown side-by-side to facilitate comparison across response levels. When grouped data are supplied, the plot uses faceting to aid comparison across groups while avoiding overplotting and excessive use of colour.
Value
A ggplot object.
References
Ramos-Goñi JM, Ramallo-Fariña Y (2016). eq5dds: A command to analyze the descriptive system of the EQ-5D quality-of-life instrument. The Stata Journal, 16(3), 691–701. doi:10.1177/1536867X1601600309
See Also
Examples
## Load example EQ-5D-3L data included with the package
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
## Create canonical descriptive data (percentages)
dd <- descriptive_data(dat, version = "3L")
## Basic descriptive system plot
plot_descriptive(dd)
## Grouped descriptive system plot
dd_grp <- descriptive_data(dat, version = "3L", group = "Group")
plot_descriptive(dd_grp)
## Descriptive system using counts
dd_count <- descriptive_data(dat, version = "3L", metric = "count")
plot_descriptive(dd_count)
## Descriptive system with full dimension labels
plot_descriptive(
dd,
dimension_labels = c(
MO = "Mobility",
SC = "Self care",
UA = "Usual activities",
PD = "Pain & Discomfort",
AD = "Anxiety & Depression"
)
)
Plot Health Profile Grid (HPG)
Description
Visualises paired changes in EQ-5D health states using a Health Profile Grid (HPG). Each point represents an individual pre–post transition in EQ-5D index space, with a diagonal reference line indicating no change.
Usage
plot_hpg(
hpg_data,
version,
include_no_problems = TRUE,
xlab = "Post",
ylab = "Pre",
colours = NULL,
shapes = NULL,
theme = eq5d_theme()
)
Arguments
hpg_data |
A data.frame returned by |
version |
EQ-5D version ("3L", "5L", or "Y3L"). |
include_no_problems |
Logical; if |
xlab |
Character string giving the x-axis label. Defaults to
|
ylab |
Character string giving the y-axis label. Defaults to
|
colours |
Optional named character vector overriding the default colours for transition classes present in the data. |
shapes |
Optional named numeric vector overriding the default shapes for transition classes present in the data. |
theme |
A ggplot2 theme applied to the plot. Defaults to the internal
|
Details
This function is a pure visualisation layer and expects the output of
hpg. No analytical computation is performed.
The input to plot_hpg() is the result of hpg(), which may be
generated using paired pre- and post-measurement data (for example as
vectors or data frames), or via an alternative formula interface supported
by hpg().
Transition classes follow the terminology and ordering used in the reference book: Improve, Mixed change, No change, Worsen, and No problems. Only transition classes present in the plotted data are shown in the legend.
The Health Profile Grid is intended for paired data and illustrates how individuals move between health states over time. Points on the diagonal indicate no change, while points above the diagonal represent improvement and points below the diagonal represent deterioration.
Value
A ggplot object.
References
Devlin N, Parkin D, Janssen B (2020). Methods for Analysing and Reporting EQ-5D Data. Springer Open. doi:10.1007/978-3-030-47622-9
See Also
Examples
## Not run:
res <- hpg(pre, post, country = "UK", version = "3L", type = "TTO")
## Default labels
plot_hpg(res, version = "3L")
## Custom axis labels
plot_hpg(
res,
version = "3L",
xlab = "Post-treatment",
ylab = "Pre-treatment"
)
## End(Not run)
Plot Health State Density Curve (HSDC)
Description
Visualises the distribution of EQ-5D health profiles using the Health State Density Curve (HSDC) as described by Zamora et al (2018) and Devlin et al. (2020) The HSDC plots the cumulative proportion of observed health states against the cumulative proportion of observations, analogous to a Lorenz curve.
Usage
plot_hsdc(
data,
group = NULL,
hsdi = NULL,
diagonal = TRUE,
colours = NULL,
linewidth = 1,
alpha = 1,
theme = eq5d_theme(),
xlab = "Cumulative percentage of observations",
ylab = "Cumulative percentage of health states"
)
Arguments
data |
A data.frame containing cumulative distribution data with
at least the columns |
group |
Optional character scalar giving the name of a grouping column for plotting multiple HSDCs on the same axes. |
hsdi |
Optional numeric value, or named numeric vector for grouped data, giving Health State Density Index (HSDI) values to annotate on the plot. |
diagonal |
Logical; if |
colours |
Optional named character vector specifying colours for grouped curves. |
linewidth |
Numeric line width for plotted curves. |
alpha |
Numeric transparency level for plotted curves. |
theme |
A ggplot2 theme. Defaults to the internal |
xlab |
Character string for the x-axis label. |
ylab |
Character string for the y-axis label. |
Details
The input data must be a pre-computed cumulative distribution,
typically returned by eq5dcf or make_hsdc_by_group.
This function performs no analytical computation; it only visualises
the supplied data.
Axes are displayed as cumulative percentages (0–100%). A 45-degree reference line indicates a perfectly even distribution of health states.
Curves that lie close to the diagonal indicate an even distribution of health profiles. Curves that lie further below the diagonal indicate increasing concentration of observations on a small number of health states.
Value
A ggplot object.
References
Zamora B, Parkin D, Feng Y, Bateman A, Herdman M, Devlin N (2018). New methods for analysing the distribution of EQ-5D observations. OHE Research Paper.
Devlin N, Parkin D, Janssen B (2020). Methods for Analysing and Reporting EQ-5D Data. Springer Open. doi:10.1007/978-3-030-47622-9
See Also
eq5dcf, hsdi, make_hsdc_by_group
Examples
dat <- read.csv(system.file("extdata", "eq5d3l_example.csv", package = "eq5d"))
cf <- eq5dcf(dat, version = "3L")
plot_hsdc(cf)
## Grouped Health State Density Curves
## Generate cumulative distributions by group
hsdc_grp <- make_hsdc_by_group(dat, group = "Group", version = "3L")
## Compute HSDI by group
hsdi_grp <- make_hsdi_by_group(dat, group = "Group", version = "3L")
## Plot grouped HSDCs with HSDI annotation
plot_hsdc(
data = hsdc_grp,
group = "Group",
hsdi = hsdi_grp
)
Plot EQ-5D Severity Summary
Description
Summarises EQ-5D index values by severity category using the Level Frequency Score (LFS) or Level Sum Score (LSS). For each severity category, the lowest, median, and highest EQ-5D index values are shown using a range marker and horizontal ticks.
Usage
plot_severity_summary(
data,
country,
version,
type,
severity = c("LFS", "LSS"),
tick_width = 0.12,
theme = eq5d_theme()
)
Arguments
data |
A data.frame containing EQ-5D responses. |
country |
Country value set used for EQ-5D index calculation. |
version |
EQ-5D version ("3L", "5L", or "Y3L"). |
type |
EQ-5D valuation type. |
severity |
Severity metric to use; either |
tick_width |
Width of horizontal ticks in severity category units. |
theme |
A ggplot2 theme applied to the plot. Defaults to the internal
|
Details
This plot corresponds to severity summary figures in the Devlin book, where EQ-5D index values are examined across severity strata rather than plotting severity measures themselves. LFS and LSS are treated as alternative severity definitions and are not plotted together.
Value
A ggplot object.
References
Devlin N, Parkin D, Janssen B (2020). Methods for Analysing and Reporting EQ-5D Data. Springer Open. doi:10.1007/978-3-030-47622-9
See Also
Probability of Superiority (PS) for EQ‑5D
Description
Computes the Probability of Superiority (PS) for each EQ‑5D dimension based on the Paretian Classification of Health Change (PCHC).
PS quantifies whether post‑intervention EQ‑5D states tend to be superior to pre‑intervention states:
PS = \frac{\text{Improve} + 0.5 \times \text{No change}}{\text{Total}}
Interpretation:
-
PS < 0.5: deterioration dominates
-
PS = 0.5: improvement and deterioration balanced
-
PS > 0.5: improvement dominates
Two interfaces are supported:
1. Wide‑form input (default)
ps(pre, post) where pre and post are EQ‑5D states in
5‑digit form or data frames containing EQ‑5D dimension columns.
2. Long‑form + formula interface
ps(formula, data) mirroring the interface of pchc().
For formula methods, the time variable must contain exactly two observable
levels unless the user specifies pre.level and post.level.
When not supplied, the ordering of pre‑ and post‑measurements is determined
automatically as follows:
factor time variables use the factor level order
character or numeric time variables use the order of appearance
Computes the Probability of Superiority from wide‑form EQ‑5D data where pre‑ and post‑intervention states are supplied as separate objects.
Computes the Probability of Superiority from long‑form EQ‑5D data using a formula interface.
Usage
ps(
pre,
post = NULL,
version = NULL,
ignore.invalid = TRUE,
dimensions = NULL,
digits = 2,
pre.level = NULL,
post.level = NULL,
data = NULL
)
## Default S3 method:
ps(
pre,
post,
version = NULL,
ignore.invalid = TRUE,
dimensions = NULL,
digits = 2,
pre.level = NULL,
post.level = NULL,
data = NULL
)
## S3 method for class 'formula'
ps(
formula,
post = NULL,
version = NULL,
ignore.invalid = TRUE,
dimensions = NULL,
digits = 2,
pre.level = NULL,
post.level = NULL,
data = NULL
)
Arguments
pre |
For the wide‑form interface, pre‑intervention EQ‑5D states
(5‑digit character/numeric vector or data frame of EQ‑5D dimensions).
For the formula interface, a formula describing EQ‑5D variables on the
left‑hand side and a time variable (and optionally an ID variable)
on the right‑hand side, e.g. |
post |
For the wide‑form interface, post‑intervention EQ‑5D states. Ignored for the formula interface. |
version |
EQ‑5D instrument version. One of |
ignore.invalid |
Logical; if TRUE, invalid scores are converted to NA; if FALSE, invalid scores trigger an error. |
dimensions |
Character vector specifying EQ‑5D dimension column names.
Defaults to |
digits |
Numeric specifying the number of decimal places. Defaults to 2. |
pre.level |
Optional value identifying the pre‑intervention visit in the formula interface. |
post.level |
Optional value identifying the post‑intervention visit in the formula interface. |
data |
A long‑form data frame used with the formula interface. Ignored for the wide‑form interface. |
formula |
A formula describing EQ‑5D variables on the left‑hand side
and a time variable (and optionally an ID variable) on the right‑hand side,
separated by |
Value
A named numeric vector (or list) of Probability of Superiority scores by EQ‑5D dimension.
Examples
dat <- read.csv(system.file("extdata", "eq5d3l_example.csv", package="eq5d"))
## Wide form
pre <- dat[dat$Group=="Group1",][1:50,]
post <- dat[dat$Group=="Group2",][1:50,]
ps(pre, post, version="3L")
## Long form
## Not run:
ps(profile ~ visit | id, data=eq_long)
ps(MO + SC + UA + PD + AD ~ visit | id, data=eq_long)
## End(Not run)
Calculate Shannon's Index
Description
Calculate Shannon's H' (diversity) index, H' max and Shannon's J' (evenness) index for an EQ-5D data set. This can be calculated both by dimension and for health states as a whole.
Usage
shannon(
scores,
version = NULL,
by.dimension = TRUE,
ignore.invalid = TRUE,
dimensions = NULL,
base = 2,
digits = 2,
permutations = TRUE
)
Arguments
scores |
data.frame, numeric or character. For data.frame default column names should be MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. Vector using five digit format can also be used. |
version |
string of value "3L" or "5L" to indicate instrument version. |
by.dimension |
boolean whether to calculate scores by EQ-5D dimensions or for the whole dataset. Defaults to TRUE. |
ignore.invalid |
boolean whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
dimensions |
character vector, specifying "dimension" column names. Defaults are "MO", "SC", "UA", "PD" and "AD". |
base |
numeric base of logarithm to use. Defaults to base 2. |
digits |
numeric specifying the number of decimal places. Defaults to 2. |
permutations |
boolean whether to use maximum number of permutations for H' max or the number of observed unique profiles. Default is TRUE. |
Value
a single list or list of dimensions containing H' H' max and J' scores.
Examples
dat <- read.csv(system.file("extdata", "eq5d3l_example.csv", package="eq5d"))
shannon(dat, version="3L", by.dimension=FALSE)
shannon(dat, version="3L", by.dimension=TRUE)
Launch shiny EQ-5D interface
Description
shiny_eq5d launches a shiny interface for browser based EQ-5D calculations.
Usage
shiny_eq5d(display.mode = "normal")
Arguments
display.mode |
The display mode to be passed to runApp |
Examples
## Not run:
shiny_eq5d()
shiny_eq5d(display.mode="normal")
## End(Not run)
Descriptive System Tables for EQ-5D
Description
Formats EQ-5D descriptive system summaries into publication-ready tables.
This function is the reporting-layer companion to
descriptive_data, and mirrors the tabular presentation
recommended in the EQ-5D reference literature and implemented by the
Stata eq5dds command.
Tables contain either percentages or counts, depending on the metric
supplied to descriptive_data. No analytical computation
is performed by this function.
Usage
table_descriptive(dd, digits = 1, include_total = TRUE, group_order = NULL)
Arguments
dd |
A data.frame returned by |
digits |
Integer specifying the number of decimal places used when rounding percentages. Ignored for count tables. |
include_total |
Logical; if |
group_order |
Optional character vector specifying the order in which
groups should be displayed when |
Details
This function operates on the output of descriptive_data,
which returns tidy descriptive-system summaries with one row per
Dimension–Level–Metric combination. Values are reshaped into wide
tables for reporting.
Counts and percentages are generated via separate calls to
descriptive_data, consistent with the presentation in
the EQ-5D reference literature.
When descriptive data are grouped, table_descriptive() returns
a named list of tables, one per group, consistent with the behaviour
of eq5dds when used with subgroup reporting.
Value
If descriptive data are ungrouped, a data.frame. If grouped, a named list of data.frames, one per group.
References
Devlin N, Parkin D, Janssen B (2020). Methods for Analysing and Reporting EQ-5D Data. Springer Open. doi:10.1007/978-3-030-47622-9
Ramos-Goñi JM, Ramallo-Fariña Y (2016). eq5dds: A command to analyze the descriptive system of the EQ-5D quality-of-life instrument. The Stata Journal, 16(3), 691–701.
Examples
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
dat1 <- subset(dat, Group == "Group1")
## Percentage table
dd_pct <- descriptive_data(dat1, version = "3L", metric = "percent")
table_descriptive(dd_pct)
## Count table
dd_cnt <- descriptive_data(dat1, version = "3L", metric = "count")
table_descriptive(dd_cnt)
## Grouped percentage tables
dd_grp <- descriptive_data(dat, version = "3L", metric = "percent", group = "Group")
table_descriptive(dd_grp)
Probability of Superiority Tables
Description
Formats output from ps into a tabular representation suitable
for reporting.
The function does not compute Probability of Superiority values; it
restructures the numeric output of ps() into a data.frame with
explicit dimension labels.
Usage
table_ps(ps_out, digits = 2)
Arguments
ps_out |
Output from |
digits |
Integer specifying the number of decimal places used when rounding PS values. Defaults to 2. |
Value
If ps_out is ungrouped, a data.frame with columns Dimension
and PS.
If ps_out is grouped, a named list of such data.frames.
Examples
dat <- read.csv(
system.file("extdata", "eq5d3l_example.csv", package = "eq5d")
)
pre <- dat[dat$Group == "Group1", ][1:50, ]
post <- dat[dat$Group == "Group2", ][1:50, ]
ps_res <- ps(pre, post, version = "3L")
table_ps(ps_res)
Get the available EQ-5D value sets.
Description
valuesets returns a data.frame of the available EQ-5D value sets
in the eq5d package.
Usage
valuesets(
type = NULL,
version = NULL,
country = NULL,
references = c("PubMed", "DOI", "ISBN", "ExternalURL")
)
Arguments
type |
string EQ-5D value set type. TTO or VAS for EQ-5D-3L, VT for EQ-5D-5L, IVP (International Valuation Protocol of Ramos-Goñi et al (2020)) for EQ-5D-Y-3L, CW for EQ-5D-5L crosswalk conversion dataset, or DSU for NICE Decision Support Unit's EQ-5D-5L to EQ-5D-3L and EQ-5D-3L to EQ-5D-5L mappings. |
version |
string either 3L, 5L or Y3L. |
country |
string one of the countries for which there is a value set. |
references |
character vector of reference columns. One or more of PubMed, DOI, ISBN or ExternalURL. Default is all. Reference columns can be removed by setting argument to NULL. |
Value
A data.frame containing the EQ-5D version, the value set type and country, along with PubMed IDs, DOIs, ISBNs and external URLs where available.
Examples
valuesets()
valuesets(type="TTO")
valuesets(version="5L")
valuesets(country="UK")
valuesets(version="Y3L", references=c("DOI", "PubMed"))