Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can convert a normal or log distribution with mu=0 and sigma=1, which is the default to whatever you want. For eg. for normal distribution you can use the following to get a normal distribution with sigma=10 and mu=1

from scipy.stats import norm
R = norm.rvs(size=10)
sigma=10
mu=1
print sigma*R+mu