Summary of "Regression | least squares Method | Multiple regression | standard error of regression #biostatistic"

Overview and main concepts

Simple linear regression — least squares (normal equations)

Step-by-step procedure for simple linear regression (regressing one variable on another):

  1. Prepare data

    • List observed paired values (xi, yi) and determine sample size n.
    • Compute required sums:
      • Σx, Σy
      • Σ(xy) = sum of products xi*yi
      • Σ(x^2) and/or Σ(y^2) as needed
    • Compute sample means x̄ = Σx / n and ȳ = Σy / n (useful for the intercept form).
  2. Form the normal equations

    • For regression of x on y (x dependent):

      • Σx = n*a + b*Σy
      • Σ(xy) = a*Σy + b*Σ(y^2) (Here a = intercept, b = slope when regressing x on y.)
    • For regression of y on x (y dependent), swap x and y:

      • Σy = n*a + b*Σx
      • Σ(xy) = a*Σx + b*Σ(x^2)
  3. Solve the two linear normal equations simultaneously for a and b

    • Use algebraic elimination or
    • Use means/covariance formulas (below) to get b directly and then a.
  4. Alternative direct formula for the slope (covariance / sums form)

    • For x on y (x dependent):
      • b = [n*Σ(xy) − Σx*Σy] / [n*Σ(y^2) − (Σy)^2]
      • a = x̄ − b*ȳ
    • For y on x (y dependent):
      • b = [n*Σ(xy) − Σx*Σy] / [n*Σ(x^2) − (Σx)^2]
      • a = ȳ − b*x̄
  5. Interpret the fitted regression equation (e.g., x = a + b*y or y = a + b*x).

Worked numerical example

Data:

Computed sums:

Normal equations for x on y:

Solve for a and b:

Final regression (x on y):

Note: the original transcript contained arithmetic/transcription mistakes (it at one point claimed a and b were 5). The correct solution is a = 0.5, b = 0.5 as shown above.

Regression coefficient / emphasized formulas

Multiple regression (concept)

Standard error of regression (standard error of estimate)

Applications and resources

Caution: The auto-generated transcript contains arithmetic and transcription errors (notably misreporting final parameter values in the worked example). The numerical results above use corrected arithmetic where necessary. The transcript also repeats and sometimes jumbles sentences; formulas and procedural steps have been extracted and clarified.

Speakers / sources (as identified in the subtitles)

Category ?

Educational


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video