Distributions need static cdf, pdf, quantile methods #14413
Labels
C: Modules
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: task
An enhancement to the software.
Projects
Reason
Calculations, such as bootstrap confidence levels, require making calculations based on a distribution that is fixed.
Design
The existing Distribution objects (e.g., NormalDistribution) include an API for getting the cdf, pdf, and quantile, by supply the necessary parameters (e.g., mean and standard deviation). These methods can be static to avoid the need to create a Distribution object for calculations that are specific to a distribution.
Impact
This will make the STM more general for performing more advanced calculations and have no impact on the current use.
The text was updated successfully, but these errors were encountered: