22
Lecture 19 Sec. 5.3.3 Tue, Feb 20, 2007 Measuring Variation – Boxplots

Measuring Variation – Boxplots

Embed Size (px)

DESCRIPTION

Measuring Variation – Boxplots. Lecture 19 Sec. 5.3.3 Tue, Feb 20, 2007. Boxplots. Boxplot – A graphical display of a five-number summary. Draw and label a scale representing the variable. Draw a box over the scale with its left and right ends at Q1 and Q3. - PowerPoint PPT Presentation

Citation preview

Page 1: Measuring Variation – Boxplots

Lecture 19Sec. 5.3.3Tue, Feb 20, 2007

Measuring Variation – Boxplots

Page 2: Measuring Variation – Boxplots

Boxplots

Boxplot – A graphical display of a five-number summary. Draw and label a scale representing the variable. Draw a box over the scale with its left and right ends

at Q1 and Q3. Draw a vertical line through the box at the median. Draw a left tail (whisker) from the box to the minimum. Draw a right tail from the box to the maximum.

Page 3: Measuring Variation – Boxplots

Example

Draw a boxplot of the sample

5, 20, 30, 45, 60, 80, 100, 140, 175, 200, 240.

Page 4: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Page 5: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Min Q1 Med Q3 Max

Page 6: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Min Med Max

Page 7: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Min Max

Page 8: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Max

Page 9: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Page 10: Measuring Variation – Boxplots

Example

0 20 60 80 100 120 140 160 180 200 220 24040

Page 11: Measuring Variation – Boxplots

Boxplots and Shape

What would a boxplot for a uniform distribution look like?

What would a boxplot for a symmetric distribution look like?

What would a boxplot for a right-skewed distribution look like?

Page 12: Measuring Variation – Boxplots

TI-83 – Boxplots

Press STAT PLOT. Select Plot1

Turn Plot 1 On. Select the Boxplot Type. Specify list L1.

Press WINDOW. Set minX and maxX appropriately.

Or press ZOOM. Select ZoomStat (#9) and press ENTER.

Press GRAPH.

Page 13: Measuring Variation – Boxplots

TI-83 – Boxplots

Press TRACE.Use the arrow keys to see the values of the

minimum, Q1, the median, Q3, and the maximum.

Page 14: Measuring Variation – Boxplots

Modified Boxplots

Modified boxplot – A boxplot in which the outliers are indicated.

Page 15: Measuring Variation – Boxplots

Modified Boxplots

Q1 Q3

Draw the box part of the boxplot as usual. Compute STEP = 1.5 IQR. The inner fences are at Q1 – STEP and Q3 +

STEP.

Page 16: Measuring Variation – Boxplots

Modified Boxplots

Q1 Q3

IQR

Draw the box part of the boxplot as usual. Compute STEP = 1.5 IQR. The inner fences are at Q1 – STEP and Q3 +

STEP.

Page 17: Measuring Variation – Boxplots

Modified Boxplots

Q1 Q3

IQR 1.5 IQR1.5 IQR

Draw the box part of the boxplot as usual. Compute STEP = 1.5 IQR. The inner fences are at Q1 – STEP and Q3 +

STEP.

Page 18: Measuring Variation – Boxplots

Modified Boxplots

Q1 Q3

IQR 1.5 IQR1.5 IQR

Lowerfence

Upperfence

Draw the box part of the boxplot as usual. Compute STEP = 1.5 IQR. The inner fences are at Q1 – STEP and Q3 +

STEP.

Page 19: Measuring Variation – Boxplots

Modified Boxplots

Extend the whiskers from the box to the smallest and largest values that are within the inner fences.

Any values that are outside the inner fences should be drawn as individual dots. These dots represent outliers.

Page 20: Measuring Variation – Boxplots

Example

Draw a modified boxplot of the sample

9, 12, 39, 40, 42, 46, 49, 54, 58, 60, 84.

Page 21: Measuring Variation – Boxplots

TI-83 – Modified Boxplots

Follow the same steps as for a regular boxplot, but for the Type, select the modified-boxplot icon, the first icon in the second row. It looks like a boxplot with a couple of extra dots.

Use the TI-83 to find a modified boxplot of the sample data

9, 12, 39, 40, 42, 46, 49, 54, 58, 75, 84.

Page 22: Measuring Variation – Boxplots

Example: DePaul University

For an example of modified boxplots, see DePaul University’s web page on retention.