How To: Compute likelihood and chi2

How to compute the likelihood and chi2 from the number of events

How to compute the likelihood and chi2 from a theory prediction