# redist: Markov Chain Monte Carlo Methods for Redistricting Simulation

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 <http://http://imai.princeton.edu/research/files/redist.pdf>.

- Author
- Ben Fifield <bfifield@princeton.edu>, Alexander Tarr <atarr@princeton.edu>, Michael Higgins <mjh5@princeton.edu>, and Kosuke Imai <kimai@princeton.edu>
- Date of publication
- 2015-08-21 07:38:54
- Maintainer
- Ben Fifield <bfifield@princeton.edu>
- License
- GPL (>= 2)
- Version
- 1.2

## Man pages

- algdat.p10
- All Partitions of 25 Precincts into 3 Congressional Districts...
- algdat.p20
- All Partitions of 25 Precincts into 3 Congressional Districts...
- algdat.pfull
- All Partitions of 25 Precincts into 3 Congressional Districts...
- redist.diagplot
- Diagnostic plotting functionality for MCMC redistricting.
- redist.ipw
- Inverse probability reweighting for MCMC Redistricting
- redist.mcmc
- MCMC Redistricting Simulator
- redist-package
- R Package for the MCMC Redistricting Simulator
- redist.rsg
- Redistricting via Random Seed and Grow Algorithm
- redist.segcalc
- Segregation index calculation for MCMC redistricting.

## Files in this package

redist |

redist/src |

redist/src/Makevars |

redist/src/sw_mh_alg.cpp |

redist/src/constraint_calc_helper.cpp |

redist/src/make_swaps_helper.h |

redist/src/rsg.cpp |

redist/src/check_contiguity.cpp |

redist/src/sw_mh_helper.cpp |

redist/src/check_contiguity.h |

redist/src/sw_mh_helper.h |

redist/src/make_swaps_helper.cpp |

redist/src/redist_analysis.cpp |

redist/src/constraint_calc_helper.h |

redist/src/rsg.h |

redist/src/Makevars.win |

redist/src/RcppExports.cpp |

redist/src/redist_analysis.h |

redist/NAMESPACE |

redist/demo |

redist/demo/00Index |

redist/demo/fig4.R |

redist/data |

redist/data/algdat.p20.rda |

redist/data/algdat.pfull.rda |

redist/data/datalist |

redist/data/algdat.p10.rda |

redist/R |

redist/R/rsg.R |

redist/R/RcppExports.R |

redist/R/redist.R |

redist/MD5 |

redist/DESCRIPTION |

redist/ChangeLog |

redist/man |

redist/man/redist.diagplot.Rd |

redist/man/redist.mcmc.Rd |

redist/man/redist.ipw.Rd |

redist/man/redist.rsg.Rd |

redist/man/algdat.pfull.Rd |

redist/man/algdat.p10.Rd |

redist/man/redist.segcalc.Rd |

redist/man/redist-package.Rd |

redist/man/algdat.p20.Rd |