<div dir="ltr"><div><div><div><div><div>Hi everyone,<br><br></div>I was wondering if anyone had an insight into what happens in scipy when the scale parameter becomes 0. In particular, I was looking into lévy stable distribution. If we do in scipy:<br><br></div>>>> from scipy.stats import levy_stable<br>>>> levy_stable.rvs(alpha=0.99, beta=1, scale=0, loc=1, size=5)<br><br></div>I get:<br><br>>>> array([ 1.,  1.,  1.,  1.,  1.])<br><br></div>But when I look in <a href="https://en.wikipedia.org/wiki/L%C3%A9vy_distribution">wikipedia</a>, it tells me that the scale parameter should be greater than 0. Maybe it's a more general question for all distributions, but I'm interested in this one particularly. Why doesn't scipy throw an error when scale parameter is 0?<br><br></div><div>Thanks.<br><br></div><div>Best regards,<br></div>Mainak<br></div>