Comprehensive Quantitative Reasoning and Introductory Statistics Notes
Frequency Tables, Relative Frequency Tables, & Bar Graphs
Variable Types:
Categorical (Qualitative) Variable: Consists of names, labels, or non-numerical categories.
Numerical (Quantitative) Variable: Consists of measured numerical values.
Frequency and Frequency Tables:
Frequency: The number of observations in a specific category.
Frequency Table: A structured tabular representation listing each category alongside its corresponding frequency.
Dataset: Top 22 Women in the 2013 Chicago Marathon:
Data entries: Kenya, Ethiopia, Kenya, Ethiopia, U.S., U.S., U.S., Ethiopia, U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S., U.S.
Variable type: Categorical (Country of origin).
Frequency counts:
U.S.:
Ethiopia:
Kenya:
Total observations ():
Relative Frequency and Relative Frequency Tables:
Relative Frequency Formula:
Relative Frequency Calculations:
U.S.:
Ethiopia:
Kenya:
Property: The sum of all category relative frequencies always equals ().
Graphical Representations:
Frequency Bar Graph: Displays categories on the horizontal axis and counts/frequencies on the vertical axis.
Relative Frequency Bar Graph: Displays categories on the horizontal axis and relative frequencies (proportions) on the vertical axis.
Set Operations & Probabilities on Frequency Data:
AND Operation: Represents the simultaneous occurrence of multiple categories. Frequency of women from U.S. AND Ethiopia equals because the categories are mutually exclusive.
OR Operation: Represents the union of categories. Frequency of women from U.S. OR Ethiopia equals .
Relative Frequency of OR: Relative frequency of women from U.S. OR Ethiopia equals
Complement (NOT Operation): Relative frequency of women NOT from the U.S. calculated two ways:
Subtracting from total relative frequency:
Summing remaining categories:
Pie Charts and Two-Way Tables
Pie Charts:
Definition: A circular disk graph divided into slices where each slice's proportional area equals the relative frequency of the category it represents.
Dataset: Technology Unplugging Frequency ( American Adults):
Never: Frequency = , Relative Frequency = (
A few times a year: Frequency = , Relative Frequency = (
Once a month: Frequency = , Relative Frequency = (
Once a week: Frequency = , Relative Frequency = (
A few times a week: Frequency = , Relative Frequency = (
Daily: Frequency = , Relative Frequency = (
Total count:
Questions and Analysis:
Proportion who never unplug: (
Proportion who do NOT unplug daily: (
Proportion who unplug a few times a year OR once a month: (
Sampling Frame Limitations: Concluding that of all Internet users unplug a few times per year is flawed because the survey sampled American adults general population, not specifically Internet users.
Two-Way Tables:
Definition: Displays frequencies for two categorical variables simultaneously. One variable's categories are listed vertically along rows, and the second variable's categories are listed horizontally across columns.
Dataset: Income Class and Health Level ( American Adults):
Upper Income: Excellent = , Good = , Poor = , Row Total =
Middle Income: Excellent = , Good = , Poor = , Row Total =
Lower Income: Excellent = , Good = , Poor = , Row Total =
Column Totals: Excellent = , Good = , Poor = , Grand Total =
Calculations:
Proportion of lower-income adults with excellent health:
Proportion of those in excellent health who are upper-income:
Proportion of all respondents who are upper-income:
Proportion of respondents who are middle-income AND in good health:
Proportion of respondents who are in poor health OR lower-income:
Dotplots, Stemplots, and Time-Series Plots
Numerical Data Classification:
Discrete Variable: A quantitative variable with distinct gaps between successive possible values (e.g., counts, integer age values).
Continuous Variable: A quantitative variable that can take on any real value within a given interval.
Dotplots:
Definition: Graph where individual observations are plotted as dots above a number line, stacking dots vertically when values repeat.
Dataset: Student Ages ():
Observations:
Variable type: Discrete.
Frequency distribution:
years old:
years old:
years old:
years old: (largest frequency / mode)
years old:
years old:
years old:
years old:
years old:
Proportion between and years old inclusive:
Proportion at least years old:
Outlier: An observation markedly smaller or larger than the rest of the dataset. For this age dataset, is the outlier, representing an older non-traditional student.
Percentile: The percentile is a value greater than or equal to approximately of the observations.
Percentile rank of a -year-old: Count of observations is . Percentile = percentile.
Stemplots (Stem-and-Leaf Plots):
Definition: Separates each numerical observation into two parts: leaf (the rightmost single digit) and stem (the leading digits).
Split Stemplot: Expands detail by listing leaves \text{--} in one row and leaves \text{--} in a second row for each stem digit.
Dataset: Kia Highway Gas Mileages in ():
Values:
Variable type: Continuous (though reported as whole numbers).
Frequency of :
Maximum mileage (Optima Hybrid):
Percentile of : Values : ( values). percentile.
Median ( percentile): Sorted middle values ( and observations) are both , giving a center measurement of .
Time-Series Plots:
Definition: Plots quantitative observations against time, with time on the horizontal axis and the measured variable on the vertical axis.
Dataset: U.S. Cell Phone-Only Households Percentage:
:
:
:
:
:
:
Trend Analysis:
Overall trend: Monotonically increasing.
Greatest 2-year change: increase (occurring from \text{--} and \text{--}).
Change from \text{--}: percentage point increase.
Projection to assuming linear continuation: in .
Histograms
Definition: A bar graph for continuous or discrete numerical variables where class intervals (bins) are represented on the horizontal axis and frequencies (or relative frequencies) on the vertical axis.
Class Width: The difference between successive lower class limits. Each bar spans from its lower class limit up to, but not including, its upper class limit.
Four Characteristics of a Numerical Distribution:
Outliers: Identify any individual data points that deviate substantially from the overall distribution pattern.
Center: Locate the midpoint or percentile (median) of the distribution.
Shape:
Modality: Unimodal (one peak/mound), bimodal (two distinct peaks), or multimodal (more than two peaks).
Skewness and Tails:
Left Tail: Area to the left of the percentile.
Right Tail: Area to the right of the percentile.
Skewed Left: Left tail is significantly longer than the right tail.
Skewed Right: Right tail is significantly longer than the left tail.
Symmetric: Left and right tails are approximate mirror images of each other.
Spread: Describe variability or extent of dispersion across observations.
Density Histograms:
Definition: A histogram where the vertical axis represents density, constructed such that the area of each bar equals the relative frequency of that class.
Fundamental Rule: The sum of the areas of all bars in a density histogram identically equals .
Misleading Graphical Displays of Data
Impact of Class Width in Histograms: Setting class widths excessively large obscures important underlying patterns, features, and modes in the distribution.
Impact of Non-Zero Vertical Axis Starting Point:
Bar Graphs: Beginning the vertical scale at a non-zero value visually exaggerates absolute differences between category heights rather than depicting true relative proportions.
Time-Series Plots: Non-zero baseline origins artificially magnify minor fluctuations and shifts in output variables over time.
Measures of Center
Median ( or ):
The percentile of a dataset ordered from smallest to largest.
If sample size is odd, median is the single middle observation.
If sample size is even, median is the mean of the two middle observations.
Property: The median is resistant to extreme observations and outliers.
Mean ():
The arithmetic average calculated as the sum of all observations divided by total count :
Interpreted as the equal distribution or "fair share" value.
Property: The mean is highly sensitive to outliers and extreme values.
Mode:
The observation value(s) occurring with the maximum frequency.
A dataset can have one mode, multiple modes, or no mode (if all values occur with frequency ).
Dataset: Academy Award Nominations for Top 10 Actresses:
Data:
Ordered:
Median: nominations.
Mean: nominations.
Mode: nominations (occurs times).
Skewness and Measures of Center Relationships:
Skewed Right Distribution: The extreme values pull the mean upward, making . The median is preferred for describing center.
Skewed Left Distribution: The extreme values pull the mean downward, making . The median is preferred for describing center.
Symmetric Distribution: . Both measures serve as reliable indicators of central tendency.
Real-World Application: American family net worth data exhibits extreme right skewness. Mean net worth grows rapidly due to high wealth concentration at the top, whereas median net worth remains stable, making median the appropriate center measure.
Measures of Spread
Range ():
Calculated as the difference between maximum and minimum observations:
Standard Deviation ():
Measures the average distance of data points from the sample mean:
The larger the dispersion in a dataset, the larger the standard deviation.
Variance ():
The square of the sample standard deviation ().
Dataset: Top 5 Most Streamed Songs in the U.S. (2013, in Millions):
Data:
Median:
Mean:
Range:
Standard Deviation:
Variance:
Empirical Rule (68-95-99.7 Rule):
Applies only to distributions that are unimodal and symmetric.
of observations lie within standard deviation of mean:
of observations lie within standard deviations of mean:
of observations lie within standard deviations of mean:
Application Example (Song Lengths): Sample size , Mean , Standard Deviation .
interval:
interval:
Center and Spread Selection Guidelines:
Unimodal & Symmetric Distributions: Report Mean for center and Standard Deviation for spread.
Skewed Distributions: Report Median for center and Range (or Interquartile Range) for spread.
Boxplots
Quartiles and Five-Number Summary:
First Quartile (): percentile.
Second Quartile ( or Median): percentile.
Third Quartile (): percentile.
Rule for Odd : Do not include the median in lower or upper halves when finding and
Five-Number Summary: Consists of .
Interquartile Range ():
Measures middle spread:
Outlier Detection Fences:
Outlier Definition: Any observation situated below the Left Fence or above the Right Fence.
Dataset: Ohio Wood Roller Coaster Ride Durations in Seconds ():
Ordered values:
Outliers: None (all values lie within ).
Determining Skewness from Boxplots (Unimodal Distributions):
Skewed Left: Left part of box is at least as long as right part AND left whisker (with outliers) is notably longer than right whisker.
Skewed Right: Right part of box is at least as long as left part AND right whisker (with outliers) is notably longer than left whisker.
Meaning of Probability
Probability Concepts:
Relative Frequency Approach: By running a random experiment a large number of times, the empirical relative frequency of an outcome stabilizes and estimates its probability.
Sample Space: The collection of all possible outcomes of a random process.
Event: A specific subset of outcomes in the sample space.
Equally Likely Outcomes Formula: where is total equally likely outcomes in the sample space, and is outcomes in event E$.\n\n* **Example: June 2018 Date Selection (30 total days)**:\n * P(\text{Monday}) = \frac{4}{30} \approx 0.1333\n * P(\text{weekend}) = \frac{9}{30} = 0.30\n * P(\text{first week}) = \frac{7}{30} \approx 0.2333\n * P(\text{date} > 20) = \frac{10}{30} \approx 0.3333\n * P(\text{Tuesday, the } 10\text{th}) = 0 (Impossible event, since June 10, 2018 was a Sunday).\n * P(\text{date} < 31) = 1 (Sure event, since June has 30 days).\n\n* **Fundamental Probability Axioms**:\n * 0 \le P(E) \le 1E\n * P(\text{Impossible Event}) = 0\n * P(\text{Sure Event}) = 1\n * The sum of probabilities of all simple single outcomes in the sample space equals 1\n\n# Complement and Addition Rules\n\n* **Complement Rule**:\n * **Complement (NOT EE\n * **Formula**:\n P(\text{NOT } E) = 1 - P(E)\n\n* **Disjoint Events & General Addition Rule**:\n * **Disjoint (Mutually Exclusive) Events**: Two events with no shared outcomes (P(E \text{ AND } F) = 0\n * **General Addition Rule**:\n P(E \text{ OR } F) = P(E) + P(F) - P(E \text{ AND } F)\n\n* **Dataset: Coffee/Tea/Neither Survey by Region (803 Adults)**:\n * Table Data:\n * Coffee (C10110216989461\n * Tea (T405210642240\n * Neither (N11392824102\n * Region Totals: NE = 152193303155803\n * **Probability Calculations**:\n * P(C) = \frac{461}{803} \approx 0.5741\n * P(\text{NOT } C) = 1 - \frac{461}{803} = \frac{342}{803} \approx 0.4259\n * P(C \text{ AND } W) = \frac{89}{803} \approx 0.1108\n * P(C \text{ OR } W) = \frac{461}{803} + \frac{155}{803} - \frac{89}{803} = \frac{527}{803} \approx 0.6563\n * P(\text{NOT } W) = 1 - \frac{155}{803} = \frac{648}{803} \approx 0.8070\n * P(C \text{ AND NOT } W) = \frac{101 + 102 + 169}{803} = \frac{372}{803} \approx 0.4633\n * P(C \text{ OR NOT } W) = \frac{461}{803} + \frac{648}{803} - \frac{372}{803} = \frac{737}{803} \approx 0.9178\n\n# Finding Probabilities for a Normal Distribution\n\n* **Normal Distribution Properties**:\n * Unimodal, bell-shaped, and symmetric.\n * Defined completely by mean \mu\sigma\n * \text{Mean} = \text{Median}, residing at peak center.\n * Total area under curve equals 1\n * Probability of selecting any single exact point value equals 0\n\n* **z-Score Formula**:\n z = \frac{x - \mu}{\sigma}\n * Measures standard deviations an observation lies above (positive zz) the mean.\n * Follows the Standard Normal Distribution (\mu = 0, \sigma = 1\n\n* **Dataset: Florida Death Row Inmate Ages (\mu = 48.4\,y\sigma = 11.0\,y)**:\n * Median age: 48.4\text{ years}\n * Between 37.459.4\mu \pm 1\sigma\approx 0.6868\%\n * Between 26.470.4\mu \pm 2\sigma0.9595\%\n * z33.5z = \frac{33.5 - 48.4}{11.0} = \frac{-14.9}{11.0} \approx -1.35\n * P(X < 33.5) = P(Z < -1.35) \approx 0.0885\n * P(X > 33.5) = 1 - P(X < 33.5) \approx 0.9115\n * P(33.5 < X < 48.4) = P(Z < 0) - P(Z < -1.35) = 0.5000 - 0.0885 = 0.4115\n * Calculator syntax: `normalcdf(lower, upper, mean, std_dev)`\n\n# Finding Values of Variables for Normal Distributions\n\n* **Converting z-score to Data Value x**:\n x = \mu + z \times \sigma\n\n* **Application Example: Pizza Delivery Times (\mu = 30\,min\sigma = 4\,min)**:\n * Delivery with z = 2x = 30 + 2(4) = 38\text{ minutes}\n * Delivery with z = -1.5x = 30 + (-1.5)(4) = 24\text{ minutes}\n * Cutoff time for slowest 10\%90\text{th}0.90 \rightarrow z \approx 1.28155x = 30 + 1.28155(4) \approx 35.13\text{ minutes}. Calculator command: `invNorm(area, mean, std_dev)`.\n\n* **Comparing Relative Positions & Unusual Values**:\n * **Dataset: HDL Cholesterol in Twentysomethings**:\n * Women: \mu = 55\,mg/dl\sigma = 14.8\,mg/dl\n * Men: \mu = 47\,mg/dl\sigma = 12.5\,mg/dl\n * Woman with 65\,mg/dlz = \frac{65 - 55}{14.8} \approx 0.68\n * Man with 60\,mg/dlz = \frac{60 - 47}{12.5} = 1.04\n * Comparison: The man has a higher relative HDL level because his z1.040.68).\n * **Definition of Unusual Observation**:\n * An observation is unusual if it lies more than 1.96|z| > 1.960.025\n * Unusual HDL threshold for men: Below 47 - 1.96(12.5) = 22.5\,mg/dl47 + 1.96(12.5) = 71.5\,mg/dl\n * Evaluation of woman with 90\,mg/dlz = \frac{90 - 55}{14.8} \approx 2.36$. Since , this is an unusual observation.
Scatterplots
Variables:
Explanatory Variable (): Independent variable used to explain or predict changes.
Response Variable (): Dependent variable measured to observe the response.
Format:
Dataset: Currency Denomination vs Life-span:
bill:
bill:
bill:
bill:
bill:
Explanatory: Bill Value (\$); Response: Life-span (years).
Direction of Association:
Positive Association: Response variable tends to increase as explanatory variable increases.
Negative Association: Response variable tends to decrease as explanatory variable increases.
Determining the Four Characteristics of an Association
Four Characteristics:
Shape: Linear, nonlinear, or no association.
Strength: Exact, strong, or weak (degree to which points align with curve/line).
Direction: Positive or negative.
Correlation Coefficient (): Numerical measure of strength and direction for linear relationships.
Properties of Linear Correlation Coefficient ():
indicates positive linear association; indicates negative linear association.
indicates no linear association.
or indicates perfect linear association.
Larger absolute value indicates stronger linear relationship.
Correlation vs Causation Warning:
Strong association does not prove causation.
Lurking Variable: A hidden background variable that simultaneously influences both explanatory and response variables, producing a false impression of direct cause-and-effect (e.g., outdoor temperature driving both ice cream sales and drowning deaths).
Modeling Linear Associations
Linear Model Form: Nonvertical line describing bivariate relationship:
Dataset: UA Undergrad GPA vs Weekly Alcohol Consumption:
Data:
Calculated Linear Model:
Predicted drinks for GPA: drinks.
Error Formula: Error for GPA:
Interpolation vs Extrapolation:
Interpolation: Predicting within the range of observed -values in the data.
Extrapolation: Predicting outside the range of observed -values.
Intercept Interpretations & Model Breakdown:
-intercept (): Predicted value when explanatory variable equals . For GPA dataset, implies a GPA student consumes drinks/week.
-intercept (): Setting drinks to yields
Model Breakdown: Occurs when a model yields predictions that are physically impossible or absurd (such as a GPA on a scale).
Graphing Equations of Lines and Linear Models
Solutions to Equations:
An ordered pair is a solution of an equation if replacing with and with produces a true statement.
Verification: For , checking pair : (True).
Slope-Intercept Form:
represents slope / constant rate of change.
represents the -intercept.
Rate of Change and Slope of a Line
Rate of Change Formula:
Constant Rate of Change & Slope:
When the rate of change between all point pairs is constant, an exact linear association exists.
This constant rate of change is called the slope ().
Increasing line: Positive slope ().
Decreasing line: Negative slope ().
Steepness: Measured by the absolute value of slope (). Larger corresponds to a steeper line.
Dataset: Tobramycin Medication Dosing Chart:
Points:
Rate of Change:
Interpretation: Dosing increases by for every increase in body weight.
Using Slope to Graph Equations of Lines and Linear Models
Graphing Procedure for :
Plot the -intercept at .
Use slope to locate a second point.
Draw a straight line extending through both points.
Application Example: On-Duty Firefighter Deaths:
Model: , where is years since 2010 (\text{--}).
Slope: deaths per year (on-duty deaths decreased by per year).
-intercept: (in 2010, firefighters died on duty).
Estimate for 2013 (): deaths.
Solving Linear Equations to Make Predictions
Algebraic Linear Equation Solving:
Example equation:
Expand terms:
Combine constants:
Isolate variable:
Dataset & Model: San Bruno Home Selling Prices:
Data:
Model:
Slope : Price increases by thousand () per additional square foot.
Predicting Square Footage for $\$950$ Thousand Price: Classification: Interpolation (since lies inside data domain ).
Predicting Price for Square Foot Condo: Classification: Extrapolation (since lies outside data domain ).