Description
Wasserstein Bipolarization Index.
Description
Computation of the Wasserstein Bipolarization Index as described in Lee and Sobel (Forthcoming) <doi:10.48550/arXiv.2408.03331>. Provides both asymptotic (Sommerfeld, 2017 <https://ediss.uni-goettingen.de/bitstream/handle/11858/00-1735-0000-0023-3FA1-C/DissertationSommerfeldRev.pdf?sequence=1>) and bootstrap methods (Efron and Narasimhan, 2020 <doi:10.1080/10618600.2020.1714633>) for calculating confidence intervals.
README.md
WBI: Wasserstein Bipolarization Index
This WBI R package computes the Wasserstein Bipolarization Index, as described in Lee and Sobel (forthcoming in Annals of Applied Statistics).
Installation
You can install the development version of WBI from GitHub with:
# install.packages("devtools")
devtools::install_github("hanelee/WBI")