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:
segregation_1.1.0.9000.tar.gz
segregation_1.1.0.9000.zip(r-4.7)segregation_1.1.0.9000.zip(r-4.6)segregation_1.1.0.9000.zip(r-4.5)
segregation_1.1.0.9000.tgz(r-4.6-x86_64)segregation_1.1.0.9000.tgz(r-4.6-arm64)segregation_1.1.0.9000.tgz(r-4.5-x86_64)segregation_1.1.0.9000.tgz(r-4.5-arm64)
segregation_1.1.0.9000.tar.gz(r-4.7-arm64)segregation_1.1.0.9000.tar.gz(r-4.7-x86_64)segregation_1.1.0.9000.tar.gz(r-4.6-arm64)segregation_1.1.0.9000.tar.gz(r-4.6-x86_64)
segregation_1.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
segregation/json (API)
| # Install 'segregation' in R: |
| install.packages('segregation', repos = c('https://elbersb.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/elbersb/segregation/issues
Pkgdown/docs site:https://elbersb.github.io
- 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
entropysegregationstatisticscpp
Last updated from:510a3692c7. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 132 | ||
| linux-devel-x86_64 | OK | 146 | ||
| source / vignettes | OK | 229 | ||
| linux-release-arm64 | OK | 231 | ||
| linux-release-x86_64 | OK | 142 | ||
| macos-release-arm64 | OK | 134 | ||
| macos-release-x86_64 | OK | 392 | ||
| macos-oldrel-arm64 | OK | 107 | ||
| macos-oldrel-x86_64 | OK | 291 | ||
| windows-devel | OK | 119 | ||
| windows-release | OK | 129 | ||
| windows-oldrel | OK | 140 | ||
| wasm-release | OK | 118 |
Exports:compressdissimilaritydissimilarity_expectedentropyexposureget_crosswalkipfisolationmatrix_to_longmerge_unitsmutual_differencemutual_localmutual_local_expectedmutual_totalmutual_total_expectedmutual_total_nestedmutual_withinscree_plotsegcurvesegplot
Dependencies:backportscheckmatedata.tableRcppRcppProgress
Last update: 2025-12-05
Started: 2021-01-10
Last update: 2024-01-30
Started: 2021-08-21
Last update: 2023-12-01
Started: 2022-06-29
