Estimates the probability matrix for the R×C Ecological Inference problem using the Expectation-Maximization Algorithm with four approximation methods for the E-Step, and an exact method as well. It also provides a bootstrap function to estimate the standard deviation of the estimated probabilities. In addition, it has functions that aggregate rows optimally to have more reliable estimates in cases of having few data points. For comparing the probability estimates of two groups, a Wald test routine is implemented. The library has data from the first round of the Chilean Presidential Election 2021 and can also generate synthetic election data. Methods described in Thraves, Charles; Ubilla, Pablo; Hermosilla, Daniel (2024) ”A Fast Ecological Inference Algorithm for the R×C case” <doi:10.2139/ssrn.4832834>.
| Version: | 0.0.0.12 |
| Depends: | R (≥ 3.5) |
| Imports: | Rcpp, jsonlite |
| LinkingTo: | Rcpp |
| Suggests: | knitr, rmarkdown, ggplot2, reshape2, viridis, dplyr, qpdf |
| Published: | 2026-01-10 |
| DOI: | 10.32614/CRAN.package.fastei |
| Author: | Charles Thraves |
| Maintainer: | Daniel Hermosilla <daniel.hermosilla.r at ug.uchile.cl> |
| BugReports: | https://github.com/DanielHermosilla/ecological-inference-elections/issues |
| License: | MIT + file LICENSE |
| URL: | https://danielhermosilla.github.io/ecological-inference-elections/reference/fastei-package.html |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | fastei results |
| Reference manual: | fastei.html , fastei.pdf |
| Vignettes: |
Demonstration of the package usage (source, R code) |
| Package source: | fastei_0.0.0.12.tar.gz |
| Windows binaries: | r-devel: fastei_0.0.0.12.zip, r-release: fastei_0.0.0.12.zip, r-oldrel: fastei_0.0.0.11.zip |
| macOS binaries: | r-release (arm64): fastei_0.0.0.12.tgz, r-oldrel (arm64): fastei_0.0.0.11.tgz, r-release (x86_64): fastei_0.0.0.12.tgz, r-oldrel (x86_64): fastei_0.0.0.11.tgz |
| Old sources: | fastei archive |
Please use the canonical form https://CRAN.R-project.org/package=fastei to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.