Class LeastSquaresRegressionResult

    • Constructor Detail

      • LeastSquaresRegressionResult

        public LeastSquaresRegressionResult​(double[] betas,
                                            double[] residuals,
                                            double meanSquareError,
                                            double[] standardErrorOfBeta,
                                            double rSquared,
                                            double rSquaredAdjusted,
                                            double[] tStats,
                                            double[] pValues,
                                            boolean hasIntercept)
    • Method Detail

      • getBetas

        public double[] getBetas()
      • getResiduals

        public double[] getResiduals()
      • getMeanSquareError

        public double getMeanSquareError()
      • getStandardErrorOfBetas

        public double[] getStandardErrorOfBetas()
      • getRSquared

        public double getRSquared()
      • getAdjustedRSquared

        public double getAdjustedRSquared()
      • getTStatistics

        public double[] getTStatistics()
      • getPValues

        public double[] getPValues()
      • hasIntercept

        public boolean hasIntercept()
      • getPredictedValue

        public double getPredictedValue​(double[] x)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object