



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to the statistical analysis of categorical and quantitative variables. It covers the use of graphical displays, such as bar graphs, pie charts, stem-and-leaf plots, and histograms, to understand the distribution of data. Examples of analyzing categorical data from student majors and quantitative data from shark lengths.
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




attach(Shark) length [1] 18.7 12.3 18.6 16.4 15.7 18.3 14.6 15.8 14.9 17.6 12.1 16.4 16.7 17.8 16.2 12.6 17. 13.8 12.2 15.2 14.7 12.4 13.2 15.8 14.3 16.6 9.4 18.2 13.2 13. [31] 15.3 16.1 13.5 19.1 16.2 22.8 16.8 13.6 13.2 15.7 19.7 18.7 13.2 16.
sort(length) [1] 9.4 12.1 12.2 12.3 12.4 12.6 13.2 13.2 13.2 13.2 13.5 13.6 13.6 13.8 14. [16] 14.6 14.7 14.9 15.2 15.3 15.7 15.7 15.8 15.8 16.1 16.2 16.2 16.4 16.4 16. [31] 16.7 16.8 16.8 17.6 17.8 17.8 18.2 18.3 18.6 18.7 18.7 19.1 19.7 22.
Stem - and-leaf plot
stem(length, scale=2)
The decimal point is at the |
9 | 4 10 | 11 | 12 | 12346 13 | 22225668 14 | 3679 15 | 237788 16 | 122446788 17 | 688 18 | 23677 19 | 17 20 | 21 | 22 | 8
Range Number of intervals(5 or 6)
> hist(length)
Interpreting histograms :
Overall pattern
Symmetric and skewed distribution: