Open karink520 opened 3 years ago
I can also take the color legend in precinct_level_plot
and adding plots / reporting differences between racial groups for RxC
Amazing! TwoByTwoEIBaseBayes.polarization_report(), TwoByTwoEIBaseBayes._calculate_polarization(), TwoByTwoEIBaseBayes.plot_polarization_kde() what's implemented in the 2x2 case (that last one uses plot_utils.plot_polarization_kde() ), added and merged today, with examples uses in santa_clara_demo.ipynb (look for the green kdes).
FYI, added a TODO about generalizing the plotting functions
Great contribution to many fields. Thanks to your hard work.
One thing that may be more useful to do is to make covariates an option for 2x2. See the last example from the original post: https://gist.github.com/ColCarroll/9fb0e6714dc0369acf6549cededcc875
If you want to tackle any of these, just reply below, and I'll mark that you're on it!
eiPack
Gabe, Amy, Karin