Question: Now, let's approach the same data as Problem 2 using the maximum likelihood method. You should create a Python script muon - maxl.py to perform
Now, let's approach the same data as Problem using the maximum likelihood method.
You should create a Python script
muonmaxl.py to perform the following:
Open the data file and store the unbinned decay times.
Note that, in your function that calculates log likelihood, you have to be a little
careful to make sure that your PDF is normalized to unity.
For values of the parameter in the range microseconds, with
step sizes microseconds, compute the loglikelihood. Make a plot of
likelihood versus and find the bestfit value of Find the uncertainty in
by finding the values and at which the loglikelihood decreases by an
absolute number, not fractional change! relative to the maximum. Note that
your uncertainties may not be symmetric.
Print your results to standard output and create a final plot muonmaxl.png of
the data overlaid with your best fit.
Submit your Python script
muonmaxl.py
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
