Difference between revisions of "TF ErrAna Homework"
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
<pre> | <pre> | ||
| − | root [1] TH1F *Hist1=new TH1F("Hist1","Hist1",50,0.5,49.5) | + | root [1] TH1F *Hist1=new TH1F("Hist1","Hist1",50,-0.5,49.5) |
root [2] Hist1->Fill(10); | root [2] Hist1->Fill(10); | ||
root [3] Hist1->Draw(); | root [3] Hist1->Draw(); | ||
| Line 17: | Line 17: | ||
You can use the above commands but you need to change the names and numbers above to receive credit. You must also add a title to the histogram which contains your full name. You will printout the histogram and hand it in with the above two problems. | You can use the above commands but you need to change the names and numbers above to receive credit. You must also add a title to the histogram which contains your full name. You will printout the histogram and hand it in with the above two problems. | ||
| + | |||
| + | ;Notice how the square rectangle in the histogram is centered at 10! | ||
=Mean and SD= | =Mean and SD= | ||
Revision as of 22:16, 9 January 2010
Errors
Give examples of 5 a Systematic error.
Find 3 published examples of data which is wrongly represented.
Identify what is incorrect about it. What does it mean to be wrongly presented? A typical example is a political poll which does not identify the statistical uncertainty properly or at all.
Create a Histogram using ROOT
some commands that may interest you
root [1] TH1F *Hist1=new TH1F("Hist1","Hist1",50,-0.5,49.5)
root [2] Hist1->Fill(10);
root [3] Hist1->Draw();
You can use the above commands but you need to change the names and numbers above to receive credit. You must also add a title to the histogram which contains your full name. You will printout the histogram and hand it in with the above two problems.
- Notice how the square rectangle in the histogram is centered at 10!