An Introduction to Data Analysis in R by Alfonso Zamora Saiz & Carlos Quesada González & Lluís Hurtado Gil & Diego Mondéjar Ruiz

An Introduction to Data Analysis in R by Alfonso Zamora Saiz & Carlos Quesada González & Lluís Hurtado Gil & Diego Mondéjar Ruiz

Author:Alfonso Zamora Saiz & Carlos Quesada González & Lluís Hurtado Gil & Diego Mondéjar Ruiz
Language: eng
Format: epub
ISBN: 9783030489977
Publisher: Springer International Publishing


In Fig. 4.13 we observe at a glance that the median of the petal width is a bit lower than 1.5, but the dispersion is quite big, the 50% of the central values being between 0.3 and 1.7. We see how skewed the distribution of this variable is, the range from the first quartile to the median is much bigger than the range from the median to the third quartile: variability of petal width in the study seems to be higher for lower values.

Fig. 4.13Box plot of the petal width from dataset iris

An interesting additional option of this function is the creation of several box plots in the same image for different categories, introducing another variable in the plot, in a similar way to the usage of variables in arguments in plot( ) . For example, as we explored in Sect. 4.1.1, the iris dataset has observations for three different species. We may want to compare position measures for the three species by simply picturing their respective box plots. To do so, boxplot( ) should be called connecting iris$Sepal.Length with iris$Species by means of the symbol ∼. This way, the boxplot( ) function separates Sepal.Length into as many subsets as different values of the second variable (the number of distinct species).



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
ChatGPT in the Classroom: The Future of Educational AI: From Elementary to University - Transformative Strategies for Classrooms, Curriculum, and Creative Teaching with ChatGPT by Hussaini Saif(294772)
Weapons of Math Destruction by Cathy O'Neil(5800)
Cracking the GRE Premium Edition with 6 Practice Tests, 2015 (Graduate School Test Preparation) by Princeton Review(4008)
What It Really Takes to Get Into Ivy League and Other Highly Selective Colleges by Hughes Chuck(3528)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2840)
The Tyranny of Metrics by Jerry Z. Muller(2825)
The Marketing Plan Handbook: Develop Big-Picture Marketing Plans for Pennies on the Dollar by Robert W. Bly(2769)
Ultralearning by Scott Young(2715)
The Official Guide for GMAT Review 2015 with Online Question Bank and Exclusive Video by Graduate Management Admission Council (GMAC)(2621)
50 Economics Classics by Tom Butler-Bowdon(2394)
The Visual MBA by Jason Barron(1961)
The Inevitable by Kevin Kelly(1817)
Data Science for Business by Foster Provost & Tom Fawcett(1798)
Out of the Crisis by Deming W. Edwards(1743)
GMAT Official Guide 2018 Verbal Review by GMAC (Graduate Management Admission Council)(1679)
Cracking the LSAT, 2012 Edition by Princeton Review(1661)
The Personal MBA: Master the Art of Business by Josh Kaufman(1634)
The Conflict Resolution Phrase Book by Barbara Mitchell & Cornelia Gamlem(1628)
Maths and Stats for Web Analytics and Conversion Optimization by Himanshu Sharma(1552)
College Essays that Made a Difference by Princeton Review(1538)