washingtonpost / elex-live-model

a model to generate estimates of the number of outstanding votes on an election night based on the current results of the race
48 stars 5 forks source link

Add predicted turnout to unit data #91

Closed lennybronner closed 12 months ago

lennybronner commented 12 months ago

Description

If we are running a margin model we need to save the turnout predictions also to be able to evaluate the model.

Jira Ticket

Test Steps

tox also

elexmodel 2017-11-07_VA_G --estimands=margin --office_id=G --geographic_unit_type=precinct --pi_method=bootstrap --percent_reporting=10 --aggregates=postal_code --fixed_effects=county_classification --features=baseline_normalized_margin --aggregates=unit

Now includes pred_turnout for the unit_data