Class Intercept

  • All Implemented Interfaces:
    Function, Function2Arg

    public final class Intercept
    extends Fixed2ArgFunction
    Implementation of Excel function INTERCEPT()

    Calculates the INTERCEPT of the linear regression line that is used to predict y values from x values
    (http://introcs.cs.princeton.edu/java/97data/LinearRegression.java.html) Syntax:
    INTERCEPT(arrayX, arrayY)