I need some help with my Mathematica homework.. I want to get the mean of some random numbers from 0 to 10 and that each time for a higher amount of samples (from 10 to 20). Then I would like to plot it somehow as a distribution of all means or if that's not possible as a List Plot. I have to show that with a rising amount of samples, the mean becomes more and more correct. That's what I already have..
For[i = 10, i < 20, i++, Print[Mean[RandomInteger[10, i]]]]
I'm grateful for every help!!
Aucun commentaire:
Enregistrer un commentaire