whynot.simulators.incarceration.
Config
Metaparameters for a single run of simulator.
random_seed
Controls all randomness of the simulation
min_age
Minimum age for incarceration
start_iter
Start iteration of simulation
end_iter
End iteration of simulation
percent
Initial incarceration rate
random_sentence_type
Assign lenient or harsh sentence randomly
random_sentence_bias
Probability of picking harsh sentence
mean_sentence_harsh
Mean sentence length (months) for harsh assignment
mean_sentence_lenient
Mean sentence length (months) for lenient assignment
Experiments for the incarceration simulator.
whynot.simulators.incarceration.experiments.
SentenceLength
Randomized trial with interference between units.