bounds {eiPack} | R Documentation |
Deterministic bounds for units satisfying row thresholds
Description
Calculates the deterministic bounds on the proportion of row members within a specified column.
Usage
bounds(formula, data, rows, column, excluded = NULL,
threshold = 0.9, total = NULL)
Arguments
formula |
a formula of the form |
data |
a data frame containing the variables specified in
|
rows |
a character vector specifying the rows of interest |
column |
a character string specifying the column marginal of interest |
excluded |
an optional character string (or vector of character strings) specifying the columns to be excluded from the bounds calculation. For example, if the quantity of interest is Democratic share of the two-party vote, non-voters would be excluded. |
threshold |
the minimum proportion of the unit that row members must
comprise for the bounds to be calculated for the unit. If
|
total |
if row and/or column marginals are given as proportions,
|
Value
A list with elements
bounds |
a list of deterministic bounds for all units in which row proportions meet the threshold |
intersection |
if the intersection of the deterministic bounding
intervals is non-empty, the intersection is returned. Otherwise,
|
Author(s)
Ryan T. Moore <rtm@american.edu>
References
Otis Dudley Duncan and Beverley Davis. 1953. “An Alternative to Ecological Correlation.” American Sociological Review 18: 665-666.
See Also
plot.bounds