dr. serhat eren 1 3.3.1.3 other uses for bar charts bar charts are used to display data for...

19
Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative measure for each category. For example, a bar chart could be used to display and compare sales revenues for a sample of different software products. In this case, the y axis of the chart would represent the value of the variable being studied. 3.3 GRAPHICAL DISPLAYS OF DATA 3.3 GRAPHICAL DISPLAYS OF DATA

Upload: godfrey-mcdaniel

Post on 17-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren1

3.3.1.3 Other Uses for Bar ChartsBar charts are used to display data for

different categories where the data are some kind of quantitative measure for each category.

For example, a bar chart could be used to display and compare sales revenues for a sample of different software products. In this case, the y axis of the chart would represent the value of the variable being studied.

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 2: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren2

3.3.1.4 Creating a Pie Chart for Qualitative DataA Pie chart represents data in the form of

slices or sections of a circle.

Each slice represents a category and the size of the slice is proportional to the relative frequency of the category

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 3: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren3

3.3.2 Graphical Displays for quantitative DataThe tool used to display quantitative data is

called a histogram.

A histogram is very similar to a bar chart, but since numbers are naturally ordered, the x axis of the graph must be scaled to reflect this.

There are slight differences for dealing with integer and continuous data.

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 4: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren4

3.3.2.1 Histograms for Integer DataAs in a bar chart, you use a rectangle to

represent each possible data value, with the height of the bar corresponding to the frequency or relative frequency for that value.

The x axis must accommodate all of the possible values, whether or not there were any observations of the value.

The rectangles are centered on the data values as in a bar chart, but the bars are contiguous; that is, they touch each other.

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 5: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren5

A histogram for continuous data differs from the one for integer data in that each rectangle represents a class interval, which is a range of values.

For this reason, the rectangles are not centered on values, but begin and end at each of the class boundaries.

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 6: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren6

Page 7: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren7

Page 8: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren8

3.3.3 Displaying Small Data SetsThe rules for creating histograms are really

not suitable for data sets with less than 25 observations.

Often when we collect data we do not have more than 25 observations.

Is there a way to display these types of data sets graphically?

The answer is a graphical method called a dot-plot.

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 9: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren9

In a dot-plot, each observation is plotted as a point on a single, horizontal axis.

The axis is scaled so that each of the data points can be located uniquely on the axis.

When there is more than one observation with the same value the points are “stacked” on top of each other.

3.3 GRAPHICAL DISPLAYS OF DATA3.3 GRAPHICAL DISPLAYS OF DATA

Page 10: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren10

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

3.4.1 Describing Quantitative DataIn statistics, the features of interest for a set of

numerical data can be classified as center, shape, and variability.

The center of a set of data describes where, numerically, the data are centered or concentrated.

The shape of a set of data describes how the data are spread out around the center with respect to the symmetry or skewness of the data.

Page 11: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren11

The variability of a set of data describes how the data are spread out around the center with respect to the smoothness and magnitude of the variation.

Together these three features describe the distribution of the data.

To describe the data it is useful to picture the distribution of the data as being represented by a smooth curve that captures the "shape" of the histogram, Figure 3.5.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 12: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren12

Page 13: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren13

If you smooth out the plotted line you get a curve that looks like the one shown in Figure 3.6.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 14: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren14

The shape of a distribution concerns how the data are spread out on either side of the center, that is, whether they are symmetric or skewed.

When data are evenly spread out on both sides of the center, we describe the distribution of the data as symmetric.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 15: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren15

When the data are not evenly spread out on either side of the center then we refer to the distribution as being skewed.

Skewness has a direction associated with it, either left (negative) or right (positive).

The direction of the skew describes the side on which the distribution of the data covers a larger distance, that is, the direction in which the distribution "tails off" more slowly. Figure 3.8 shows both right and left skewed distributions.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 16: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren16

When data are skewed, either left or right, the tailing off of the data is continuous and gradual as shown in Figure 3.9a.

When the tailing off involves a gap in the data, a place where classes in the frequency histogram have no observations, as shown in Figure 3.9b, the data are not really skewed.

More likely the data you have contain some extreme or unusual observations.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 17: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren17

In addition to center and shape we would like to describe how much the data differ from the center or typical values.

At this point we can describe the variability of the distribution in two ways:

– the "smoothness" of the curve and

– the total spread of the data

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 18: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren18

When data are not very variable, the frequency of observations decreases steadily as you move away from the center.

Sometimes when data are highly variable, the distribution will be jagged.

Figures 3.10 and 3.11 show histograms with different degrees of variability.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA

Page 19: Dr. Serhat Eren 1 3.3.1.3 Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative

Dr. Serhat Eren19

3.4.2 Comparing Data DistributionsOne of the major reasons for doing

statistical analyses of data is to obtain facts for making informed decisions.

As a result, we often need to make comparisons between or among samples taken from different populations.

When comparing different data sets, we make those comparisons based on the qualities of the data you just learned: center, shape, and variability.

3.4 DESCRIBING AND COMPARING DATA3.4 DESCRIBING AND COMPARING DATA