Class SumOfSquares

    • Constructor Detail

      • SumOfSquares

        public SumOfSquares()
    • Method Detail

      • evaluate

        public void evaluate​(GeneralTask t)
        Calculates the sum of squared deviations using curve as reference.

        This calculates ∑i=i1i2(T⏞(ti)-T(ti)ref)2, where Tiref is the temperature value corresponding to the time at index i for the reference curve. Note that the time ti corresponds to the reference's time list, which generally does not match to that of this heating curve. The T⏞(ti) is the interpolated value.

        Specified by:
        evaluate in class Statistic
        Parameters:
        t - The task containing the reference and calculated curves
        See Also:
        calculateResiduals()