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.">

segregation: Entropy-Based Segregation Indices (original) (raw)

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
DOI: 10.32614/CRAN.package.segregation
Author: Benjamin Elbers ORCID iD [aut, cre]
Maintainer: Benjamin Elbers
BugReports: https://github.com/elbersb/segregation/issues
License: MIT + file
URL: https://elbersb.github.io/segregation/
NeedsCompilation: yes
SystemRequirements: C++17
Citation: segregation citation info
Materials: README, NEWS
CRAN checks: segregation results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=segregationto link to this page.