|
By: Neil E. Cotter |
Statistics |
|
|
Data plots |
|
|
Histogram |
|
|
Example 1 |
|
|
|
Ex: A company manufacturing inexpensive analog function generators measures the frequency they produce when set to 1 kHz. They measure the following values in Hz:
f1 = 998 f2 = 997 f3 = 1003 f4 = 1001 f5 = 999 f6 = 1001
f7 = 998 f8 = 1002 f9 = 1000 f10 = 1001 f11 = 1000
Make a histogram of the data for a bin size of 1 Hz with one of the bins centered on 1 kHz. (In other words, one of the bins is for 999.5 to 1000.5 Hz.)
Sol'n: The histogram is bar chart showing how many values fall into each bin. In the present case, the bins correspond to integer frequencies, and we need only count how often each frequency occurs:
bin # values in bin
997 1
998 2
999 1
1000 2
1001 3
1002 1
1003 1
The values in the second column are the heights of the bars on the histogram: