Skip to content

Clarity on weighting functionality in ei_good, ei_iter, ei_rxc #129

@bfifield

Description

@bfifield

Is your feature request related to a problem? Please describe.
Cohen, Duchin, Matthews, and Suwal (https://mggg.org/uploads/DP.pdf) analyze the effects of the Census DAS policy for voting rights analyses and litigation. Their suggestion is that any bias induced by DAS can be alleviated by either trimming very small precincts from any voting rights analysis, or by weighting precincts by total turnout in any ecological regression or EI analysis. However, it is difficult to figure out whether any weighting functionality is supported, or if it happens automatically using the totals argument, in any of the main estimation functions in eiCompare.

Describe the solution you'd like
Either documentation discussing how precincts are weighted by default in each of these three estimation functions, or an additional weights argument where users can weight by the population total of their choice.

Describe alternatives you've considered
Dropping small precincts is an alternative that I can immediately implement, but weighting would be a really welcome feature and also fits with their primary recommendation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions