Closed jiffyclub closed 9 years ago
Now synthesize_all
returns households, people, and fit quality data. The fit quality data is a dictionary of namedtuples. Keys are the geography IDs as tuples: (state, county, tract, block_group)
. Values are tuples of (household_chisq, household_p, people_chisq, people_p)
. Both are actually namedtuples, so the values can also be accessed by name like qual.household_chisq
or geog.state
.
Add drawing of households and then people so we get both, and calculate a metric of comparison how our draws compare to the target constraints. So far not doing anything with that.