transform_exp: Exponentially transform domain indexes

View source: R/transform.R

transform_expR Documentation

Exponentially transform domain indexes

Description

Transform domains to an exponential distribution using the exponential transformation function listed in Appendix A of the Welsh IMD's technical report: https://www.gov.wales/sites/default/files/statistics-and-research/2023-10/welsh-index-multiple-deprivation-2019-technical-report.pdf.

Usage

transform_exp(x)

Arguments

x

A vector of integers, in the range \[0, 1\]

When to use

The exponential transformation of ranks makes it harder for high deprivation in one domain to be offset by low deprivation in another. This transformation stretches out the rankings of the most deprived areas, creating gaps that highlight the true differences and place more emphasis on the most deprived parts of the distribution.

Examples

transform_exp(c(0, 0.5, 1))

britishredcrosssociety/compositr documentation built on Nov. 4, 2024, 5:21 p.m.