Skip to main content

কীভাবে Linear Regression গণনা করবেন

Linear Regression কি?

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 ক্যালকুলেটর চেষ্টা করুন

নিজে চেষ্টা করে দেখুন →

সেটিংস