Skip to main content
DigiCalcs

Kā aprēķināt R-squared

Kas ir R-squared?

R² (coefficient of determination) measures the proportion of variance in the dependent variable that is predictable from the independent variable(s). R²=0.80 means 80% of variation in Y is explained by the model.

Soli pa solim ceļvedis

  1. 1R² = 1 − SS_residual / SS_total
  2. 2SS_total = Σ(yi − ȳ)²
  3. 3SS_residual = Σ(yi − ŷi)²
  4. 4For simple linear regression: R² = r²

Worked Examples

Ievade
SS_total=100 · SS_residual=30
Rezultāts
R² = 0.70 — model explains 70% of variance
Reasonable for many real-world applications

Vai esat gatavs aprēķināt? Izmēģiniet bezmaksas R-squared kalkulatoru

Izmēģiniet to pats →

Iestatījumi