synthpop
synthpop copied to clipboard
drawing methods
We probably need an open issue on drawing methods.
- [ ] Implement the drawing method from the paper
- [ ] Implement the chi-squared statistic to know if the draw is reasonable
- [ ] Implement redraw until the chi-squared stat is appropriate
Any other drawing methods? I tend to think doing the one from the paper will be sufficient.
Might want to add another item to this list - if the chi-squared check isn't sufficient, perhaps we should just run the sanity check of computing the marginals on the synthesized population and see how they compare to the original. The chi-squared check might cover this though.
Looks like SciPy has a chi-squared function: http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.stats.chisquare.html
Is this done at this point?