Home › Block 2 › Review 2
REVIEW 2 · BLOCK 2

🎯 Getting Ready for Exam 2

Correlation, regression, and the describing skills they rest on — on variables the exam does not use.

How to use this page

Open your own copy of the SJNY Student Life dataset (Raw Data tab). Each station matches a chunk of Exam 2. Work the questions in Sheets, then open Show answers. Round to 2 decimals and keep the minus sign. If you can do every station and the exam-style set, you are ready.

How Exam 2 works

Same routine as Exam 1: on Canvas, with your own copy of the exam dataset from the Canvas assignment Exam 2 Sheet. It is new data again — a different column order and a different number of students — so find each column by its name and select every student, never the header. Each question names its variables. X cells is the predictor column and Y cells the outcome; Y goes first in SLOPE, INTERCEPT, RSQ, and FORECAST.LINEAR. Some questions take two or three steps, so read the whole question first. Round to 2 decimals and keep the minus sign. One scatter chart with a trendline (equation and R² showing), a centered title, and centered axis labels, uploaded as a PNG. Individual work, no phones.

Station 1 · Describe both variables (cumulative)

masculinity (column Z) and meat_commitment (column AA)

Every regression starts here. The exam asks for the mean and SD of each variable, then a z-score on each. Formulas: =AVERAGE(cells), =STDEV(cells), =STANDARDIZE(score, mean, SD).

#Question
1Mean and SD of masculinity
2Mean and SD of meat_commitment
3A student scores 6 on masculinity and 2 on meat_commitment. Find the z-score on each.
4Which of the two scores is more unusual?
Show answers
  • 1. Mean 3.78, SD 1.08 (=AVERAGE(Z2:Z201), =STDEV(Z2:Z201))
  • 2. Mean 4.18, SD 1.47
  • 3. z on masculinity = +2.06; z on meat_commitment = −1.48
  • 4. masculinity (+2.06): the larger |z|.

Station 2 · Correlation, strength, and shared variance

masculinity (Z) × meat_commitment (AA); animal_compassion (Y) × meat_commitment (AA)

r gives direction and strength. Square it for shared variance; that is how you compare two relationships. Formulas: =CORREL(X cells, Y cells), =RSQ(Y cells, X cells), then × 100 for a percentage.

#Question
1r between masculinity and meat_commitment
2Direction and strength (.1 weak, .3 moderate, .5 strong)?
3What percentage of the variation in meat_commitment is shared with masculinity?
4r between animal_compassion and meat_commitment
5Which relationship has more shared variance, and about how much?
6Five students: X = 1, 3, 5, 7, 9; Y = 5, 4, 8, 9, 12. Find r (by hand, or type the pairs into two empty columns and use =CORREL).
Show answers
  • 1. r = +0.35 (=CORREL(Z2:Z201, AA2:AA201))
  • 2. Positive, moderate (near .3).
  • 3. 12.19% (=RSQ(AA2:AA201, Z2:Z201) × 100)
  • 4. r = −0.55
  • 5. animal_compassion: about 31% vs about 12%. Compare r², not r; the minus sign does not matter.
  • 6. r = +0.94

Station 3 · Subgroups, causation, and what r misses

masculinity × meat_commitment for men only (gender, column B)

FILTER keeps only the rows you want. Wrap it around each range inside CORREL, with the same condition both times. Formulas: =CORREL(FILTER(X cells, group cells="label"), FILTER(Y cells, group cells="label")).

#Question
1r between masculinity and meat_commitment for Man students only
2Men higher in masculinity tend to report more meat commitment. Name the 3 stories that could produce this correlation.
3Anxiety and test performance form an upside-down U on a scatterplot (a little anxiety helps, a lot hurts), and r = 0.05. What is the best conclusion?
4In 25 students, r between caffeine and sleep is −0.10. One student who drank 12 coffees and slept 1 hour is added, and r becomes −0.52. What should you conclude?
Show answers
  • 1. r = +0.34 (n = 80) (=CORREL(FILTER(Z2:Z201, B2:B201="Man"), FILTER(AA2:AA201, B2:B201="Man")))
  • 2. Masculinity raises meat commitment; meat commitment shapes masculine identity; or a third variable (for example, family or peer norms) drives both.
  • 3. A strong curved relationship may exist; r measures only straight-line relationships.
  • 4. One extreme score changed r a lot. Look at the scatterplot before trusting r.

Station 4 · The regression line

predict meat_commitment (Y, column AA) from masculinity (X, column Z)

Y first, then X, in SLOPE, INTERCEPT, RSQ, and FORECAST.LINEAR. Formulas: =SLOPE(Y cells, X cells), =INTERCEPT(Y cells, X cells), =RSQ(Y cells, X cells).

#Question
1Slope, intercept, and r²
2Say the slope in one sentence.
3Is the intercept meaningful here?
4A classmate types =SLOPE(Z2:Z201, AA2:AA201) and gets 0.26. What happened?
Show answers
  • 1. b = +0.48, a = 2.38, r² = 0.12 (=SLOPE(AA2:AA201, Z2:Z201), =INTERCEPT(AA2:AA201, Z2:Z201), =RSQ(AA2:AA201, Z2:Z201))
  • 2. Each 1-point increase in masculinity predicts about 0.48 more points of meat_commitment.
  • 3. No. masculinity is a 1–7 rating (lowest score 1.1), so nobody scores 0; the intercept only anchors the line.
  • 4. The ranges are reversed. 0.26 is the slope for predicting masculinity from meat_commitment. Y goes first.

