Comprehensive Notes on Frequency Distributions, Histograms, and Data Analysis
Class Limits, Boundaries, and Widths
Class Limits:
Lower Class Limits: The smallest numbers that belong to the different classes.
Upper Class Limits: The largest numbers that belong to the different classes.
Class Boundaries (Edges):
Class boundaries represent the exact numerical edges separating adjacent classes, preventing gaps between class limits.
Lower Edge Calculation: Calculated by determining the midpoint between the lower limit of a class and the upper limit of the preceding class. For a class with lower limit , the lower boundary edge is .
Upper Edge Calculation: For a class with upper limit , the upper boundary edge is .
Class Width:
The difference between two consecutive lower class limits or two consecutive upper class limits.
Must remain constant across all classes in a frequency distribution.
Example: For lower limits and , the class width is:
McDonald's Drive-Thru Service Wait Time Dataset ():
Class 1 (): Frequency =
Class 2 (): Frequency =
This interval contains the highest frequency. Most customer wait times fall in this class.
Converting to minutes gives a typical customer wait time of approximately .
Class 3 (): Frequency =
Class 4 (): Frequency =
Class 5 (): Frequency =
Total Frequency Sum:
Step-by-Step Construction of Frequency Distributions
Class Selection Procedure:
Select Lower Class Limit of First Class: Choose the smallest raw data value or a convenient value slightly lower than the minimum.
Select Target Class Count: Decide on the number of classes to construct. Standard frequency distributions generally use between and classes.
Compute Class Width:
Round Up Class Width: Always round the calculated class width UP to ensure all raw data values fit into classes without omission or boundary errors.
Construct Class Limits: List consecutive lower class limits by adding the class width sequentially. Construct upper class limits accordingly.
Count Class Frequencies: Tally the raw data points belonging to each distinct class interval.
Rules for Data Fitting:
No Overlap: Classes must be mutually exclusive. Every single raw data value must fit into exactly one class.
No Omissions: Classes must be exhaustive. No data values may be left out unless explicitly instructed.
Constructing Frequency Distributions in Excel
Step-by-Step Excel Procedure:
Step 1: Enter all raw data observations into a single continuous column (e.g.,
A1:A51).Step 2: Enter upper class limits (bin boundaries) into a separate adjacent column (e.g.,
C2:C6).Step 3: Enter the array formula
=FREQUENCY(data_array, bins_array).Example formula:
=FREQUENCY(A1:A51, C2:C6)
Step 4: Select the output cell range, complete the array formula, and label output columns clearly.
Excel Function Definitions:
Data Array: The cell range containing all original quantitative raw data values.
Bin Array: The cell range containing the upper limits of each class.
Normal Distributions, Data Gaps, and Penny Weight Analysis
Characteristics of Normal Distributions:
Displays an approximately bell-shaped symmetric curve.
Frequencies start low, increase to one or two high peak frequencies near the center, and symmetrically decrease back to low frequencies.
The left and right sides of the distribution form mirror images.
Gaps in Frequency Distributions:
A gap occurs when one or more intermediate classes have a frequency equal to .
Structural Meaning: Gaps strongly suggest that data points originate from two distinct sub-populations or groups (though multi-group data does not always produce gaps).
Penny Weight Case Study ( Pennies):
Class : Frequency = (or ) pennies
Class : Frequency = pennies (GAP)
Class : Frequency = pennies (GAP)
Class : Frequency = pennies (GAP)
Class : Frequency = pennies
Class : Frequency = pennies (Highest Frequency Peak)
Class : Frequency = pennies
Total Sum Calculation:
Analytical Findings:
The typical weight cluster centers around , where the frequency peaks at
A multi-class gap occurs between and
Because of the prominent gap and dual clustering, this distribution is not normal.
Relative Frequency Distributions and Percentage Conversions
Relative Frequency Formula:
McDonald's Wait Time Relative Frequency Table ():
Class :
Class :
Class :
Class :
Class :
Rules for Relative Frequencies:
Percentage Conversion: Convert relative frequency decimals to percentages by multiplying by (e.g., ).
Reporting Standards: Always explicitly output percentage values (48\%$) when questions request percentages, rather than stopping at decimal form (0.48).\n * **Sum Constraint**: The sum of all relative frequencies in a distribution must equal 1.00100\%.\n\n# Cumulative Frequency and Running Totals\n\n* **Definition**:\n * Cumulative frequency (running total) sums the frequency of a given class with the frequencies of all preceding classes.\n\n* **McDonald's Wait Time Cumulative Frequency Construction (N = 50)**:\n * **Less than 125\,\text{seconds}11\n * **Less than 175\,\text{seconds}11 + 24 = 35\n * **Less than 225\,\text{seconds}35 + 10 = 45\n * **Less than 275\,\text{seconds}45 + 3 = 48\n * **Less than 325\,\text{seconds}48 + 2 = 50\n\n* **Cumulative Property**: The cumulative frequency of the final class must equal the total sample size (N = 50).\n\n# Histograms and Graphical Data Presentation\n\n* **Definition & Purpose**:\n * A histogram is a graphical representation of quantitative data using adjacent bars derived from a frequency distribution.\n * Used to analyze distribution shape, estimate central tendency and spread, and identify outliers.\n\n* **Structural Elements of a Histogram**:\n * **Horizontal Axis (x-axis)**: Represents quantitative classes (class limits or boundaries).\n * **Vertical Axis (y-axis)**: Represents frequencies or relative frequencies.\n * **Bar Heights**: Equal to class frequencies or relative frequencies.\n * **Bar Spacing Rule**: Adjacent bars must touch without gaps, unless an actual gap exists in the underlying data (a class frequency of 0$$).
Software Chart Editing (Excel):
Default bar charts created by spreadsheet software place space between bars.
To turn default bar graphs into accurate histograms, chart settings must be edited to remove or minimize gap width between adjacent bars so that they touch.