mardi 7 septembre 2021

Generating N random data sets from a sample of n values following a normal distribution? (Python)

I want to generate N random data sets from a list of random numbers. I can generate n random values easily using this:

normal(loc=mu, scale=sigma, size=n)

where loc is the mean, scale is standard deviation, size is the number of values.

But now I want to repeat this random generators N times to create N data sets all different from each other. Can anyone help? I feel like this isn't difficult to do, but I'm very new to programming.




Aucun commentaire:

Enregistrer un commentaire