Learn R Programming

⚠️There's a newer version (4.3.1) of this package.Take me there.

redist (version 1.0)

Markov Chain Monte Carlo Methods for Redistricting Simulation

Description

Enables researchers to sample redistricting plans from a pre-specified target distribution using a Markov Chain Monte Carlo algorithm. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. The algorithm also can be used in combination with efficient simulation methods such as simulated and parallel tempering algorithms. Tools for analysis such as inverse probability reweighting and plotting functionality are included. The package implements methods described in Fifield, Higgins, Imai and Tarr (2015) ``A New Automated Redistricting Simulator Using Markov Chain Monte Carlo,'' working paper available at .

Copy Link

Version

Install

install.packages('redist')

Monthly Downloads

328

Version

1.0

License

GPL (>= 2)

Maintainer

Ben Fifield

Last Published

May 18th, 2015

Functions in redist (1.0)

algdat.pfull

All Partitions of 25 Precincts into 3 Congressional Districts (No Population Constraint)
redist.segcalc

Segregation index calculation for MCMC redistricting.
redist.mcmc

MCMC Redistricting Simulator
redist.rsg

Redistricting via Random Seed and Grow Algorithm
redist.ipw

Inverse probability reweighting for MCMC Redistricting
redist.diagplot

Diagnostic plotting functionality for MCMC redistricting.
redist-package

R Package for the MCMC Redistricting Simulator
algdat.p20

All Partitions of 25 Precincts into 3 Congressional Districts (20% Population Constraint)
algdat.p10

All Partitions of 25 Precincts into 3 Congressional Districts (10% population constraint)