Update seed and targets for day pattern model
update_daypat_seed.RdUpdate seed and targets for day pattern model by tabulating day pattern probabilities by household. Use to normalize and factor up probabilities for surveyable and non-surveyable persons.
Details
Tabulates day pattern data to get average probabilities by household.
Normalizes by number of days, not persons per household.
Factors up probabilities by persons/surveyable ratio to match p_total.
Returns a copy; does not modify by reference.
Assumes valid input tables and settings; errors if missing.
See also
scripts/weighting/update_daypat_seed_targets.R
Other weighting pipeline:
aggregate_targets(),
calc_day_weights(),
calc_linked_trip_weights(),
calc_person_weights(),
calc_sample_plan_counts(),
calc_tour_weights(),
calc_trip_weights(),
create_ie_adjustment_data(),
create_target_update_table(),
format_income_bins(),
get_day_groups(),
get_income_broad(),
get_income_broad_xwalk(),
prepare_zone_groups(),
update_daypat_targets(),
update_income_broad_labels(),
update_rate_report(),
update_targets()