Python Monte Carlo, Monte Carlo Simulation, Pert Distribution, Scipy Distributions.
distribution. Row 3 draws an LHS sample of N=10,000 uniform random variates. Then row 4 takes the array as its input argument. The percent point function ppf() interprets the 10,000 standard uniform numbers as probabilities and computes 10,000 PERT quantiles, with which it fills the array randP.