totalError method
Returns sig^2 = r(p)T * r(p) / (m -n) , m=# of obs, n = #of free params
Implementation
double totalError() {
List<double> r = residuals(params);
double totalError = numeric.dotVV(r, r) / dof;
return totalError;
}
Returns sig^2 = r(p)T * r(p) / (m -n) , m=# of obs, n = #of free params
double totalError() {
List<double> r = residuals(params);
double totalError = numeric.dotVV(r, r) / dof;
return totalError;
}