Question: Exercise 4 : Uncertainty estimation comparison The file gauss _ data.txt contains 1 0 0 random numbers generated according to a Gaussian distribution with =

Exercise 4: Uncertainty estimation comparison
The file gauss_data.txt contains 100 random numbers generated according to a Gaussian
distribution with =10 and =3. Your task is to estimate the uncertainty of these
parameters using the data in three different ways.
(a) First, calculate the mean and standard deviation (Sx) of the data.
(b) Calculate the uncertainty of these estimates using the standard formulae 2.
(c) Use Monte Carlo to generate repetitions of the dataset Nexpt=1000 times (i.e.1000100
data points) according to the underlying Gaussian distribution. Calculate the mean and
standard deviation for each generated dataset and use the RMS of those values to es-
timate the uncertainties of the mean and standard deviation of the original dataset in
the text file.
(d) Bootstrap the dataset 1000 times by resampling the dataset with replacement. Cal-
culate the mean and standard deviation for each bootstrapped dataset and use the
variance of those values to estimate the uncertainties of the mean and standard devia-
tion of the original dataset in the text file.
(e) Which uncertainty technique do you think can be trusted in most situations?
?2(x)=SxN2,(Sx)=Sx2N-22
gauss_data.txt:
7.457080557496150064e+00
1.625682342005246994e+01
1.312910669193915680e+01
9.597667829927662098e+00
1.424465355823167023e+01
9.161716345535273476e+00
7.586665829661322746e+00
...
 Exercise 4: Uncertainty estimation comparison The file gauss_data.txt contains 100 random

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!