/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
c = ( t - volatility) -y;
c = ( t - sum ) -y;
public double getPhysicalAverageError() { double sum = 0; double c = 0; for(int i = 0; i < marketPhysical.length; i++) { final double y = Math.abs(marketPhysical[i] - modelPhysical[i]) - c; final double t = sum + y; <extra_id_0> sum = t; } return sum / marketPhysical.length; } public double getPhysicalMaxError() { double max = 0;