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

- Compute the mean and standard deviation from Equations 4.9 and 4.13.
- 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)).
- 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.
- 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.
- 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.
- Compare the mean and standard deviations found in these four ways. Do they agree within uncertainties?

CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,

Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This

7COM1028 Secure Systems Programming Referral Coursework: Secure

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

265 Experts Online