mardi 7 novembre 2017

adding loation parameter in paretovariate function

Currently I'm looking forward to generate random values of the pareto distribution using Paretovariate() function of the random module which by default accepts just one parameter i.e for the shape of the distribution (alpha),but assumes the location parameter(Xm) as 1.

How shall the python implementation be if I wanna consider some other value of Xm?




Aucun commentaire:

Enregistrer un commentaire