Learn R Programming

eiPartialID (version 0.1.2)

Ecological Regression with Partial Identification

Description

Estimate district-level bounds for 2x2 ecological inference based on the approach described in the forthcoming article Jiang et al. (2019), "Ecological Regression with Partial Identification", Political Analysis. Interval data regression is used to bound the nonidentified regression parameter in a linear contextual effects model, from which district-level bounds are derived. The approach here can be useful as a baseline of comparison for future work on ecological inference.

Copy Link

Version

Install

install.packages('eiPartialID')

Monthly Downloads

4

Version

0.1.2

License

MIT + file LICENSE

Maintainer

Allen Schmaltz

Last Published

April 11th, 2019

Functions in eiPartialID (0.1.2)

calcSummaryOutputValues

Internal/private method. Compute bounds and summary statistics according to Jiang et al. 2019
runExampleSimulations

Run illustrative simulations.
generateDataExample3

Simulate data; Example 3 from Jiang et al. 2019.
generateDataExample4

Simulate data; Example 4 from Jiang et al. 2019.
calcSummaryOutputValues_

Internal/private method. Compute bounds and summary statistics according to Jiang et al. 2019
evaluateBounds

Evaluate computed bounds, across confidence levels, applying the selection heuristic of Jiang et al. 2019
generateBounds

Compute bounds and summary statistics according to Jiang et al. 2019
generateDataExample5

Simulate data; Example 5 from Jiang et al. 2019.
bounds

Compute and evaluate bounds according to Jiang et al. 2019, illustrating usage.