In: Statistics and Probability
Find an example of a histogram or a bar chart outside of STAT 100.
Suppose you want to measure the height of any particular tree (like apple) in centimeters (cm). You decide to the representation of data into the range of heights. Let the height of tree varies from 100 to 500 cm. You divide the range into four part 100-200 (means 100 or above and below 200) ; 200- 300; 300-400; 400-500. for example if tree height is 305 cm it falls into range 300-400 cm. The following data is collected
194.2 125.3 106.8 190.9 198.6 173.2 148.6 100.0 172.5 129.5 249.5 281.9 249.5 248.8 219.3 205.7 292.7 233.3 265.9 277.5 291.0 275.9 212.9 217.9 282.7 275.5 235.0 281.8 216.6 290.4 225.9 231.8 206.0 289.5 256.2 357.7 387.7 366.0 379.8 325.0 301.0 396.5 380.5 315.3 327.4 334.1 345.1 354.6 317.9 393.5 321.2 307.0 345.0 323.5 311.9 353.8 314.5 381.4 350.5 321.1 358.9 398.1 388.2 343.3 357.8 495.2 442.2 415.7 452.0 404.5 452.8 459.0 422.3 429.9 428.3 406.3
We can represents the data as follows
Range | Number of Tree |
100-200 | 10 |
200-300 | 25 |
300-400 | 30 |
400-500 | 11 |
The above data can also be represented by histogram as
2. Now suppose we want to see what type of movie people are watching in a movie theators. we collected the following data
Type of movie | Number of People |
Action | 25 |
Horror | 15 |
Comedy | 22 |
Romantic | 20 |
We represent this data by bar plot as
Notice that barplots are good when we have different caogories (qualitative), but if we have continuous data than we should use histogram.