FAQ/gamma252013-03-08 10:17:36localhostconverted to 1.6 markup242008-02-13 14:51:32PeterWatson232008-02-13 14:51:08PeterWatson222008-02-13 12:35:59PeterWatson212008-02-13 12:16:55PeterWatson202008-02-13 11:14:21PeterWatson192008-02-13 11:14:12PeterWatson182008-02-13 10:53:38PeterWatson172008-02-13 10:53:14PeterWatson162008-02-13 10:52:11PeterWatson152008-02-13 10:51:59PeterWatson142008-02-13 10:49:57PeterWatson132008-02-13 10:49:16PeterWatson122008-02-13 10:48:16PeterWatson112008-02-13 10:47:46PeterWatson102008-02-13 10:36:35PeterWatson92008-02-12 17:32:51PeterWatson82008-02-12 17:32:11PeterWatson72008-02-12 17:31:16PeterWatson62008-02-12 17:31:04PeterWatson52008-02-12 17:30:49PeterWatson42008-02-12 17:30:27PeterWatson32008-02-12 17:24:10PeterWatson22008-02-12 16:41:35PeterWatson12008-02-12 16:40:26PeterWatsonHow do I produce random variables which follow a negatively skewed distribution?Most distributions such as the exponential and log-Normal distributions are positively skewed with the mode of the distribution occurring for lower values. The Weibull distribution is negatively skewed and may be generated using random variables which are uniform on the interval (0,1). The below produces an open ended negatively skewed weibull distribution with parameters, 2 and 20. It has a median of $$2text{-0.05}ln(2)text{0.05}$$ = 0.95. which is of form $$Atext{-1/B}ln(2)text{1/B}$$ where A and B are the two parameters of the Weibull distribution. (See here for formulae).