eiread {ei} | R Documentation |
Quantities of Interest from Ecological Inference Estimation
Description
eiread
is the command that pulls quantities of interest from the ei
object. The command returns a list of quantities of interest requested by the user.
Usage
eiread(ei.object, ...)
Arguments
ei.object |
An |
... |
A list of quantities of interest for |
Value
betab |
|
betaw |
|
sbetab |
|
sbetaw |
|
phi |
Maximum posterior estimates of the CML |
psisims |
Matrix of random simulations of |
bounds |
|
abounds |
|
aggs |
Simulations of district-level quantities of interest |
maggs |
Point estimate of 2 district-level parameters, |
VCaggs |
Variance matrix of 2 district-level parameters, |
CI80b |
|
CI80w |
|
eaggbias |
Regressions of estimated |
goodman |
Goodman's Regression. See Section 3.1 |
Author(s)
Gary King <<email: king@harvard.edu>> and Molly Roberts <<email: molly.e.roberts@gmail.com>>
References
Gary King (1997). A Solution to the Ecological Inference Problem. Princeton: Princeton University Press.
Examples
data(sample)
formula = t ~ x
dbuf <- ei(formula=formula, total="n",data=sample)
eiread(dbuf, "phi")
eiread(dbuf, "betab", "betaw")