idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
218 stars 133 forks source link

[TASK] Percentile and Median for "discrete" set #1339

Open alfoa opened 4 years ago

alfoa commented 4 years ago

Issue Description

Is your feature request related to a problem? Please describe. As PR https://github.com/idaholab/raven/pull/1289, the percentiles and median are computed using the weighted formula. The option to get the median/percentiles in a "discrete" set must be implemented (e.g. integer sets,etc).

Describe the solution you'd like Addition of a new option for considering the set as "discrete"

Describe alternatives you've considered n/a


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.

JiaZhou-PU commented 4 years ago

Is this gonna be the same while you assign the same weight?