Package org.jamesii.core.math

Examples of org.jamesii.core.math.Matrix.mult()


          "Input and response variables must be set before regression can be calculated!");
    }
    if (getB() == null) {
      // Calculate coefficients.
      Matrix xT = getX().transpose();
      setB(xT.mult(getX()).solve());
      // Save this result for the calculation of the standard error for each
      // coefficient.
      setStandardErrorMatrix(getB().copy());
      setB(getB().mult(xT).mult(getY()));
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.