Sta220 - Statistics

54
Sta220 - Statistics Mr. Smith Room 310 Class #3

description

Sta220 - Statistics. Mr. Smith Room 310 Class #3. Section 2.1-2.2. Lesson Objectives. You will be able to: Describe Qualitative Data with Graphs Describe Quantitative Data with Graphs. Objective 1. Describe Qualitative Data with Graphs. Describing Data. - PowerPoint PPT Presentation

Transcript of Sta220 - Statistics

Sta220 - Statistics Mr. SmithRoom 310Class #3

Section 2.1-2.2

1-3

Lesson ObjectivesYou will be able to:

1. Describe Qualitative Data with Graphs

2. Describe Quantitative Data with Graphs

1-4

Objective 1

• Describe Qualitative Data with Graphs

Describing Data

Two methods for describing data are presented in this chapter, one graphical and the other numerical.

Qualitative data are nonnumerical in nature; thus, the value of a qualitative variable can only be classified into categories called classes.

A qualitative variable with three classes (X, Y, and Z) is measured for each of 20 units randomly sampled from a target population. The data (observed class for each unit are as follows:

Classes Frequency Relative Frequency

Class Percentage

X 0.4 Y Z 3 Total 20

TYPES OF GRAPHS

Three of the most widely used graphical methods for describing qualitative data: bar graphs, pie chart, and Pareto Diagram.

When using a bar graph, the categories (classes) of the qualitative variable are represented by bars, where the height of each bar is either the class frequency, class relative frequency, or class percentage.

Bar GraphClasses Frequency

Relative Frequency

Percentage

X 8 0.4 40%

Y 9 0.45 45%

Z 3 0.15 15%

Total 20 1 100%

Bar Chart

Restaurant Complaints Complaint Count

Overpriced 789

Small portions 621

Wait time 109

Food is tasteless 65

No atmosphere 45

Not clean 30

Too noisy 27

Food is too salty 15

Unfriendly staff 12

Food not fresh 9

Frequency Bar Chart

Pie Chart

ClassesRelative

Frequency

X 0.4

Y 0.45

Z 0.15

Total 1

Pie Chart

Restaurant Complaints

Complaint Count PercentOverpriced 789 45.81882

Small portions 621 36.06272

Wait time 109 6.329849

Food is tasteless 65 3.774681

No atmosphere 45 2.61324

Not clean 30 1.74216

Too noisy 27 1.567944

Food is too salty 15 0.87108

Unfriendly staff 12 0.696864

Food not fresh 9 0.522648

Pareto diagram is a bar graph with the categories (classes) of the qualitative variable (i.e., the bars) arranged by height in descending order from left to right. The goal of the Pareto diagram is to make it easy to locate the “most important” categories – those with the largest frequencies.

Classes CountCumulative

%X 9 45Y 8 85Z 3 100

Pareto DiagramComplaint Count Cumulative %

Overpriced 789 45.8

Small portions 621 81.9

Wait time 109 88.2

Food is tasteless 65 92.0

No atmosphere 45 94.6

Not clean 30 96.3

Too noisy 27 97.9

Food is too salty 15 98.8

Unfriendly staff 12 99.5

Some Bad/Misleading Graphs

Misleading Graphs

A survey was conducted to determine what food would be served at the French Club Party. Explain how the following graph is misleading.

• The ratio of the heights of bars within each category does not reflect the actual ratio.

• There is an implied precision that is unrealistic. (To the penny really?)• The percentages are computed incorrectly. A doubling of costs is only

100% increase.

Sta220 - Statistics Mr. SmithRoom 310Class #4

Section 2.2-2.4

1-29

Lesson ObjectivesYou will be able to:

1. Describe Quantitative Data with Graphs

2. Use Summation Notation

3. Understanding Central Tendency

Lesson Objective # 2: Describe Quantitative Data with Graphs

Recall that quantitative data sets consist of data that are recorded on a meaningful numerical scale. To describe, summarize, and detect patterns in such data, we can use three graphical methods: dot plots, stem-and-leaf displays and histograms.

Test Scores

56 59 64 65 69 70 71 73 76 77 78

80 82 82 85 86 91 91 92 92 95 98 99

Dot PlotWhen using a dot plot, the numerical value of each quantitative measurement in the data set is represented by a dot on a horizontal scale. When data values repeat, the dots are placed above one another vertically. The dot plot condenses the data by grouping all value that are the same.

Dot Plot

Stem-and-Leaf

The stem-and-leaf display condenses the data by grouping all data with the same stem. The possible stems are listed in order in a column. The leaf for each quantitative measurement in the data set is placed in the corresponding stem row. Leaves for observations with the same stem value are listed in increasing order horizontally.

Decimal point is 1 digit(s) to the right of the colon.5 : 696 : 46 : 597 : 0137 : 6788 : 0228 : 569 : 11229 : 589

Histogram

When using a histogram, the possible numerical values of the quantitative variable are partitioned into class intervals, each of which has the same width. These intervals form the scale of the horizontal axis. A vertical bar is placed over each class interval, with the height of the bar equal to either the class frequency or class relative frequency. When constructing histograms, use more classes as the number of values in the data set gets larger.

Determining the Number of Classes in a Histogram

Number of Observations in

Data Set

Number of Classes

Fewer than 25 5-6

25-50 7-14

More than 50 15-20

Lesson Objective # 3: Use Summation Notation

= 5 +1 + 3 + 2 + 1 = 12

• Lesson Objective # 4: Understanding Central Tendency

The central tendency of the set of measurements – that is, the tendency of the data to cluster, or center, about certain numerical values

The variability of the set of measurements – that is, the spread of the data.

There are three measures of central tendency: mean, median and mode.

MEAN

MEDIAN

• The median of a quantitative data is the middle number when the measurements are arranged in ascending (or descending) order.

Calculating a Sample Median ΜArrange the n measurements from the smallest to the largest. 1.If n is odd, Μ is the middle number.2.If n is even, Μ is the mean of the middle two numbers.

 NOTE: Remember to order the data before calculating a value for the median

MODE

The mode is the measurement that occurs most frequently in the data set. Mode is the only measure of center that has to be an actual data value in the samples.

NOTE: For some quantitative data sets, the mode may not be very meaningful.

• The modal class is the measurement class containing the largest relative frequency. (Ex. Relative frequency histogram for quantitative data.)

SKEWED

A data set is said to be skewed if one tail of the distribution has more extreme observations than the other tail.