Class StatisticXY

    • Field Detail

      • myId

        protected int myId
        The id of this object
      • myName

        protected java.lang.String myName
        Holds the name of the statistic for reporting purposes.
      • avgx

        protected double avgx
      • avgy

        protected double avgy
      • varx

        protected double varx
      • vary

        protected double vary
      • sumxy

        protected double sumxy
      • covxy

        protected double covxy
      • nxy

        protected double nxy
    • Constructor Detail

      • StatisticXY

        public StatisticXY()
      • StatisticXY

        public StatisticXY​(java.lang.String name)
    • Method Detail

      • getName

        public final java.lang.String getName()
        Gets the name.
        Specified by:
        getName in interface GetNameIfc
        Returns:
        The name of object.
      • setName

        public final void setName​(java.lang.String str)
        Sets the name
        Parameters:
        str - The name as a string.
      • getId

        public final int getId()
        Returns the id for this collector
        Specified by:
        getId in interface IdentityIfc
        Returns:
      • getAverageX

        public final double getAverageX()
      • getSumX

        public final double getSumX()
      • getAverageY

        public final double getAverageY()
      • getSumY

        public final double getSumY()
      • getVarianceX

        public final double getVarianceX()
      • getVarianceY

        public final double getVarianceY()
      • getSumXY

        public final double getSumXY()
      • getSumXX

        public final double getSumXX()
      • getSumYY

        public final double getSumYY()
      • getSSXX

        public final double getSSXX()
      • getSSYY

        public final double getSSYY()
      • getSSXY

        public final double getSSXY()
      • getSumSquareErrorsRegression

        public final double getSumSquareErrorsRegression()
      • getSST

        public final double getSST()
      • getCoeffOfDetermination

        public final double getCoeffOfDetermination()
      • getSumSquareErrorResiduals

        public final double getSumSquareErrorResiduals()
      • getMSEResiduals

        public final double getMSEResiduals()
      • getSlope

        public final double getSlope()
      • getSlopeStdError

        public final double getSlopeStdError()
      • getIntercept

        public final double getIntercept()
      • getInterceptStdError

        public final double getInterceptStdError()
      • getAdjustedRSq

        public final double getAdjustedRSq()
      • getCovarianceXY

        public final double getCovarianceXY()
      • getCount

        public final double getCount()
      • getCorrelationXY

        public final double getCorrelationXY()
      • reset

        public void reset()
      • collectXY

        public final void collectXY​(double x,
                                    double y)
      • getRatioXY

        public final double getRatioXY()
      • getRatioXYVariance

        public final double getRatioXYVariance()
      • getRatioXYStdError

        public final double getRatioXYStdError()
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • main

        public static void main​(java.lang.String[] args)
      • test1

        public static void test1()
      • test2

        public static void test2()