Comparing Two Distributions (Goats)
A goat farmer raises two breeds, Breed H and Breed J. He takes independent random samples of 14 goats from each breed and records weight (pounds).
Weights of Breed H goats: 48, 48, 55, 56, 56, 57, 62, 66, 72, 72, 72, 73, 80, 80
Breed J is shown only as a boxplot with whiskers from about 50 to 87 lb, a box roughly from 57 to 80 lb, and a median line near 64 lb.
Use the data list to find the five-number summary for Breed H.
(62 + 66) / 2 = 64.56.72.Compare center and variability of Breed H vs. Breed J, in context.
16 lb. Breed J's IQR (read from the boxplot) โ 80 โ 57 = 23 lb. Breed J's range (โ 87 โ 50 = 37 lb) is also larger than Breed H's range (80 โ 48 = 32 lb).i. What shape feature is visible in the stem-and-leaf plot but not in a boxplot built from the five-number summary? ii. Why can't a boxplot show it?
Key concepts โ Q1
- Five-number summary = Min, Q1, Median, Q3, Max
- IQR = Q3 โ Q1 measures spread (resistant to outliers)
- Boxplots summarize but hide shape detail (gaps, clusters, modality)
Designing an Experiment (Rosebushes)
Holly, a botanist, grows 30 rosebushes in a controlled greenhouse. She randomly assigns 15 to get ยฝ cup of coffee grounds weekly; the other 15 get none. After 3 months she counts the roses on each bush.
Identify: i. Treatments ii. Experimental units iii. Response variable
Describe how to randomly assign treatments so each gets the same number of units.
Explain the meaning of "statistically significant" here.
Key concepts โ Q2
- Treatment vs. experimental unit vs. response variable
- Random assignment (not random sampling) creates comparable groups
- "Statistically significant" = small p-value = unlikely due to chance
Normal, Binomial & Geometric (Team Song)
Performance time of a team song ~ Normal(ฮผ = 109 sec, ฯ = 16 sec). All performances are independent.
P(a performance takes longer than 120 seconds)?
z = (120 โ 109) / 16 = 0.6875P(Z > 0.6875) = 1 โ ฮฆ(0.6875)10 performances selected; X = number that take longer than 120 sec. Find P(X โฅ 3).
P(X โฅ 3) = 1 โ P(X โค 2) = 1 โ [P(0) + P(1) + P(2)]Y = number of games Ben attends until a performance exceeds 120 sec. i. Mean of Y ii. SD of Y
ฮผ_Y = 1/p = 1 / 0.246 โ 4.07 gamesฯ_Y = โ(1 โ p) / p โ 3.53 gamesInterpret the standard deviation from Part C(ii) in context.
Key concepts โ Q3
- Normal โ z-score โ table/calculator for probability
- Binomial: fixed n trials, count of successes; "at least" โ use complement
- Geometric: trials until first success; mean = 1/p, sd = โ(1โp)/p
Two-Sample t-Test (Fertilizers)
58 trees get Brand C, 58 trees get Brand N, randomly assigned. Number of oranges recorded per tree.
| n | Mean | SD | |
|---|---|---|---|
| Brand C | 58 | 141 | 15 |
| Brand N | 58 | 148 | 19 |
At ฮฑ = 0.05, is there convincing evidence the mean number of oranges differs between the two fertilizers?
Carry out a complete two-sample t-test.
SE = โ(15ยฒ/58 + 19ยฒ/58) โ 3.18t = (141 โ 148) / 3.18 โ โ2.20p-value โ 0.030Key concepts โ Q4
- Two-sample t-test compares two population means using sample data
- Always write hypotheses in terms of parameters, not statistics
- Conclusion must reference the context and compare p-value to ฮฑ
Two-Way Tables & Mosaic Plots (Athletes)
Age-group by sport for all 4,193 professional athletes (population data, not a sample):
| Age | Basketball | Football | Baseball | Total |
|---|---|---|---|---|
| < 25 | 232 | 807 | 259 | 1,298 |
| 25โ<30 | 175 | 1,326 | 620 | 2,121 |
| 30โ<35 | 90 | 287 | 276 | 653 |
| 35+ | 19 | 41 | 61 | 121 |
| Total | 516 | 2,461 | 1,216 | 4,193 |
i. P(football player)? ii. P(25 โค Age < 30 | football player)?
P(football) = 2,461 / 4,193 โ 0.587 (about 58.7%)P(25โ30 | football) = 1,326 / 2,461 โ 0.539 (about 53.9%)i. Does b match part A(i) or A(ii)? ii. What does x = bยทh represent?
b is the width of the football column, which represents the overall proportion of all athletes who play football โ that's the unconditional probability from Part A(i).h is the height of the 25โ30 segment within the football column โ the conditional probability from Part A(ii). So x = bยทh is the joint probability: P(football AND 25 โค Age < 30) = 1,326 / 4,193 โ 0.316 (31.6%).i. Are "Baseball" and "35 โค Age" mutually exclusive? ii. Are they independent?
P(Baseball) ร P(35+) = P(Baseball and 35+).P(Baseball) = 1,216/4,193 โ 0.290, P(35+) = 121/4,193 โ 0.0289Product โ 0.290 ร 0.0289 โ 0.00837Actual P(Baseball and 35+) = 61/4,193 โ 0.01455
Is a chi-square test for independence appropriate here?
Key concepts โ Q5
- Marginal probability (row/column totals) vs. conditional probability ("given")
- Joint probability = P(A) ร P(B|A), shown as area in a mosaic plot
- Mutually exclusive โ independent โ check both separately
- Inference (like chi-square tests) requires a sample, not a full population
Regression, CI & Prediction Intervals (Baseball)
Scatterplot of Runs vs. Hits for 30 MLB teams. Regression line: Predicted Runs = โ372.2 + 0.823(Hits)
i. Describe the relationship. ii. Predict runs for a team with 1,250 hits.
Predicted Runs = โ372.2 + 0.823(1,250) = โ372.2 + 1,028.75i. Compare point A to other teams in its salary group. ii. Compare correlation strength between the two salary groups.
i. Find t* for 95% confidence (df = 28). ii. Build the 95% CI for the mean. iii. Build the 95% PI for one team.
t* = 2.05 (2.048 more precisely).656.55 ยฑ 2.048(17.48) = 656.55 ยฑ 35.80656.55 ยฑ 2.048(56.78) = 656.55 ยฑ 116.28i. Do sample means vary more or less than individual observations? ii. Why is the PI wider than the CI?
sยฒ added inside the square root, compared with the confidence-interval formula. That extra term accounts for the added variability of a single, individual team's runs around the regression line โ on top of the uncertainty in estimating the mean itself. Because the confidence interval only needs to account for uncertainty in the mean (which has less variability, per part i), while the prediction interval must also account for the extra spread of one individual observation, the prediction interval's standard error โ and therefore its width โ is larger.Key concepts โ Q6
- Describe scatterplots: direction, form, strength, context
- t* depends on confidence level and df = n โ 2 for regression
- CI estimates a mean; PI predicts a single value โ PI is always wider
- Averaging reduces variability (this is why CI < PI in width)