lhs(dist,
parms,
siz=100,
noCorrRestr=False,
corrmat=None)
| source code
|
Latin Hypercube sampling of any distribution.
dist is is a scipy.stats random number generator
such as stats.norm, stats.beta, etc
parms is a tuple with the parameters needed for
the specified distribution.
- Parameters:
dist - : random number generator from scipy.stats module or a list of them.
parms - : tuple of parameters as required for dist, or a list of them.
siz - :number or shape tuple for the output sample
noCorrRestr - : if true, does not enforce correlation structure on the sample.
corrmat - : Correlation matrix
|