Station 5 · Predictions, residuals, and the range

the same line: meat_commitment from masculinity

ŷ = a + b·x. A residual is actual minus predicted. Predict only inside the range of x. Formulas: =intercept + slope*score, =FORECAST.LINEAR(score, Y cells, X cells), residual: =actual - FORECAST.LINEAR(score, Y cells, X cells), =MIN(cells), =MAX(cells).

#Question
1Predict meat_commitment for masculinity = 5.
2Student S061 (row 62): find the residual.
3Two students score 2 and 5 on masculinity. How much higher is the second student's prediction?
4Predict meat_commitment for a student exactly at the mean of masculinity.
5Which masculinity value is unsafe to predict from: 1.5, 3, 5, 9?
6Make a scatter chart (masculinity on x, meat_commitment on y) with a linear trendline showing the equation and R², a centered title, and centered axis labels. Download it as a PNG.
Show answers
  • 1. ŷ = 4.76 (by hand with rounded a and b: 4.78; within 0.1 counts)
  • 2. x = 4.9, actual y = 6, ŷ = 4.71 → residual = +1.29
  • 3. +1.43 (slope × 3)
  • 4. ŷ = 4.18, the mean of meat_commitment. The line always passes through the two means.
  • 5. 9. The data run 1.1–6.5.
  • 6. Trendline: y = 0.48x + 2.38, R² = 0.12. Chart editor → Customize → Series → Trendline; Label: Use Equation; Show R².

Exam-style set

mood_pre (X, column U) and mood_post (Y, column V); threat_condition (column S); task_enjoyment (column P)

Fifteen questions in the same order and style as Exam 2. Treat it like the real thing: do them all, then check.

#Question
1Mean and SD of mood_pre and of mood_post
2z-scores for mood_pre = 8 and mood_post = 3
3r for 5 students: X = 2, 3, 5, 6, 9; Y = 8, 7, 7, 4, 2
4r between mood_pre and mood_post; direction and strength
5Percentage of the variation in mood_post shared with mood_pre
6r between task_enjoyment and mood_post; which relationship shares more variance?
7r between mood_pre and mood_post for Threat students only
8Slope, intercept, and r² for predicting mood_post from mood_pre
9Predict mood_post for mood_pre = 3
10Residual for student S095 (row 96)
11Change in prediction from mood_pre 4 to 7
12Predict mood_post at the mean of mood_pre
13Which mood_pre value is unsafe to predict from: 2, 5, 8, 15?
14Is the intercept meaningful?
15=SLOPE(mood_pre cells, mood_post cells) gives 0.57. What went wrong?
Show answers
  • 1. mood_pre 5.36 / 1.51; mood_post 6.47 / 1.88
  • 2. +1.75 and −1.85
  • 3. r = −0.95
  • 4. r = +0.71; positive, strong
  • 5. 50.90%
  • 6. r = −0.01; mood_pre shares about 51% vs about 0%
  • 7. r = +0.70 (n = 100)
  • 8. b = +0.89, a = 1.72, r² = 0.51
  • 9. ŷ = 4.38 (hand 4.39)
  • 10. x = 4, y = 7, ŷ = 5.27 → +1.73
  • 11. +2.66
  • 12. 6.47 (= mean of mood_post)
  • 13. 15 (data run 1–9; the scale stops at 10)
  • 14. No. mood_pre is a 1–10 rating; nobody scores 0.
  • 15. The ranges are reversed; Y (mood_post) goes first.

Formula sheet

You get this sheet, printed, on Exam 2. Write your name on it, use the back for scratch work, and hand it in at the end of the exam. It shows every formula with placeholder words: you pick the cells and the numbers.

Describe each variable

To find…Type
Mean=AVERAGE(cells)
Standard deviation=STDEV(cells)
z-score=STANDARDIZE(score, mean, SD) or (score − mean) ÷ SD
Lowest and highest score=MIN(cells) and =MAX(cells)

Correlation

To find…Type
r=CORREL(X cells, Y cells)
r for one group only=CORREL(FILTER(X cells, group cells="label"), FILTER(Y cells, group cells="label"))
Shared variance (%)=RSQ(Y cells, X cells), then × 100
r by handr = Σ(x dev × y dev) ÷ √(Σ x dev² × Σ y dev²)

Regression: Y first, then X

To find…Type
Slope (b)=SLOPE(Y cells, X cells)
Intercept (a)=INTERCEPT(Y cells, X cells)
r²=RSQ(Y cells, X cells)
Predictionŷ = a + b·x, or =FORECAST.LINEAR(score, Y cells, X cells)
Residualactual − predicted
Change in predictionslope × (second score − first score)

Scatter chart with trendline

To find…Type
ChartSelect X and Y columns → Insert ▸ Chart → Scatter chart
TrendlineCustomize ▸ Series → Trendline; Label: Use Equation; Show R²
TitlesCustomize ▸ Chart & axis titles; center each; ⋮ → Download → PNG

What the placeholder words mean