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.: 1717

      • Ethiopia: 33

      • Kenya: 22

      • Total observations (nn): 2222

  • Relative Frequency and Relative Frequency Tables:

    • Relative Frequency Formula:         Relative Frequency=Frequency of CategoryTotal Number of Observations\text{Relative Frequency} = \frac{\text{Frequency of Category}}{\text{Total Number of Observations}}

    • Relative Frequency Calculations:

      • U.S.: 1722≈0.773\frac{17}{22} \approx 0.773

      • Ethiopia: 322≈0.136\frac{3}{22} \approx 0.136

      • Kenya: 222≈0.091\frac{2}{22} \approx 0.091

    • Property: The sum of all category relative frequencies always equals 11 (0.773+0.136+0.091=1.0000.773 + 0.136 + 0.091 = 1.000).

  • 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 00 because the categories are mutually exclusive.

    • OR Operation: Represents the union of categories. Frequency of women from U.S. OR Ethiopia equals 17+3=2017 + 3 = 20.

    • Relative Frequency of OR: Relative frequency of women from U.S. OR Ethiopia equals 2022≈0.909\frac{20}{22} \approx 0.909

    • Complement (NOT Operation): Relative frequency of women NOT from the U.S. calculated two ways:

      1. Subtracting from total relative frequency: 1−0.773=0.2271 - 0.773 = 0.227

      2. Summing remaining categories: 3+222=522≈0.227\frac{3 + 2}{22} = \frac{5}{22} \approx 0.227

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 (87198719 American Adults):

    • Never: Frequency = 37493749, Relative Frequency = 37498719≈0.43\frac{3749}{8719} \approx 0.43 (43%43\%

    • A few times a year: Frequency = 14821482, Relative Frequency = 14828719≈0.17\frac{1482}{8719} \approx 0.17 (17%17\%

    • Once a month: Frequency = 349349, Relative Frequency = 3498719≈0.04\frac{349}{8719} \approx 0.04 (4%4\%

    • Once a week: Frequency = 523523, Relative Frequency = 5238719≈0.06\frac{523}{8719} \approx 0.06 (6%6\%

    • A few times a week: Frequency = 872872, Relative Frequency = 8728719≈0.10\frac{872}{8719} \approx 0.10 (10%10\%

    • Daily: Frequency = 17441744, Relative Frequency = 17448719≈0.20\frac{1744}{8719} \approx 0.20 (20%20\%

    • Total count: 87198719

    • Questions and Analysis:

      • Proportion who never unplug: 0.430.43 (43%43\%

      • Proportion who do NOT unplug daily: 1−0.20=0.801 - 0.20 = 0.80 (80%80\%

      • Proportion who unplug a few times a year OR once a month: 0.17+0.04=0.210.17 + 0.04 = 0.21 (21%21\%

      • Sampling Frame Limitations: Concluding that 17%17\% 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 (24522452 American Adults):

    • Upper Income: Excellent = 223223, Good = 228228, Poor = 5151, Row Total = 502502

    • Middle Income: Excellent = 412412, Good = 592592, Poor = 283283, Row Total = 12871287

    • Lower Income: Excellent = 127127, Good = 268268, Poor = 268268, Row Total = 663663

    • Column Totals: Excellent = 762762, Good = 10881088, Poor = 602602, Grand Total = 24522452

    • Calculations:

      • Proportion of lower-income adults with excellent health: 127663≈0.1916\frac{127}{663} \approx 0.1916

      • Proportion of those in excellent health who are upper-income: 223762≈0.2927\frac{223}{762} \approx 0.2927

      • Proportion of all respondents who are upper-income: 5022452≈0.2047\frac{502}{2452} \approx 0.2047

      • Proportion of respondents who are middle-income AND in good health: 5922452≈0.2414\frac{592}{2452} \approx 0.2414

      • Proportion of respondents who are in poor health OR lower-income:             Total Poor+Total Lower Income−Overlap (Poor AND Lower Income)Grand Total=602+663−2682452=9972452≈0.4066\frac{\text{Total Poor} + \text{Total Lower Income} - \text{Overlap (Poor AND Lower Income)}}{\text{Grand Total}} = \frac{602 + 663 - 268}{2452} = \frac{997}{2452} \approx 0.4066

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 (n=25n = 25):

      • Observations: 18,18,24,20,19,19,17,22,18,18,20,28,20,20,18,19,19,21,25,20,24,21,21,20,2218, 18, 24, 20, 19, 19, 17, 22, 18, 18, 20, 28, 20, 20, 18, 19, 19, 21, 25, 20, 24, 21, 21, 20, 22

      • Variable type: Discrete.

      • Frequency distribution:

        • 1717 years old: 11

        • 1818 years old: 55

        • 1919 years old: 44

        • 2020 years old: 66 (largest frequency / mode)

        • 2121 years old: 33

        • 2222 years old: 22

        • 2424 years old: 22

        • 2525 years old: 11

        • 2828 years old: 11

      • Proportion between 2020 and 2222 years old inclusive: 6+3+225=1125=0.44\frac{6 + 3 + 2}{25} = \frac{11}{25} = 0.44

      • Proportion at least 2424 years old: 2+1+125=425=0.16\frac{2 + 1 + 1}{25} = \frac{4}{25} = 0.16

      • Outlier: An observation markedly smaller or larger than the rest of the dataset. For this age dataset, 2828 is the outlier, representing an older non-traditional student.

      • Percentile: The kthk\text{th} percentile is a value greater than or equal to approximately k%k\% of the observations.

      • Percentile rank of a 2121-year-old: Count of observations ≤21\le 21 is 1+5+4+6+3=191 + 5 + 4 + 6 + 3 = 19. Percentile = 1925=0.76→76th\frac{19}{25} = 0.76 \rightarrow 76\text{th} 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 00\text{--}44 in one row and leaves 55\text{--}99 in a second row for each stem digit.

    • Dataset: Kia Highway Gas Mileages in mpgmpg (n=28n = 28):

      • Values: 28,39,29,37,24,35,26,36,31,24,34,34,30,30,31,34,24,30,29,29,37,28,31,34,26,36,24,4028, 39, 29, 37, 24, 35, 26, 36, 31, 24, 34, 34, 30, 30, 31, 34, 24, 30, 29, 29, 37, 28, 31, 34, 26, 36, 24, 40

      • Variable type: Continuous (though reported as whole numbers).

      • Frequency of 30 mpg30\,mpg: 33

      • Maximum mileage (Optima Hybrid): 40 mpg40\,mpg

      • Percentile of 26 mpg26\,mpg: Values ≤26\le 26: 24,24,24,24,26,2624, 24, 24, 24, 26, 26 (66 values). 628≈0.2143→21.43rd\frac{6}{28} \approx 0.2143 \rightarrow 21.43\text{rd} percentile.

      • Median (50th50\text{th} percentile): Sorted middle values (14th14\text{th} and 15th15\text{th} observations) are both 30 mpg30\,mpg, giving a center measurement of 30 mpg30\,mpg.

  • 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:

      • 20032003: 2%2\%

      • 20052005: 8%8\%

      • 20072007: 13%13\%

      • 20092009: 22%22\%

      • 20112011: 31%31\%

      • 20132013: 39%39\%

    • Trend Analysis:

      • Overall trend: Monotonically increasing.

      • Greatest 2-year change: 9%9\% increase (occurring from 20072007\text{--}20092009 and 20092009\text{--}20112011).

      • Change from 20032003\text{--}20132013: 39%−2%=37%39\% - 2\% = 37\% percentage point increase.

      • Projection to 20232023 assuming linear continuation: 39%+37%=76%39\% + 37\% = 76\% in 20232023.

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:

    1. Outliers: Identify any individual data points that deviate substantially from the overall distribution pattern.

    2. Center: Locate the midpoint or 50th50\text{th} percentile (median) of the distribution.

    3. 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 50th50\text{th} percentile.

        • Right Tail: Area to the right of the 50th50\text{th} 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.

    4. 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 11.

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 (MM or Q2Q_2):

    • The 50th50\text{th} percentile of a dataset ordered from smallest to largest.

    • If sample size nn is odd, median is the single middle observation.

    • If sample size nn is even, median is the mean of the two middle observations.

    • Property: The median is resistant to extreme observations and outliers.

  • Mean (xˉ\bar{x}):

    • The arithmetic average calculated as the sum of all observations divided by total count nn:         xˉ=∑i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n}

    • 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 11).

  • Dataset: Academy Award Nominations for Top 10 Actresses:

    • Data: 5,7,7,6,10,19,6,5,6,125, 7, 7, 6, 10, 19, 6, 5, 6, 12

    • Ordered: 5,5,6,6,6,7,7,10,12,195, 5, 6, 6, 6, 7, 7, 10, 12, 19

    • Median: 6+72=6.5\frac{6 + 7}{2} = 6.5 nominations.

    • Mean: xˉ=5+7+7+6+10+19+6+5+6+1210=8310=8.3\bar{x} = \frac{5 + 7 + 7 + 6 + 10 + 19 + 6 + 5 + 6 + 12}{10} = \frac{83}{10} = 8.3 nominations.

    • Mode: 66 nominations (occurs 33 times).

  • Skewness and Measures of Center Relationships:

    • Skewed Right Distribution: The extreme values pull the mean upward, making Mean>Median\text{Mean} > \text{Median}. The median is preferred for describing center.

    • Skewed Left Distribution: The extreme values pull the mean downward, making Mean<Median\text{Mean} < \text{Median}. The median is preferred for describing center.

    • Symmetric Distribution: Mean≈Median\text{Mean} \approx \text{Median}. 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 (RR):

    • Calculated as the difference between maximum and minimum observations:         R=Largest Observation−Smallest ObservationR = \text{Largest Observation} - \text{Smallest Observation}

  • Standard Deviation (ss):

    • Measures the average distance of data points from the sample mean:         s=∑(xi−xˉ)2n−1s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n - 1}}

    • The larger the dispersion in a dataset, the larger the standard deviation.

  • Variance (s2s^2):

    • The square of the sample standard deviation (s2s^2).

  • Dataset: Top 5 Most Streamed Songs in the U.S. (2013, in Millions):

    • Data: 490,280,257,189,171490, 280, 257, 189, 171

    • Median: 257 million257\text{ million}

    • Mean: xˉ=490+280+257+189+1715=277.4 million\bar{x} = \frac{490 + 280 + 257 + 189 + 171}{5} = 277.4\text{ million}

    • Range: R=490−171=319 millionR = 490 - 171 = 319\text{ million}

    • Standard Deviation: s=(490−277.4)2+(280−277.4)2+(257−277.4)2+(189−277.4)2+(171−277.4)25−1≈127.24 millions = \sqrt{\frac{(490-277.4)^2 + (280-277.4)^2 + (257-277.4)^2 + (189-277.4)^2 + (171-277.4)^2}{5 - 1}} \approx 127.24\text{ million}

    • Variance: s2≈16189.3s^2 \approx 16189.3

  • Empirical Rule (68-95-99.7 Rule):

    • Applies only to distributions that are unimodal and symmetric.

    • ≈68%\approx 68\% of observations lie within 11 standard deviation of mean: xˉ±1s\bar{x} \pm 1s

    • ≈95%\approx 95\% of observations lie within 22 standard deviations of mean: xˉ±2s\bar{x} \pm 2s

    • ≈99.7%\approx 99.7\% of observations lie within 33 standard deviations of mean: xˉ±3s\bar{x} \pm 3s

    • Application Example (Song Lengths): Sample size n=398n = 398, Mean xˉ=253.09 s\bar{x} = 253.09\,s, Standard Deviation s=74.58 ss = 74.58\,s.

      • 68%68\% interval: 253.09±74.58=[178.51 s,327.67 s]253.09 \pm 74.58 = [178.51\,s, 327.67\,s]

      • 95%95\% interval: 253.09±2(74.58)=[103.93 s,402.25 s]253.09 \pm 2(74.58) = [103.93\,s, 402.25\,s]

  • 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 (Q1Q_1): 25th25\text{th} percentile.

    • Second Quartile (Q2Q_2 or Median): 50th50\text{th} percentile.

    • Third Quartile (Q3Q_3): 75th75\text{th} percentile.

    • Rule for Odd nn: Do not include the median in lower or upper halves when finding Q1Q_1 and Q3Q_3

    • Five-Number Summary: Consists of Minimum,Q1,Q2,Q3,Maximum\text{Minimum}, Q_1, Q_2, Q_3, \text{Maximum}.

  • Interquartile Range (IQRIQR):

    • Measures middle 50%50\% spread:         IQR=Q3−Q1IQR = Q_3 - Q_1

  • Outlier Detection Fences:

    • Left Fence=Q1−1.5×IQR\text{Left Fence} = Q_1 - 1.5 \times IQR

    • Right Fence=Q3+1.5×IQR\text{Right Fence} = Q_3 + 1.5 \times IQR

    • Outlier Definition: Any observation situated below the Left Fence or above the Right Fence.

  • Dataset: Ohio Wood Roller Coaster Ride Durations in Seconds (n=9n = 9):

    • Ordered values: 63,90,90,93,105,120,140,193,25063, 90, 90, 93, 105, 120, 140, 193, 250

    • Min=63 s\text{Min} = 63\,s

    • Q1=90 sQ_1 = 90\,s

    • Q2=Med=105 sQ_2 = \text{Med} = 105\,s

    • Q3=166.5 sQ_3 = 166.5\,s

    • Max=250 s\text{Max} = 250\,s

    • IQR=166.5−90=76.5 sIQR = 166.5 - 90 = 76.5\,s

    • Left Fence=90−1.5(76.5)=−24.75\text{Left Fence} = 90 - 1.5(76.5) = -24.75

    • Right Fence=166.5+1.5(76.5)=281.25\text{Right Fence} = 166.5 + 1.5(76.5) = 281.25

    • Outliers: None (all values lie within [−24.75,281.25][-24.75, 281.25]).

  • 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:     P(E)=mnP(E) = \frac{m}{n}     where nn is total equally likely outcomes in the sample space, and mm 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 1foranyeventfor any eventE\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 E)∗∗:Theeventcontainingallsampleoutcomesnotin)**: The event containing all sample outcomes not inE\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 (C):NE=): NE =101,MW=, MW =102,S=, S =169,W=, W =89,Total=, Total =461\n * Tea (T):NE=): NE =40,MW=, MW =52,S=, S =106,W=, W =42,Total=, Total =240\n * Neither (N):NE=): NE =11,MW=, MW =39,S=, S =28,W=, W =24,Total=, Total =102\n * Region Totals: NE = 152,MW=, MW =193,S=, S =303,W=, W =155,GrandTotal=, Grand Total =803\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 \muandstandarddeviationand standard deviation\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 z)orbelow(negative) or below (negativez) 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.4andand59.4years(years (\mu \pm 1\sigma):):\approx 0.68((68\%\n * Between 26.4andand70.4years(years (\mu \pm 2\sigma):):0.95((95\%\n * z−scorefor-score for33.5−year−old:-year-old:z = \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 = 2::x = 30 + 2(4) = 38\text{ minutes}\n * Delivery with z = -1.5::x = 30 + (-1.5)(4) = 24\text{ minutes}\n * Cutoff time for slowest 10\%((90\text{th}percentile):Lefttailareapercentile): Left tail area0.90 \rightarrow z \approx 1.28155.Time. Timex = 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/dl::z = \frac{65 - 55}{14.8} \approx 0.68\n * Man with 60\,mg/dl::z = \frac{60 - 47}{12.5} = 1.04\n * Comparison: The man has a higher relative HDL level because his z−score(-score (1.04)exceedsthewoman′s() exceeds the woman's (0.68).\n * **Definition of Unusual Observation**:\n * An observation is unusual if it lies more than 1.96standarddeviationsawayfromthemean(standard deviations away from the mean (|z| > 1.96)orhasatailprobabilitylessthan) or has a tail probability less than0.025\n * Unusual HDL threshold for men: Below 47 - 1.96(12.5) = 22.5\,mg/dloraboveor above47 + 1.96(12.5) = 71.5\,mg/dl\n * Evaluation of woman with 90\,mg/dl::z = \frac{90 - 55}{14.8} \approx 2.36$. Since 2.36>1.962.36 > 1.96, this is an unusual observation.

Scatterplots

  • Variables:

    • Explanatory Variable (xx): Independent variable used to explain or predict changes.

    • Response Variable (yy): Dependent variable measured to observe the response.

    • Format: (x,y)=(Explanatory Variable,Response Variable)(x, y) = (\text{Explanatory Variable}, \text{Response Variable})

  • Dataset: Currency Denomination vs Life-span:

    • $1\$1 bill: 1.5 years1.5\text{ years}

    • $5\$5 bill: 2.0 years2.0\text{ years}

    • $10\$10 bill: 3.0 years3.0\text{ years}

    • $20\$20 bill: 4.0 years4.0\text{ years}

    • $50\$50 bill: 9.0 years9.0\text{ years}

    • 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:

    1. Shape: Linear, nonlinear, or no association.

    2. Strength: Exact, strong, or weak (degree to which points align with curve/line).

    3. Direction: Positive or negative.

    4. Correlation Coefficient (rr): Numerical measure of strength and direction for linear relationships.

  • Properties of Linear Correlation Coefficient (rr):

    • −1≤r≤1-1 \le r \le 1

    • r>0r > 0 indicates positive linear association; r<0r < 0 indicates negative linear association.

    • r=0r = 0 indicates no linear association.

    • r=1r = 1 or r=−1r = -1 indicates perfect linear association.

    • Larger absolute value ∣r∣|r| 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:     y=mx+by = mx + b

  • Dataset: UA Undergrad GPA vs Weekly Alcohol Consumption:

    • Data: (0.5,8.55),(2.0,6.23),(3.0,4.84),(4.0,3.24)(0.5, 8.55), (2.0, 6.23), (3.0, 4.84), (4.0, 3.24)

    • Calculated Linear Model: Drinks=−1.5069(GPA)+9.2939\text{Drinks} = -1.5069(\text{GPA}) + 9.2939

    • Predicted drinks for 3.03.0 GPA: −1.5069(3.0)+9.2939=4.773-1.5069(3.0) + 9.2939 = 4.773 drinks.

    • Error Formula:         Error=Estimated Value−Actual Value\text{Error} = \text{Estimated Value} - \text{Actual Value}         Error for 3.03.0 GPA: 4.773−4.84=−0.0674.773 - 4.84 = -0.067

  • Interpolation vs Extrapolation:

    • Interpolation: Predicting within the range of observed xx-values in the data.

    • Extrapolation: Predicting outside the range of observed xx-values.

  • Intercept Interpretations & Model Breakdown:

    • yy-intercept (x=0x = 0): Predicted value when explanatory variable equals 00. For GPA dataset, (0,9.2939)(0, 9.2939) implies a 0.00.0 GPA student consumes ≈9.29\approx 9.29 drinks/week.

    • xx-intercept (y=0y = 0): Setting drinks to 00 yields GPA=−9.2939−1.5069≈6.17\text{GPA} = \frac{-9.2939}{-1.5069} \approx 6.17

    • Model Breakdown: Occurs when a model yields predictions that are physically impossible or absurd (such as a 6.176.17 GPA on a 4.04.0 scale).

Graphing Equations of Lines and Linear Models

  • Solutions to Equations:

    • An ordered pair (a,b)(a, b) is a solution of an equation if replacing xx with aa and yy with bb produces a true statement.

    • Verification: For y=−2x+10y = -2x + 10, checking pair (8,−6)(8, -6): −6=−2(8)+10→−6=−6-6 = -2(8) + 10 \rightarrow -6 = -6 (True).

  • Slope-Intercept Form:     y=mx+by = mx + b

    • mm represents slope / constant rate of change.

    • (0,b)(0, b) represents the yy-intercept.

Rate of Change and Slope of a Line

  • Rate of Change Formula:     Rate of Change=ΔyΔx=y2−y1x2−x1\text{Rate of Change} = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}

  • 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 (mm).

    • Increasing line: Positive slope (m>0m > 0).

    • Decreasing line: Negative slope (m<0m < 0).

    • Steepness: Measured by the absolute value of slope (∣m∣|m|). Larger ∣m∣|m| corresponds to a steeper line.

  • Dataset: Tobramycin Medication Dosing Chart:

    • Points: (88 lbs,40 mg),(99 lbs,45 mg),(110 lbs,50 mg),(121 lbs,55 mg),(132 lbs,60 mg)(88\,lbs, 40\,mg), (99\,lbs, 45\,mg), (110\,lbs, 50\,mg), (121\,lbs, 55\,mg), (132\,lbs, 60\,mg)

    • Rate of Change: 45−4099−88=511≈0.4545 mg/lb\frac{45 - 40}{99 - 88} = \frac{5}{11} \approx 0.4545\,mg/lb

    • Interpretation: Dosing increases by 5 mg5\,mg for every 11 lbs11\,lbs increase in body weight.

Using Slope to Graph Equations of Lines and Linear Models

  • Graphing Procedure for y=mx+by = mx + b:

    1. Plot the yy-intercept at (0,b)(0, b).

    2. Use slope m=riserunm = \frac{\text{rise}}{\text{run}} to locate a second point.

    3. Draw a straight line extending through both points.

  • Application Example: On-Duty Firefighter Deaths:

    • Model: n=−2t+83n = -2t + 83, where tt is years since 2010 (20102010\text{--}20142014).

    • Slope: m=−2m = -2 deaths per year (on-duty deaths decreased by 22 per year).

    • nn-intercept: (0,83)(0, 83) (in 2010, 8383 firefighters died on duty).

    • Estimate for 2013 (t=3t = 3): n=−2(3)+83=77n = -2(3) + 83 = 77 deaths.

Solving Linear Equations to Make Predictions

  • Algebraic Linear Equation Solving:

    • Example equation: 1−3(5x−2)=4−(7x+3)1 - 3(5x - 2) = 4 - (7x + 3)

    • Expand terms: 1−15x+6=4−7x−31 - 15x + 6 = 4 - 7x - 3

    • Combine constants: 7−15x=1−7x7 - 15x = 1 - 7x

    • Isolate variable: 6=8x→x=68=0.756 = 8x \rightarrow x = \frac{6}{8} = 0.75

  • Dataset & Model: San Bruno Home Selling Prices:

    • Data: (750 sq ft,$632k),(1250 sq ft,$733k),(1750 sq ft,$814k),(2250 sq ft,$894k),(2750 sq ft,$1025k)(750\,sq\,ft, \$632k), (1250\,sq\,ft, \$733k), (1750\,sq\,ft, \$814k), (2250\,sq\,ft, \$894k), (2750\,sq\,ft, \$1025k)

    • Model: p=0.19s+488.15p = 0.19s + 488.15

    • Slope m=0.19m = 0.19: Price increases by $0.19\$0.19 thousand ($190\$190) per additional square foot.

    • Predicting Square Footage for $\$950$ Thousand Price:         950=0.19s+488.15→461.85=0.19s→s=461.850.19≈2430.79 sq ft950 = 0.19s + 488.15 \rightarrow 461.85 = 0.19s \rightarrow s = \frac{461.85}{0.19} \approx 2430.79\text{ sq ft}         Classification: Interpolation (since 2430.792430.79 lies inside data domain [750,2750][750, 2750]).

    • Predicting Price for 400400 Square Foot Condo:         p=0.19(400)+488.15=76+488.15=564.15 thousand dollars ($564,150)p = 0.19(400) + 488.15 = 76 + 488.15 = 564.15\text{ thousand dollars } (\$564,150)         Classification: Extrapolation (since 400400 lies outside data domain [750,2750][750, 2750]).