How 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 [http://www.taygeta.com/random/weibull.xml 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.
compute wrv= (-(1/2)*(ln(1-rv.uniform(0,1))))**(0.05). exe.