Package: DescriptiveRepresentationCalculator 1.2.0
DescriptiveRepresentationCalculator: Characterizing Observed and Expected Representation
A system for analyzing descriptive representation, especially for comparing the composition of a political body to the population it represents. Users can compute the expected degree of representation for a body under a random sampling model, the expected degree of representation variability, as well as representation scores from observed political bodies. The package also provides district-level benchmarks for expected representation in single-member district systems, where district compositions follow a Dirichlet distribution and seats are filled by random sampling or largest-group-wins affinity voting, as well as group-level representation diagnostics and comparisons between bodies. The package is based on Gerring, Jerzak, and Oncel (2024) <doi:10.1017/S0003055423000680>.
Authors:
DescriptiveRepresentationCalculator_1.2.0.tar.gz
DescriptiveRepresentationCalculator_1.2.0.zip(r-4.7)DescriptiveRepresentationCalculator_1.2.0.zip(r-4.6)DescriptiveRepresentationCalculator_1.2.0.zip(r-4.5)
DescriptiveRepresentationCalculator_1.2.0.tgz(r-4.6-any)DescriptiveRepresentationCalculator_1.2.0.tgz(r-4.5-any)
DescriptiveRepresentationCalculator_1.2.0.tar.gz(r-4.7-any)DescriptiveRepresentationCalculator_1.2.0.tar.gz(r-4.6-any)
DescriptiveRepresentationCalculator_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
DescriptiveRepresentationCalculator/json (API)
| # Install 'DescriptiveRepresentationCalculator' in R: |
| install.packages('DescriptiveRepresentationCalculator', repos = c('https://cjerzak.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/cjerzak/descriptiverepresentationcalculator-software/issues
descriptive-representationleadershipsociety
Last updated from:5033194504. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 108 | ||
| source / vignettes | OK | 160 | ||
| linux-release-x86_64 | OK | 107 | ||
| macos-release-arm64 | OK | 84 | ||
| macos-oldrel-arm64 | OK | 100 | ||
| windows-devel | OK | 60 | ||
| windows-release | OK | 69 | ||
| windows-oldrel | OK | 67 | ||
| wasm-release | OK | 94 |
Exports:CompareRepresentationExpectedDistrictRepresentationExpectedRepresentationGroupRepresentationObservedRepresentationRelativeRepresentationSDRepresentation
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Compare the observed representation of two political bodies | CompareRepresentation |
| Compute the expected degree of representation in a district-based electoral body | ExpectedDistrictRepresentation |
| Compute the expected degree of representation for any group in a political body | ExpectedRepresentation |
| Compute group-level representation diagnostics for a political body | GroupRepresentation |
| Compute the observed degree of representation for any group in a political body | ObservedRepresentation |
| Compute relative representation compared to random sampling | RelativeRepresentation |
| Compute the amount of representation left unexplained by a random sampling model. | SDRepresentation |
