Difference between revisions of "TF ErrAna Homework"
Line 90: | Line 90: | ||
Given the following data: | Given the following data: | ||
+ | {| border="1" |cellpadding="20" cellspacing="0 | ||
+ | |- | ||
+ | | Trial || Value || Trial || Value | ||
+ | |- | ||
+ | |1 ||8 || 21 ||69 | ||
+ | |- | ||
+ | |2 || 10 | ||
+ | |- | ||
+ | |3 || 9 | ||
+ | |- | ||
+ | |4 || 5 | ||
+ | |- | ||
+ | |5 || 9 | ||
+ | |- | ||
+ | |6 || 6 | ||
+ | |- | ||
+ | |7 || 5 | ||
+ | |- | ||
+ | |8 || 6 | ||
+ | |- | ||
+ | |9 || 3 | ||
+ | |- | ||
+ | |10 || 9 | ||
+ | |- | ||
+ | |11 || 8 | ||
+ | |- | ||
+ | |12 || 5 | ||
+ | |- | ||
+ | |13 || 8 | ||
+ | |- | ||
+ | |14 || 10 | ||
+ | |- | ||
+ | |15 || 8 | ||
+ | |- | ||
+ | |16 || 11 | ||
+ | |- | ||
+ | |17 || 12 | ||
+ | |- | ||
+ | |18 || 6 | ||
+ | |- | ||
+ | |19 || 7 | ||
+ | |- | ||
+ | |20 || 8 | ||
+ | |} | ||
a.) calculate the mean and standard deviation | a.) calculate the mean and standard deviation |
Revision as of 02:01, 15 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!
- Notice that if you do the commands
root [2] Hist1->Fill(10); root [3] Hist1->Draw();
the rectangle centered a 10 will reach the value of 2 on the vertical axis.
Two dice are rolled 20 times. Create a histogram to represent the 20 trials below
Trial | Value |
1 | 8 |
2 | 10 |
3 | 9 |
4 | 5 |
5 | 9 |
6 | 6 |
7 | 5 |
8 | 6 |
9 | 3 |
10 | 9 |
11 | 8 |
12 | 5 |
13 | 8 |
14 | 10 |
15 | 8 |
16 | 11 |
17 | 12 |
18 | 6 |
19 | 7 |
20 | 8 |
Mean and SD
Electron radius
The probability that an electron is a distance
from the center of the hydrogen atoma.)Find the value of C
b.) Find the mean electron radius and standard deviation for an electron in a hydrogen atom
Histograms by Hand
Given the following data:
Trial | Value | Trial | Value |
1 | 8 | 21 | 69 |
2 | 10 | ||
3 | 9 | ||
4 | 5 | ||
5 | 9 | ||
6 | 6 | ||
7 | 5 | ||
8 | 6 | ||
9 | 3 | ||
10 | 9 | ||
11 | 8 | ||
12 | 5 | ||
13 | 8 | ||
14 | 10 | ||
15 | 8 | ||
16 | 11 | ||
17 | 12 | ||
18 | 6 | ||
19 | 7 | ||
20 | 8 |
a.) calculate the mean and standard deviation
b.) construct a histogram by hand which has 10 bins
c.) Use ROOT to construct a histogram. Compare the mean from ROOT with your result in part a above.