Skip to content

extrapolate_quantiles and thresholding #434

Closed
@dsweber2

Description

@dsweber2

Discovered in #431, if you try to extrapolate quantiles for predictions which have been thresholded, you can get quantiles outside of those thresholds. For example, if you have a quantile level of .1 which has value 0, then .05 will be negative, even if the quantile is negative.

Ways I can think to deal with this:

  1. include the support in the distribution, probably as an interval, e.g. c(0,Inf), and use that in quantile_extrapolate. Unsure if the types will play nicely with this one.
  2. Add limit options to get passed to quantile_extrapolate. Seems like it will require the user to know that they have thresholds, whereas the first option will build it into the result as part of layer_threshold.
  3. Just let it be and let the user figure it out by mentally thresholding. Seems not ideal.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions