Distributions#

Distribution based p-boxes#

pba.dists.beta(*args, steps=200)#

Beta distribution

pba.dists.lognorm(mean, var, steps=200)#

Creates a p-box for the lognormal distribution

Note: the parameters used are the mean and variance of the lognormal distribution not the mean and variance of the underlying normal See: [1]<https://en.wikipedia.org/wiki/Log-normal_distribution#Generation_and_parameters> [2]<https://stackoverflow.com/questions/51906063/distribution-mean-and-standard-deviation-using-scipy-stats>

Parameters#

mean

mean of the lognormal distribution

var :

variance of the lognormal distribution

Returns#

Pbox

pba.dists.lognormal(mean, var, steps=200)#

Creates a p-box for the lognormal distribution

Note: the parameters used are the mean and variance of the lognormal distribution not the mean and variance of the underlying normal See: [1]<https://en.wikipedia.org/wiki/Log-normal_distribution#Generation_and_parameters> [2]<https://stackoverflow.com/questions/51906063/distribution-mean-and-standard-deviation-using-scipy-stats>

Parameters#

mean

mean of the lognormal distribution

var :

variance of the lognormal distribution

Returns#

Pbox