segregation: Entropy-Based Segregation Indices

Computes segregation indices, including the Index of Dissimilarity, as well as the information-theoretic indices developed by Theil (1971) <isbn:978-0471858454>, namely the Mutual Information Index (M) and Theil's Information Index (H). The M, further described by Mora and Ruiz-Castillo (2011) <doi:10.1111/j.1467-9531.2011.01237.x> and Frankel and Volij (2011) <doi:10.1016/j.jet.2010.10.008>, is a measure of segregation that is highly decomposable. The package provides tools to decompose the index by units and groups (local segregation), and by within and between terms. The package also provides a method to decompose differences in segregation as described by Elbers (2021) <doi:10.1177/0049124121986204>. The package includes standard error estimation by bootstrapping, which also corrects for small sample bias. The package also contains functions for visualizing segregation patterns.

Version: 1.1.0
Depends: R (≥ 3.5.0)
Imports: data.table, checkmate, Rcpp, RcppProgress
LinkingTo: Rcpp, RcppProgress
Suggests: testthat, covr, knitr, rmarkdown, dplyr, ggplot2, scales, tidycensus, tigris, rrapply, dendextend, patchwork
Published: 2023-12-02
Author: Benjamin Elbers ORCID iD [aut, cre]
Maintainer: Benjamin Elbers <be2239 at columbia.edu>
BugReports: https://github.com/elbersb/segregation/issues
License: MIT + file LICENSE
URL: https://elbersb.github.io/segregation/
NeedsCompilation: yes
SystemRequirements: C++17
Citation: segregation citation info
Materials: README NEWS
CRAN checks: segregation results

Documentation:

Reference manual: segregation.pdf
Vignettes: FAQ
Visualizing and compressing segregation
A walkthrough of the segregation package

Downloads:

Package source: segregation_1.1.0.tar.gz
Windows binaries: r-devel: segregation_1.1.0.zip, r-release: segregation_1.1.0.zip, r-oldrel: segregation_1.1.0.zip
macOS binaries: r-release (arm64): segregation_1.1.0.tgz, r-oldrel (arm64): segregation_1.1.0.tgz, r-release (x86_64): segregation_1.1.0.tgz
Old sources: segregation archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=segregation to link to this page.