Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Adjusted R-Squared and Residual Scale

Adjust regression R-squared for predictor count and calculate residual scale and degrees of freedom.

Statistics workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaAdjusted R2 = 1-(1-r2)*(n-1)/(n-p-1); Residual Sd = sqrt(sse/(n-p-1)); Residual Df = n-p-1
Sources and model references

Worked example

Inputs

R-squared
0.8 fraction
Observations
100 count
Predictors excluding intercept
4 count
Residual sum of squares
190 value²

Expected results

Adjusted R2
0.7915789474 number
Residual Sd
1.414213562 number
Residual Df
95 number

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs using consistent units.
  2. Check the stated assumptions and calculate.
  3. Review each output and compare another input scenario.

Try this example

{
  "r2": 0.8,
  "n": 100,
  "p": 4,
  "sse": 190
}

Accuracy and scope

Ordinary least squares with intercept; adjusted R² can be negative. Finite floating-point arithmetic; results can lose precision near singular or extreme inputs.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.