Why this total residual error shows 0.5?
3 views (last 30 days)
I confirm the function 'findchangepts' following code.
findchangepts([0 1 2],'MinThreshold',0.5)
this result shows total residual error = 0.5. But, in my understanding, each points of residual error are 0, -0.5, +0.5, so the total residual error is 0. Because the values of residual error is each points to red line.
Could you explain me why this total residual value is 0.5?