Interface StatisticalDoubleCalculations

    • Method Detail

      • cumsum

        Matrix cumsum​(boolean ignoreNaN)
      • cumprod

        Matrix cumprod​(boolean ignoreNaN)
      • min

        Matrix min​(Calculation.Ret returnType,
                   int dimension)
        Calculates the mimimum of the values in the matrix either rowwise, columnwise, or global.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - the axis along which should be calculated, e.g. ROW=0, COLUMN=1 or ALL
        Returns:
        A new matrix containing the minimum values
      • max

        Matrix max​(Calculation.Ret returnType,
                   int dimension)
        Calculates the maximum of the values in the matrix either rowwise, columnwise, or global.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - the axis along which should be calculated, e.g. ROW=0, COLUMN=1 or ALL
        Returns:
        A new matrix containing the maximum values
      • sum

        Matrix sum​(Calculation.Ret returnType,
                   int dimension,
                   boolean ignoreNaN)
        Calculates the sum of all entries in the Matrix either per row, per column, or global.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        ignoreNaN - should missing values be ignored
        Returns:
        Matrix with the sum of the values along the desired axis
      • mean

        Matrix mean​(Calculation.Ret returnType,
                    int dimension,
                    boolean ignoreNaN)
        Calculates the mean of all entries in the Matrix either per row, per column, or global.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        ignoreNaN - should missing values be ignored
        Returns:
        Matrix with the sum of the values along the desired axis
      • var

        Matrix var​(Calculation.Ret returnType,
                   int dimension,
                   boolean ignoreNaN,
                   boolean besselsCorrection)
        Calculates the variance of all entries in the Matrix either per row, per column, or global.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        ignoreNaN - should missing values be ignored
        besselsCorrection - use (n-1) instead of n
        Returns:
        Matrix with the sum of the values along the desired axis
      • std

        Matrix std​(Calculation.Ret returnType,
                   int dimension,
                   boolean ignoreNaN,
                   boolean besselsCorrection)
        Calculates the standard deviation of all entries in the Matrix either per row, per column, or global.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        ignoreNaN - should missing values be ignored
        besselsCorrection - use (n-1) instead of n
        Returns:
        Matrix with the sum of the values along the desired axis
      • cov

        Matrix cov​(Calculation.Ret returnType,
                   boolean ignoreNaN,
                   boolean besselsCorrection)
        Calculates the covariance Matrix. Each row is an observation and each column is a variable.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        ignoreNaN - should missing values be ignored
        besselsCorrection - use (n-1) instead of n
        Returns:
        Covariance Matrix
      • corrcoef

        Matrix corrcoef​(Calculation.Ret returnType,
                        boolean ignoreNaN,
                        boolean besselsCorrection)
        Calculates the Pearson correlation. Each row is an observation and each column is a variable.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        ignoreNaN - should missing values be ignored
        besselsCorrection - use (n-1) instead of n
        Returns:
        Covariance Matrix
      • mutualInf

        Matrix mutualInf​(Calculation.Ret returnType)
        Calculates the mutual information. Each row is an observation and each column is a variable.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with mutual information
      • pairedTTest

        Matrix pairedTTest​(Calculation.Ret returnType)
        Calculates a paired T-Test on the matrix. Each row is an observation and each column is a variable.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with p-values of the T-Test
      • indexOfMax

        Matrix indexOfMax​(Calculation.Ret returnType,
                          int dimension)
        Finds the index of the maximum value in the matrix
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        Returns:
        Matrix containing the coordinates of the Maximum
      • indexOfMin

        Matrix indexOfMin​(Calculation.Ret returnType,
                          int dimension)
        Finds the index of the minimum value in the matrix
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        Returns:
        Matrix containing the coordinates of the Minimum