Question: For PythonL Generate =100N=100 random numbers, Gaussian-distributed with =0=0 and =1=1. Plot them in a histogram. Compute mean, standard deviation (RMS), and the error on
For PythonL
- Generate =100N=100 random numbers, Gaussian-distributed with =0=0 and =1=1.
- Plot them in a histogram.
- Compute mean, standard deviation (RMS), and the error on the mean. Is this what you expected?
- Compute the median of this distribution
- Now find the means, standard deviations, and errors on the means for each of the =1000M=1000 experiments of =100N=100 measurements each. Plot a histogram of the means. Is it consistent with your calculation of the error on the mean for =100N=100 ? About how many experiments yield a result within 11 of the true mean of 0 ? About how many are within 22 ? Is this what you expected?
- Now repeat question 4 for =10,50,1000,10000N=10,50,1000,10000. Plot a graph of the RMS of the distribution of the means vs N. Is it consistent with your expectations ?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
