chap 3 moodle u.pptx
Table of contents
- Descriptive statistics: Tabular and graphical presentations
- Exploratory data analysis: Bivariate descriptive analyses
- Case 3: Quantitative x Qualitative
- Measures of Location
- Measures of Distribution Shape
- Detecting Outliers
- Measures of Variability
- Measures of Association Between Two Variables
1. Descriptive statistics: Tabular and graphical presentations
1.1 Summarizing qualitative data
This section covers methods for summarizing qualitative data, which represents categories or labels rather than numerical values. The primary tools for this are frequency distributions, bar graphs, and pie charts.
A frequency distribution is a table that organizes data by showing the count of items within distinct, non-overlapping categories. This helps reveal patterns that are not obvious from the raw data.
- Relative frequency distribution: This table shows the proportion or fraction of the total data that falls into each category.
- Percent frequency distribution: This table presents the relative frequency multiplied by 100, indicating the percentage of data in each category.
A bar graph is a visual representation of qualitative data. It uses bars of equal width, with their heights corresponding to the frequency, relative frequency, or percent frequency of each category.
The bars are separated to highlight that each category is distinct.
A pie chart is another graphical tool for displaying relative frequencies of qualitative data. A circle is divided into sectors, where each sector's size is proportional to the relative frequency of its corresponding category.
1.2 Holiday Inn guest ratings example
This example illustrates the creation of a frequency distribution for qualitative data using guest ratings of accommodations.
The ratings provided by 20 guests were: Below Average, Above Average, Above Average, Average, Above Average, Average, Above Average, Average, Above Average, Below Average, Poor, Excellent, Above Average, Average, Above Average, Above Average, Below Average, Poor, Above Average, Average.
| Rating | Frequency |
|---|---|
| Poor | 2 |
| Below Average | 3 |
| Average | 5 |
| Above Average | 9 |
| Excellent | 1 |
The total frequency is 20.
The relative and percent frequencies are calculated as follows:
| Rating | Relative Frequency | Percent Frequency |
|---|---|---|
| Poor | 0.10 | 10% |
| Below Average | 0.15 | 15% |
| Average | 0.25 | 25% |
| Above Average | 0.45 | 45% |
| Excellent | 0.05 | 5% |
| Total | 1.00 | 100% |
A bar graph visually represents these ratings, with bars for each category and heights indicating their frequency.

A pie chart further illustrates the distribution of ratings, showing the proportion of each rating category as a sector of a circle. For instance, "Above Average" accounts for 45% of the ratings.
1.3 Ring charts
Ring charts are an alternative graphical presentation for qualitative variables, similar in concept to pie charts but with a hole in the center.
1.4 Univariate descriptive analysis with Excel
Excel can be used for univariate descriptive analysis. For qualitative variables, pivot tables can be created by dragging the variable into the 'Rows' area and its count into the 'Values' area.
A pie chart can then be inserted to visualize this data.
1.5 Summarizing quantitative data
This section focuses on methods for summarizing quantitative data, which involves numerical values. The techniques include frequency distributions, histograms, and cumulative distributions.
A frequency distribution for quantitative data groups numerical values into mutually exclusive and collectively exhaustive classes. This allows for a structured overview of the data's spread.
Guidelines for selecting the number of classes include using between 5 and 20 classes, with more classes generally needed for larger datasets. The class width should be chosen to adequately represent the data's variation without having too few data points per class.
A common method is to use the square root of the number of data points to estimate the number of classes.
For example, if data ranges from 10 to 90 with 40 data points, the range is 80. The square root of 40 is approximately 6.34, suggesting 6 or 7 classes. A class width of approximately 14 (80/6) would be suitable, leading to intervals like 10-24, 25-39, and so on.
1.6 Auto repair parts cost example
This example demonstrates creating a frequency distribution for the cost of parts used in 50 engine tune-ups. The costs are rounded to the nearest dollar.
If six classes are chosen for the parts costs, rang
