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.

Confidence intervals 205−18 282sample estimates:difference in location146.5The 90% confidence interval, [−18,282], contains a value of ().This example would be improved if we had matched or paired data—that is, thesalaries <strong>for</strong> the same set of CEOs in the year 2000 and 2002—as thenFigure 7.8 Densities of 2000 and2002 CEO compensations indicatingsimilarly shaped distributions withpossible shiftdifferences in the sampling would be minimized. If that case is appropriate, then addingthe argument paired=TRUE to wilcox. test() computes a confidence interval based on thesigned-rank statistic.7.6.4 Problems7.29 The commuter revisited: the commuter records 20 commute times to gauge hermedian travel time. The data has a sample median of 24 and is summarized in this stemand-leafdiagram:> stem(commutes)2 | 11122334444442 | 55693 | 113

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

Saved successfully!

Ooh no, something went wrong!