krit.club logo

Statistics and Probability - Regression

Grade 11IB_AI

Review the key concepts, formulae, and examples before starting your quiz.

πŸ”‘Concepts

β€’

Bivariate Data: This involves the study of two variables to determine the relationship between them. The independent variable (xx) is the explanatory variable, and the dependent variable (yy) is the response variable.

β€’

Scatter Diagrams: A graphical representation of bivariate data. It helps identify the correlation (positive, negative, or none) and the strength (weak, moderate, or strong) of the relationship.

β€’

Pearson’s Product-Moment Correlation Coefficient (rr): A numerical measure of the linear relationship between two variables. It ranges from βˆ’1-1 to 11, where r=1r = 1 is a perfect positive correlation, r=βˆ’1r = -1 is a perfect negative correlation, and r=0r = 0 indicates no linear correlation.

β€’

The Least Squares Regression Line: The line of best fit that minimizes the sum of the squares of the vertical offsets (residuals). It is expressed in the form y=ax+by = ax + b or y=mx+cy = mx + c.

β€’

The Mean Point: The regression line always passes through the centroid or mean point (xˉ,yˉ)(\bar{x}, \bar{y}).

β€’

Interpolation vs. Extrapolation: Interpolation is making a prediction within the range of the original data set (usually reliable). Extrapolation is making a prediction outside the range of data (often unreliable and should be treated with caution).

πŸ“Formulae

y=ax+by = ax + b

xΛ‰=βˆ‘xn\bar{x} = \frac{\sum x}{n}

yΛ‰=βˆ‘yn\bar{y} = \frac{\sum y}{n}

βˆ’1≀r≀1-1 \le r \le 1

πŸ’‘Examples

Problem 1:

A group of 5 students recorded the number of hours they studied (xx) and their test scores (yy): (2,45),(4,55),(6,75),(8,80),(10,95)(2, 45), (4, 55), (6, 75), (8, 80), (10, 95). Calculate the equation of the regression line yy on xx and the Pearson correlation coefficient rr.

Solution:

Using a Graphic Display Calculator (GDC) to perform Linear Regression:

  1. Input xx values into List 1 and yy values into List 2.
  2. Perform 'Linear Reg (ax+bax+b)'.
  3. Results: a=6.5a = 6.5, b=31b = 31, rβ‰ˆ0.985r \approx 0.985.

The equation is y=6.5x+31y = 6.5x + 31.

Explanation:

The value a=6.5a = 6.5 means that for every additional hour studied, the score is predicted to increase by 6.56.5 points. The value r=0.985r = 0.985 indicates a very strong positive linear correlation.

Problem 2:

Using the regression line y=6.5x+31y = 6.5x + 31, predict the test score of a student who studies for 77 hours and state whether this is interpolation or extrapolation.

Solution:

Substitute x=7x = 7 into the equation: y=6.5(7)+31y = 6.5(7) + 31 y=45.5+31y = 45.5 + 31 y=76.5y = 76.5

The predicted score is 76.576.5. Since 77 lies within the original range of xx values (22 to 1010), this is interpolation.

Explanation:

Interpolation is generally considered reliable because the prediction stays within the observed boundaries of the data collected.