Identify the model or equation
Compute the predicted value
Subtract the predicted value from the observed value
Use residual = observed value – predicted value
Repeat for each data point if needed
Identify the model or equation
Compute the predicted value
Subtract the predicted value from the observed value
Use residual = observed value – predicted value
Repeat for each data point if needed