Package: segregation 1.1.0.9000

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.

Authors:Benjamin Elbers [aut, cre]

segregation_1.1.0.9000.tar.gz
segregation_1.1.0.9000.zip(r-4.5)segregation_1.1.0.9000.zip(r-4.4)segregation_1.1.0.9000.zip(r-4.3)
segregation_1.1.0.9000.tgz(r-4.4-x86_64)segregation_1.1.0.9000.tgz(r-4.4-arm64)segregation_1.1.0.9000.tgz(r-4.3-x86_64)segregation_1.1.0.9000.tgz(r-4.3-arm64)
segregation_1.1.0.9000.tar.gz(r-4.5-noble)segregation_1.1.0.9000.tar.gz(r-4.4-noble)
segregation_1.1.0.9000.tgz(r-4.4-emscripten)segregation_1.1.0.9000.tgz(r-4.3-emscripten)
segregation.pdf |segregation.html
segregation/json (API)
NEWS

# Install 'segregation' in R:
install.packages('segregation', repos = c('https://elbersb.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/elbersb/segregation/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • school_ses - Student-level data including SES status
  • schools00 - Ethnic/racial composition of schools for 2000/2001
  • schools05 - Ethnic/racial composition of schools for 2005/2006

On CRAN:

entropysegregationstatistics

6.85 score 35 stars 45 scripts 395 downloads 19 exports 5 dependencies

Last updated 9 months agofrom:8a98c55c22. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-win-x86_64OKNov 01 2024
R-4.5-linux-x86_64OKNov 01 2024
R-4.4-win-x86_64OKNov 01 2024
R-4.4-mac-x86_64OKNov 01 2024
R-4.4-mac-aarch64OKNov 01 2024
R-4.3-win-x86_64OKNov 01 2024
R-4.3-mac-x86_64OKNov 01 2024
R-4.3-mac-aarch64OKNov 01 2024

Exports:compressdissimilaritydissimilarity_expectedentropyexposureget_crosswalkipfisolationmatrix_to_longmerge_unitsmutual_differencemutual_expectedmutual_localmutual_totalmutual_total_nestedmutual_withinscree_plotsegcurvesegplot

Dependencies:backportscheckmatedata.tableRcppRcppProgress

A walkthrough of the segregation package

Rendered fromsegregation.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2023-08-24
Started: 2021-01-10

FAQ

Rendered fromfaq.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2024-01-30
Started: 2021-08-21

Visualizing and compressing segregation

Rendered fromplotting.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2023-12-01
Started: 2022-06-29