You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, we have only one distribution, one sampling method: Normal distribution-LHS
Combination of distribution and sampling method
distributions: Uniform, Triangular, Normal , Weibull, Gamma, Lognormal and so on.
sampling method: LHS, Random, Quasi-Random
example) @Wall (n,0,2,20,LHS)
(normal distribution (Gaussian), mean = 0, standard deviation = 2, 20 samples using LHS) @Wall (u,0,2,20,random)
(uniform distribution, min = 0, max = 2, 20 samples using random) @Wall (tr,0,2,5,20,quasi-random)
(triangular distribution, min = 0, mode = 2, max = 5, 20 samples using quasi-random)
Now, we have only one distribution, one sampling method: Normal distribution-LHS
Combination of distribution and sampling method
distributions: Uniform, Triangular, Normal , Weibull, Gamma, Lognormal and so on.
sampling method: LHS, Random, Quasi-Random
example)
@Wall (n,0,2,20,LHS)
(normal distribution (Gaussian), mean = 0, standard deviation = 2, 20 samples using LHS)
@Wall (u,0,2,20,random)
(uniform distribution, min = 0, max = 2, 20 samples using random)
@Wall (tr,0,2,5,20,quasi-random)
(triangular distribution, min = 0, mode = 2, max = 5, 20 samples using quasi-random)
References------------------------------------------------------------------------------------------------
Random Sampling :
http://docs.python.org/2/library/random.html
http://pymotw.com/2/random/
Latin hyper-cube sampling :
https://mathieu.fenniak.net/latin-hypercube-sampling/
http://pythonhosted.org/pyDOE/randomized.html#latin-hypercube
http://nullege.com/codes/show/src@m@o@model-builder-HEAD@Bayes@lhs.py
http://stackoverflow.com/questions/12884361/latin-hypercube-sampling-from-a-normal-distribution-python
Quasi Random Sampling :
https://gist.github.com/jkeirstead/1730440 (it's a R code)
http://people.sc.fsu.edu/~jburkardt/py_src/sobol/sobol.html
http://jdherman.github.io/SALib/
http://waterprogramming.wordpress.com/2013/08/05/running-sobol-sensitivity-analysis-using-salib/
The text was updated successfully, but these errors were encountered: