Data Visualization: Summarizing Variables and Gas Efficiency using Graphics - Prof. R.L. G, Study notes of Statistics

Examples of various graphics used to summarize different variables, including height, weight, and alcohol consumption, as well as miles per gallon (mpg) ratings for cars produced in 1978. The graphics include stem-and-leaf plots, dot plots, and histograms, which help identify the distribution, frequency, and range of the data. The document also discusses the concept of skewed distributions and introduces the boxplot.

Typology: Study notes

Pre 2010

Uploaded on 09/17/2009

koofers-user-816
koofers-user-816 🇺🇸

8 documents

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Graphics
In class, we measured the following variables:
height, weight, age, sex, smoking, drinking, electricity.
Which graphics would help us summarize these variables? There are several choices,
and no single correct choice. But some choices might be more suitable to some
circumstances.
Here's a stem-and-leaf of the height:
62* | 00000
63* | 005
64* | 0000
65* | 00005
66* | 00
67* | 00
68* | 0000
69* | 000
70* | 0000
71* |
72* |
73* |
74* | 0
75* |
76* | 00
Here's a dot-plot of height:
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Data Visualization: Summarizing Variables and Gas Efficiency using Graphics - Prof. R.L. G and more Study notes Statistics in PDF only on Docsity!

Graphics

In class, we measured the following variables:

height, weight, age, sex, smoking, drinking, electricity.

Which graphics would help us summarize these variables? There are several choices,

and no single correct choice. But some choices might be more suitable to some

circumstances.

Here's a stem-and-leaf of the height:

Here's a dot-plot of height:

Frequency

0 2 4 6

6 2

7 6

Here's a histogram of weight:

Midpt. of weight class interv.

89.5 111.5 133.5 155.5 177.5 199.

0

. 1 . 2 . 3

And, finally, here's what the class said about alcohol:

    1. Dodge St. Regis
    1. Ford Fiesta
    1. Ford Mustang
    1. Linc. Continental
    1. Linc. Mark V
    1. Linc. Versailles
    1. Merc. Bobcat
    1. Merc. Cougar
    1. Merc. Marquis
    1. Merc. Monarch
    1. Merc. XR-7
    1. Merc. Zephyr
    1. Olds
    1. Olds Cutl Supr
    1. Olds Cutlass
    1. Olds Delta
    1. Olds Omega
    1. Olds Starfire
    1. Olds Toronado
    1. Plym. Arrow
    1. Plym. Champ
    1. Plym. Horizon
    1. Plym. Sapporo
    1. Plym. Volare
    1. Pont. Catalina
    1. Pont. Firebird
    1. Pont. Grand Prix
    1. Pont. Le Mans
    1. Pont. Phoenix
    1. Pont. Sunbird
    1. Audi
    1. Audi Fox
    1. BMW 320i
    1. Datsun
    1. Datsun
    1. Datsun
    1. Datsun
    1. Fiat Strada
    1. Honda Accord
    1. Honda Civic
    1. Mazda GLC
    1. Peugeot
    1. Renault Le Car
    1. Subaru
    1. Toyota Celica
    1. Toyota Corolla
    1. Toyota Corona
    1. VW Dasher
    1. VW Diesel
    1. VW Rabbit
    1. VW Scirocco
    1. Volvo

We'll demonstrate some graphical summaries of these data.

Dotplot

One dot for each observation. The vertical axis gives you the values of mpg. The

horizontal axis (labeled "frequency") just tells you how often each value occurs.

We get the sense that mpg's range from a low of 12 to a high of 41, and that "typical"

values are somewhere closer to 12, maybe around 19 or 20.

Stem & Leaf

1t | 22 1f | 44444455 1s | 66667777

  1. | 88888888899999999 2* | 00011111 2t | 22222333 2f | 444455555 2s | 666
  2. | 8889 3* | 001 3t | 3f | 455 3s |

Frequency

0 5 10

12

41

Histogram with 50 bins:

Histogram with 6 bins:

Mileage (mpg)

10 20 30 40

0

.

Mileage (mpg)

10 20 30 40

0

.

Boxplot

10

20

30

40

Mileage (mpg)

Mileage (mpg)

10 20 30 40

0

.

.

.

.