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 2 using the maximum likelihood method.
You should create a Python script
muon-maxl.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 1.72.3 microseconds, with
step sizes =0.01 microseconds, compute the log-likelihood. Make a plot of
log-likelihood versus , and find the best-fit value of . Find the uncertainty in
by finding the values -and +at which the log-likelihood decreases by 12(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 muon-maxl.png of
the data overlaid with your best fit.
Submit your Python script
muon-maxl.py.
Now, let's approach the same data as Problem 2

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 Programming Questions!