Correlation, regression, and the describing skills they rest on — on variables the exam does not use.
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.
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.
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 |
|---|---|
| 1 | Mean and SD of masculinity |
| 2 | Mean and SD of meat_commitment |
| 3 | A student scores 6 on masculinity and 2 on meat_commitment. Find the z-score on each. |
| 4 | Which of the two scores is more unusual? |
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 |
|---|---|
| 1 | r between masculinity and meat_commitment |
| 2 | Direction and strength (.1 weak, .3 moderate, .5 strong)? |
| 3 | What percentage of the variation in meat_commitment is shared with masculinity? |
| 4 | r between animal_compassion and meat_commitment |
| 5 | Which relationship has more shared variance, and about how much? |
| 6 | Five 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). |
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 |
|---|---|
| 1 | r between masculinity and meat_commitment for Man students only |
| 2 | Men higher in masculinity tend to report more meat commitment. Name the 3 stories that could produce this correlation. |
| 3 | Anxiety 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? |
| 4 | In 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? |
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 |
|---|---|
| 1 | Slope, intercept, and r² |
| 2 | Say the slope in one sentence. |
| 3 | Is the intercept meaningful here? |
| 4 | A classmate types =SLOPE(Z2:Z201, AA2:AA201) and gets 0.26. What happened? |
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 |
|---|---|
| 1 | Predict meat_commitment for masculinity = 5. |
| 2 | Student S061 (row 62): find the residual. |
| 3 | Two students score 2 and 5 on masculinity. How much higher is the second student's prediction? |
| 4 | Predict meat_commitment for a student exactly at the mean of masculinity. |
| 5 | Which masculinity value is unsafe to predict from: 1.5, 3, 5, 9? |
| 6 | Make 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. |
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 |
|---|---|
| 1 | Mean and SD of mood_pre and of mood_post |
| 2 | z-scores for mood_pre = 8 and mood_post = 3 |
| 3 | r for 5 students: X = 2, 3, 5, 6, 9; Y = 8, 7, 7, 4, 2 |
| 4 | r between mood_pre and mood_post; direction and strength |
| 5 | Percentage of the variation in mood_post shared with mood_pre |
| 6 | r between task_enjoyment and mood_post; which relationship shares more variance? |
| 7 | r between mood_pre and mood_post for Threat students only |
| 8 | Slope, intercept, and r² for predicting mood_post from mood_pre |
| 9 | Predict mood_post for mood_pre = 3 |
| 10 | Residual for student S095 (row 96) |
| 11 | Change in prediction from mood_pre 4 to 7 |
| 12 | Predict mood_post at the mean of mood_pre |
| 13 | Which mood_pre value is unsafe to predict from: 2, 5, 8, 15? |
| 14 | Is the intercept meaningful? |
| 15 | =SLOPE(mood_pre cells, mood_post cells) gives 0.57. What went wrong? |
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.
| 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) |
| 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 hand | r = Σ(x dev × y dev) ÷ √(Σ x dev² × Σ y dev²) |
| 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) |
| Residual | actual − predicted |
| Change in prediction | slope × (second score − first score) |
| To find… | Type |
|---|---|
| Chart | Select X and Y columns → Insert ▸ Chart → Scatter chart |
| Trendline | Customize ▸ Series → Trendline; Label: Use Equation; Show R² |
| Titles | Customize ▸ Chart & axis titles; center each; ⋮ → Download → PNG |
cells = the range of cells that holds the scores (you select them)X cells = the predictor columnY cells = the outcome columngroup cells = the column that holds the group labelslabel = the group name in straight quotes, spelled exactly as in the datascore = the X value the question gives youmean, SD = that variable's mean and standard deviationslope, intercept = the values from =SLOPE and =INTERCEPT