Skip to content

Comments

Use mean instead of median for point estimates#38

Merged
huddlej merged 2 commits intomainfrom
replace-median-with-mean
Feb 9, 2026
Merged

Use mean instead of median for point estimates#38
huddlej merged 2 commits intomainfrom
replace-median-with-mean

Conversation

@huddlej
Copy link
Contributor

@huddlej huddlej commented Feb 6, 2026

Description of proposed changes

Adds logic to parse a ps_point_estimator function name from the model config YAML and pass that estimator name to the evofr function for generating tidy data frames. This interface allows users to choose one of the available point estimates generated by evofr as the representative value to plot in evofr-viz and other downstream tools.

Updates the configs for all three subtypes to use the "mean" instead of the "median" for reporting frequencies and GAs. Updates the local JSON parsing script to export mean along with median in the data frame output.

Related issue(s)

Closes #32
Requires blab/evofr#65
Requires nextstrain/forecasts-viz#33

Checklist

  • Checks pass
  • Update changelog

Adds logic to parse a `ps_point_estimator` function name from the model
config YAML and pass that estimator name to the evofr function for
generating tidy data frames. This interface allows users to choose one
of the available point estimates generated by evofr as the
representative value to plot in evofr-viz and other downstream tools.

Updates the configs for all three subtypes to use the "mean" instead of
the "median" for reporting frequencies and GAs. Updates the local JSON
parsing script to export mean along with median in the data frame
output.

Closes #32
Requires blab/evofr#65
Requires nextstrain/forecasts-viz#33
@huddlej huddlej merged commit c0e9d83 into main Feb 9, 2026
@huddlej huddlej deleted the replace-median-with-mean branch February 9, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report mean frequencies instead of median

1 participant