How it works
Residual sum of squares is compared with total sum of squares around the mean. This form solves for r squared percentage; enter the known quantities in Residual sum of squares, Total sum of squares.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| Residual sum of squares | 10 | Formula symbol: sse. Enter a numeric value. Use a non-negative value. |
| Total sum of squares | 40 | Formula symbol: sst. Enter a numeric value. Must be greater than zero. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- Residual sum of squares
- 10
- Total sum of squares
- 40
Complete example results
- R squared percentage
- 75 %
Reading the result
The result solves for r squared percentage from the entered quantities. Check the result unit and the formula conditions before using it.
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
When can I use the r squared percentage result?
SSE and SST need the same data and evaluation basis. Negative R squared is possible; it is shown as a percentage and is not always squared correlation.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.
Method sources: itl.nist.gov