Gathering Data: Samples, Variables, and Study Design

  1. Qualitative, nominal.
  2. (a) quantitative discrete, ratio; (b) quantitative continuous, interval; (c) ordinal (ranked categories); (d) quantitative continuous, ratio.
  3. Population: all 12,000 students; sample: the 300; parameter: true proportion owning cars (unknown); statistic: 0.42.
  4. 1→1, 0.1, 0.1; 2→2, 0.2, 0.3; 3→4, 0.4, 0.7; 4→2, 0.2, 0.9; 5→1, 0.1, 1.0.
  5. (a) simple random; (b) stratified; (c) systematic; (d) cluster; (e) convenience.
  6. Explanatory: using the app (yes/no). Response: exam score. Randomly assign 30 to the app, 30 to a control (placebo app or usual study); same exam for all; blinding is hard here, but graders can be blinded to group.
  7. Hot weather (the lurking variable) drives both. The voluntary poll suffers from voluntary-response bias; respondents are self-selected and not representative.

Describing Data with Graphs and Measures of Center

  1. Mean 5, median 4, mode 4.
  2. Mean 43/7 ≈ 6.14, median 6, mode 8.
  3. Mean 21.2, median still 4: the mean is pulled by the outlier, the median is resistant.
  4. (58−12)/5 = 9.2 → use 10.
  5. Midpoints 5, 15, 25: (25 + 150 + 125)/20 = 15.
  6. 0.2·85 + 0.3·70 + 0.5·90 = 83.
  7. An upward trend with a small dip in month 4. A histogram ignores order, so the trend disappears.

Shape, Position, and Spread of Data

  1. Range 6; mean 5; σ² = 20/4 = 5; s² = 20/3 ≈ 6.67.
  2. Right-skewed (mean > median).
  3. (34 + 0.5)/40 = 0.8625, about the 86th percentile.
  4. z₁ = 2.0, z₂ = 1.6, so Exam 1.
  5. 70 to 130; Chebyshev: at least 75%.
  6. Min 3, Q1 6, median 8, Q3 11, max 15; IQR 5; fences −1.5 and 18.5, so no outliers.
  7. Σx = 76, Σx² = 746; SS = 746 − 76²/9 ≈ 104.22; s² ≈ 13.03; s ≈ 3.61.

Basic Probability Rules

  1. 1/2; 5/6.
  2. 0.5 + 0.4 − P(A∩B) = 0.7 → P(A∩B) = 0.2 = 0.5·0.4, so independent.
  3. (4/52)(3/51) = 1/221 ≈ 0.0045.
  4. (5/8)(4/7) = 5/14 ≈ 0.357; 2·(5/8)(3/7) = 15/28 ≈ 0.536.
  5. 0.50; 0.65; 0.30; 0.50 + 0.65 − 0.30 = 0.85.
  6. 30/50 = 0.60; 30/65 ≈ 0.462. P(Like) = 0.65 ≠ 0.60, so dependent.
  7. Rolling a 1 and rolling a 2 on one die: P(1 and 2) = 0 but P(1)P(2) = 1/36 ≠ 0. Learning one happened tells you the other did not, so they are dependent.

Discrete Random Variables: Expected Value, Binomial, and Poisson

  1. k = 0.3.
  2. 10(0.1) + 0(0.9) − 2 = −$1.
  3. μ = 1.7; E(X²) = 3.7; σ² = 3.7 − 2.89 = 0.81 (σ = 0.9).
  4. 45(0.09)(0.7⁸) ≈ 0.2335; mean 3; sd = √2.1 ≈ 1.449.
  5. (5 + 1)/32 = 0.1875.
  6. e⁻³ ≈ 0.0498; 4.5·0.0498 ≈ 0.2240; 1 − 0.0498 ≈ 0.9502.
  7. 8(0.6⁷)(0.4) + 0.6⁸ ≈ 0.0896 + 0.0168 = 0.1064. λ = 2: e⁻²(1 + 2) ≈ 0.406.

Continuous Random Variables and the Normal Curve

  1. 0.3; 5; 10/√12 ≈ 2.887.
  2. z = 1.5.
  3. 0.8413; 0.0250; 0.6827.
  4. z = 1 → 0.8413; z from −1 to 2 → 0.9772 − 0.1587 = 0.8185.
  5. z = 1.25 → 1 − 0.8944 = 0.1056.
  6. 100 + 1.2816(15) ≈ 119.2; 170 ± 1.96(8) → 154.3 to 185.7.
  7. z = −1.5 → 0.0668; ≈ 67 packages; 500 + 1.645(20) ≈ 532.9 g.

Sampling Distributions and the Central Limit Theorem

  1. 12/6 = 2.
  2. z = 1 → 0.1587.
  3. SE = 5; z = ±1 → 0.6827.
  4. np = 40, n(1−p) = 60 both ≥ 10. SE = √(0.24/100) ≈ 0.049; z ≈ 2.04 → ≈ 0.0207.
  5. It is halved; n = 144.
  6. Sum has mean 500, sd 25; z = 1 → 0.1587.
  7. The CLT concerns the distribution of x̄ (and sums), which becomes approximately normal as n grows. The individual incomes keep their skewed shape.

Estimating a Parameter: Confidence Intervals

  1. 1.645, 1.960, 2.576.
  2. ME = 1.96(10/5) = 3.92 → (76.08, 83.92).
  3. SE = 2; ME = 4.262 → (45.74, 54.26).
  4. p̂ = 0.4; SE ≈ 0.0283; ME ≈ 0.0554 → (0.345, 0.455).
  5. (1.96·15/3)² = 96.04 → 97.
  6. (1.96/0.03)²(0.25) ≈ 1067.1 → 1068.
  7. Wider. Correct: if we repeated the sampling many times, about 95% of such intervals would contain the true mean. Incorrect: "there is a 95% probability that μ is in this particular interval" (μ is fixed) or "95% of individuals fall in it".

