logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Find the mean and standard deviation from a c2 fit of a Gaussian to a histogram of the data, assuming the variance in each bin is just the number of counts. Use a normalized Gaussian with amplitude N*binwidth/(sigma*sqrt(2*pi)).

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Homework 

Here are 19 of the 20 “perfect” g measurements (m/s2) after removing one outlier:

9.792

9.768

9.809

9.800

9.829

9.821

9.837

9.817

9.802

9.815

9.813

9.758

9.795

9.836

9.822

9.818

9.806

9.800

9.811

 

  1. Compute the mean and standard deviation from Equations 4.9 and 4.13.
  2. Find the mean and standard deviation from a c2 fit of a Gaussian to a histogram of the data, assuming the variance in each bin is just the number of counts. Use a normalized Gaussian with amplitude N*binwidth/(sigma*sqrt(2*pi)).
  3. Now fit a Gaussian to the histogram by minimizing the negative log-likelihood (eg -1*M from 10.7). Assume the histogram contents are Poisson distributed (2.11) when calculating the likelihood.  You can use the minimize function from scipy to find the best fit values for mean and sigma.
  4. Find an upper and lower limit for each parameter from the likelihood fit by stepping the parameter away from the best fit value until the likelihood increases by 0.5.
  5. Now find mean and sigma from an unbinned fit of a Gaussian PDF to the data. Minimize the negative log of the likelihood computed from the values of the PDF evaluated at each data point.  Repeat step 4 to find the uncertainties for the best fit values obtained this way.
  6. Compare the mean and standard deviations found in these four ways. Do they agree within uncertainties?
(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

886 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

653 Answers

Hire Me
expert
Husnain SaeedComputer science

788 Answers

Hire Me
expert
Atharva PatilComputer science

611 Answers

Hire Me

Get Free Quote!

278 Experts Online