10.07.2015 Views

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Using</strong> R <strong>for</strong> introductory statistics 52Figure 2.9 Hinges, marked withdiamonds, are medians of left andright halves of the data. The left andright halves of data consist of n/2points when n is even, and (n−1)/2points when n is odd.This is different from the lower hinge, which from Figure 2.9 is seen to be the seconddata point after sorting.The IQR is the difference between the third and first quartiles. The H-spread is used<strong>for</strong> the difference of the upper and lower hinges. Some books call the IQR the Q-spread;others refer to the H-spread as the IQR.2.2.5 Problems2.11 Read this stem-and-leaf plot. First find the median by hand. Then enter in the dataand find the median using median().The decimal point is 1 digit(s) to the right of the |8 | 0289 | 11557810 | 166911 | 012.12 Figure 2.10 contains a strip chart of a data set. Estimate the median, mean, and 10%trimmed mean. Enter in the data as accurately as you can and then check your estimatesusing the appropriate function in R.Figure 2.10 Strip chart of a data set

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!