Skip to main content

learn.howToCalculate

learn.whatIsHeading

The slope and intercept of a linear regression line (ŷ = mx + b) describe the best-fit straight line through a scatter of data points, minimising the sum of squared vertical residuals (OLS).

단계별 가이드

  1. 1m = Σ(xi−x̄)(yi−ȳ) / Σ(xi−x̄)²
  2. 2b = ȳ − m × x̄
  3. 3Slope m has units of y/x
  4. 4Use for prediction: plug x into equation to get ŷ

풀어진 예시

입력
Height vs weight → slope = 0.65 kg/cm
결과
Each cm of height adds 0.65 kg to predicted weight
Slope interpretation depends on units

계산할 준비가 되셨나요? 무료 Linear Regression 계산기를 사용해 보세요

직접 시도해 보세요 →

설정

개인정보이용약관정보© 2026 PrimeCalcPro