Skip to contents

Functions

ei Functions

ei()
Ecological Inference Estimation
ei.bounds()
Computes Analytical Bounds from Accounting Identity
ei.sim()
Simulate EI Solution via Importance Sampling
eiread()
Quantities of Interest from Ecological Inference Estimation
summary(<ei>)
Summarize Ecological Inference Estimates
values_ei()
Returning an element in the ei object

Visualization functions

ei visualization functions

plot_bound()
Visualizing EI (bound)
plot_data()
Get data used to create a plot
plot_density()
Visualizing EI (density)
plot_movie()
Visualizing EI (Shiny visualization)
plot_sims()
Visualizing EI (simulation)
plot_tomog()
Visualizing EI (tomography plot)
plot_tomogRxC()
Visualizing EI (tomography plot for RxC)
plot_truth()
Visualizing EI (with truth)
plot_xt()
Visualizing EI (xt-plot)

Tidy Workflow

Alternative approach for a tidy workflow

ei_()
Run (tidy) Ecological Inference Estimation and Simulation
ei_est()
Run (tidy) Ecological Inference Estimation
ei_sim()
Run Ecological Inference Simulation
as_ei_tbl() ei_as_ei_tbl()
Convert to `ei_tbl` objects

Data

Included Data

RxCdata
Sample Dataset
census1910
Black Literacy in 1910
eiRxCsample
RxC Sample Dataset
fultongen
Voter Transitions
lavoteall
Turnout by Race in Louisiana
matproii
Voter Registration by Race in Southern States
nj
Nonminority Turnout in New Jersey
sample_ei
Sample Data for Black Votes

Misc.

Additional functions

ei()
Ecological Inference Estimation
ei.bounds()
Computes Analytical Bounds from Accounting Identity
ei.sim()
Simulate EI Solution via Importance Sampling
eiread()
Quantities of Interest from Ecological Inference Estimation
summary(<ei>)
Summarize Ecological Inference Estimates
values_ei()
Returning an element in the ei object

Deprecated Functions

Functions that have been superceded by better tools

RxCdata
Sample Dataset
census1910
Black Literacy in 1910
ei()
Ecological Inference Estimation
ei.bounds()
Computes Analytical Bounds from Accounting Identity
ei.sim()
Simulate EI Solution via Importance Sampling
eiRxCsample
RxC Sample Dataset
ei_()
Run (tidy) Ecological Inference Estimation and Simulation
ei_est()
Run (tidy) Ecological Inference Estimation
ei_sim()
Run Ecological Inference Simulation
as_ei_tbl() ei_as_ei_tbl()
Convert to `ei_tbl` objects
eiread()
Quantities of Interest from Ecological Inference Estimation
fultongen
Voter Transitions
lavoteall
Turnout by Race in Louisiana
matproii
Voter Registration by Race in Southern States
nj
Nonminority Turnout in New Jersey
plot(<ei>)
Plotting Ecological Inference Estimates
plot_bound()
Visualizing EI (bound)
plot_data()
Get data used to create a plot
plot_density()
Visualizing EI (density)
plot_movie()
Visualizing EI (Shiny visualization)
plot_sims()
Visualizing EI (simulation)
plot_tomog()
Visualizing EI (tomography plot)
plot_tomogRxC()
Visualizing EI (tomography plot for RxC)
plot_truth()
Visualizing EI (with truth)
plot_xt()
Visualizing EI (xt-plot)
sample_ei
Sample Data for Black Votes
summary(<ei>)
Summarize Ecological Inference Estimates
tomogRxC()
Plotting Ecological Inference Estimates with eiRxC information
tomogRxC3d()
Plotting 2x3 Ecological Inference Estimates in 3 dimensions
values_ei()
Returning an element in the ei object