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

extractUniform

Extract sample of a uniform distriution

getEmpiricalCDF

Derive empirical CDF using numpy histogram and cumsum

getEmpiricalCDFNEW

Derive empirical CDF using sorted sample