Testing Claims About One Population Parameter

  1. H₀: μ ≥ 10; Hₐ: μ < 10; left-tailed.
  2. Type I: say the patient is sick when healthy (false alarm). Type II: say healthy when actually sick (missed case).
  3. SE = 2.5; z = 2; p = 0.0455 < 0.05 → reject H₀.
  4. SE = 1; t = 2; df = 24; 2 > 1.711 → reject H₀ (p ≈ 0.028).
  5. SE = 0.05; z = 2; p = 0.0455 (reject at 0.05).
  6. p̂ = 0.15; SE ≈ 0.0283; z ≈ −1.77; p ≈ 0.038 < 0.05 → reject H₀.
  7. Reject at 0.05; fail to reject at 0.01. The p-value is computed assuming H₀ is true; it is the chance of such data given H₀, not the chance H₀ is true.

Comparing Two Populations

  1. (a) paired; (b) independent; (c) paired.
  2. SE = √(36/36 + 64/64) = √2 ≈ 1.414; z ≈ 2.83; p ≈ 0.0047 → reject.
  3. SE = √(1 + 1) = 1.414; t ≈ 2.12.
  4. d̄ = 3, s_d = √2.5 ≈ 1.581, SE ≈ 0.707; t ≈ 4.24 > 2.776 → reject H₀.
  5. Pooled p̂ = 0.375; SE ≈ 0.0685; z ≈ 2.19; p ≈ 0.0285 → reject at 0.05.
  6. SE ≈ 0.0676; ME ≈ 0.1326; 0.15 ± 0.1326 → (0.017, 0.283).
  7. The pairing removes person-to-person variation. Treating the data as independent ignores that correlation and inflates the SE, losing power.

Chi-Square Methods: Variance, Fit, and Independence

  1. 4; (3−1)(4−1) = 6.
  2. 40·30/120 = 10.
  3. χ² = 20·25/16 = 31.25 < 31.41 → fail to reject H₀ (barely).
  4. E = 10 each; χ² = (4 + 4 + 0 + 1 + 1 + 0)/10 = 1.0 < 11.07 → no evidence of unfairness.
  5. All E = 25; χ² = 4 × (25/25) = 4.0 > 3.841 → reject independence (df = 1).
  6. H₀: response and group are independent; Hₐ: they are associated. Group membership is linked to the likelihood of "Yes".
  7. It handles counts across categories, not numerical means. Failing to reject only means the data lacked enough evidence; the die could be slightly unfair with too small a sample to detect it.

F-Distribution: Comparing Variances and One-Way ANOVA

  1. 3 and 20.
  2. F = 25/9 ≈ 2.78 > 2.54 → reject; the first population has larger variance.
  3. 5, 7, 9; grand mean 7.
  4. SSB = 3(4 + 0 + 4) = 24; SSW = 3(1 + 0 + 1) = 6; MSB = 12; MSW = 1.
  5. F = 12 > 5.14 → reject H₀: not all means are equal.
  6. MSB = 20, MSW = 4.5, F ≈ 4.44 > 3.10 → reject.
  7. Each test carries a Type I risk, so the family-wise error rate grows. A significant ANOVA only shows at least one mean differs; follow-up (post hoc) comparisons are needed to find which.

Straight-Line Relationships: Correlation and Simple Regression

  1. Each extra unit of x raises ŷ by 2; at x = 0 predicted y is 3. ŷ(4) = 11.
  2. A strong negative linear association. No: r = 0 only means no linear relationship (a curve may exist).
  3. x̄ = 3, ȳ = 4, Sxx = 10, Sxy = 6, Syy = 6.
  4. b = 0.6, a = 4 − 1.8 = 2.2: ŷ = 2.2 + 0.6x.
  5. r = 6/√(10·6) ≈ 0.775; r² = 0.60: 60% of the variation in y is explained by x.
  6. ŷ(3) = 4, residual = 5 − 4 = +1. SSE = 6 − 3.6 = 2.4; s = √(2.4/3) ≈ 0.894.
  7. ŷ(6) = 5.8. x = 40 is far beyond the data (extrapolation), so linearity may not hold.

Multiple Regression: Model Fit and Overall Significance

  1. 3 and 21.
  2. 10 + 10 − 6 + 2 = 16.
  3. Holding x₁ and x₃ fixed, each one-unit increase in x₂ lowers the predicted y by 3.
  4. SST = 100; R² = 0.80.
  5. 1 − 0.2(24/21) ≈ 0.771.
  6. MSR = 26.67; MSE = 20/21 ≈ 0.952; F ≈ 28.0 > 3.07 → reject H₀; s ≈ 0.976.
  7. R² rises (or stays equal); adjusted R² can fall. So adjusted R² helps avoid overfitting by rewarding only useful predictors.

Multiple Regression: Individual Coefficients and Multicollinearity

  1. t = 3.0.
  2. df = 21; 3.0 > 2.080 → significant.
  3. t = −1.25; |t| < 2.080 → not significant.
  4. 2.4 ± 2.080(0.8) = 2.4 ± 1.664 → (0.736, 4.064); excludes 0, consistent with task 2.
  5. Strong correlation among predictors. Symptoms: inflated SEs, unstable or unexpectedly signed coefficients, significant F but insignificant t's.
  6. VIF = 1/0.10 = 10, serious multicollinearity.
  7. Multicollinearity: the correlated predictors share information, so each looks unimportant individually while the model as a whole explains y. Drop one of the two, combine them into one index, or gather data where they vary independently.