Docsity

0110-Transcript-Boxplots.pdf, Study notes of Advanced Data Analysis

Toggle sidebar
bg1
Boxplots๎˜ƒare๎˜ƒa๎˜ƒgraphical๎˜ƒdisplay๎˜ƒbased๎˜ƒupon๎˜ƒthe๎˜ƒfiveโ€number๎˜ƒsummary๎˜ƒand๎˜ƒare๎˜ƒvery๎˜ƒ
commonly๎˜ƒused๎˜ƒto๎˜ƒcompare๎˜ƒthe๎˜ƒdistributions๎˜ƒof๎˜ƒa๎˜ƒquantitative๎˜ƒvariable๎˜ƒfor๎˜ƒmultiple๎˜ƒgroups.
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download 0110-Transcript-Boxplots.pdf and more Study notes Advanced Data Analysis in PDF only on Docsity!

Boxplots are a graphical display based upon the fiveโ€number summary and are very commonly used to compare the distributions of a quantitative variable for multiple groups.

Recall the fiveโ€number summary consists of the minimum, Maximum, first and third quartiles (Q1 and Q3) and the median. These values break down the data into four equal parts of 25% each. In addition, recall the method for locating the potential and extreme outliers. We outlier need neighbor to know before the five proceedingโ€number summary, to sketch (^) aand boxplot any outliers for a given along dataset. with their closest nonโ€

Here is the histogram for this data. The outliers are clearly visible. Our calculations and display seem to agree. This is often but not always the case.

To sketch a boxplot we need

  • โ€ข ToTo knowidentify The any five outliersโ€number (although summary it isnโ€™t necessary it is good to also know which are extreme)
  • And to know the nearest neighbor(s) to any outliers. Here is a review of the values for this data

To summarize: the following information is visually depicted in the boxplot:

  • โ€ข thethe fiverange number and IQR summary (red) (blue)
  • outliers (green)

We mentioned that boxplots are very useful for comparing groups. Here is a comparison of the distributions of ages of best actor and actress Oscar winners. The actresses. primary difference is that overall, the distribution of ages is higher for actors than

The slightly variation smaller is thansomewhat that of similar. males. OverallIf we ignored the females the outliers, range is the larger, variation however in the their two IQR is distributions would be fairly similar.

Before moving on we would like to point out a few comments about shape. It However, is difficult we if cannot seeimpossible aspects toof tellskewness and whether a distributionsymmetry. is unimodal from a boxplot.

A perfectly symmetric distribution would have a boxplot in which the length of the whiskers (outer the box quartiles), exactly in including half. any outliers, are exactly the same length and the median splits

The to being closer symmetric. the boxplot comes to satisfying those requirements, the closer the distribution is

In about this thecase, same we have and thea fairly median symmetric splits the distribution box near wherethe center. the lengths of the whiskers are

Notice that the tighter the central 50% in the box, the more gathered the data will be near the center. It is an excellent exercise to view the histograms and boxplots for a wide variety of shapes of data to see how they are connected.

Here we have a skewed right distribution. The lower tail and lower half of the box are much smaller than their upper counter parts. Each division represents 25% of the data and so the long upper half of the box and the long upper the lower tail withhalf oftwo the outliers box and shows lower the whisker. data in those areas are more stretched out than for

50% the median of the data and isthe below maximum the median โ€“ a MUCH in a verylarger small range. range and 50% of the data are between

Learning to understand the information displayed in these two types of displays is critical to exploratory data analysis for one quantitative variable.