PSYU2248 Lecture 2: Simple Linear Regression

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

What is the main purpose of regression?

To explain variability in the dependent variable (Y) using independent variable(s) (X), and to predict values of Y based on X.

2
New cards

What is the key difference between correlation and regression?

Correlation describes the strength of a relationship, whereas regression predicts one variable based on another and identifies direction (IV to DV).

3
New cards

Can regression imply causation?

No, regression suggests prediction, not causation. Prediction does not guarantee a causal relationship.

4
New cards

What is the general form of the simple linear regression equation?

Y = a + bX, where:

  • a = intercept (Y when X = 0)

  • b = slope (rate of change in Y for each unit change in X)

5
New cards

What do the intercept and slope represent in regression?

Intercept (a) is the predicted Y when X = 0; slope (b) indicates how much Y changes per unit increase in X.

6
New cards

What is the 'best-fitting line' in regression?

The regression line that minimizes the sum of squared errors (residuals) between actual and predicted Y values.

7
New cards

How is total variability in Y decomposed in regression?

Total SS = Model SS + Residual SS

8
New cards

What is a residual in regression?

The difference between the observed value and the predicted value of Y; residual = Y - Ŷ.

9
New cards

What does R² represent?

The proportion of variance in Y explained by the regression model. R² = SS_model / SS_total or (correlation)².

10
New cards

What does it mean when a predictor is significant in a regression model?

There is a statistically significant relationship between the IV and DV.

11
New cards

What are the thresholds for interpreting R² effect sizes?

  • 2–12% = small

  • 13–25% = medium

  • 26%+ = large

12
New cards

What is the hypothesis tested in simple regression?

H₀: The predictor (b) = 0; H₁: The predictor (b) ≠ 0

13
New cards

What are the 4 assumptions of simple linear regression?

  • Independence of observations

  • Normal distribution of residuals

  • Homoscedasticity (equal variance)

  • Linearity

14
New cards

How is normality of residuals tested in Stata?

  • Use: swilk residuals (Shapiro-Wilk test)

  • histogram residuals

  • pnorm residuals

15
New cards

How is homoscedasticity tested in Stata?

  • Visual check: RVF plot (rvfplot)

  • Look for no patterns or fanning in residuals

16
New cards

What is linearity and how is it checked?

Linearity means a straight-line relationship between X and Y. Check with scatterplots or RVF plots.

17
New cards

What is the Stata command to run a simple linear regression?

regress DV IV

18
New cards

How do you save residuals in Stata?

predict newvar, resid

19
New cards

What does adding , beta to a regression command in Stata do?

Produces standardised beta coefficients.

20
New cards

What is an unstandardised coefficient?

Indicates the change in Y per one unit of X, using the original measurement units.

21
New cards

What is a standardised beta coefficient?

The effect size expressed in standard deviation units; allows comparisons across variables with different scales.

22
New cards

How is the regression equation used for prediction?

Substitute X values into the regression equation to calculate predicted Y values (e.g., Ŷ = 30 + 5X).

23
New cards

Why is prediction useful in regression?

Allows estimation of Y for values of X not in the sample, aiding generalisation to the population.

24
New cards

What types of research designs use regression?

Non-experimental designs like cross-sectional and longitudinal studies.

25
New cards

What makes a research question suitable for simple regression?

It involves prediction, with a continuous IV and DV, and assumes a directional (predictive) relationship.