in1Data.computeFromDistribution

Generate sample of values following a beta-pert or a uniform distribution

Functions

computeParameters

Compute alpha, beta and mu

computePert

Compute the CDF and PDF of the Pert distribution using scipy betainc function

extractFromCDF

Extract a sample from the CDF with prescribed steps

extractNormalDist

create a normal distribution from given parameters and draw a sample

extractUniform

Extract sample of a uniform distriution

getEmpiricalCDF

Derive empirical CDF using numpy histogram and cumsum

getEmpiricalCDFNEW

Derive empirical CDF using sorted sample