Skip to content

Statistical Methods

pyrix.matrix.Matrix.globalMean()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def globalMean(self):
        ....

details

This method finds the mean value in the whole matrix

Returns:

  • return: the mean value (int/float type).

pyrix.matrix.Matrix.globalMedian()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def globalMedian(self):
        ....

details

This method finds the median value in the whole matrix

Returns:

  • return: the median value (int/float type).

pyrix.matrix.Matrix.globalMode()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def globalMode(self):
        ....

details

This method finds the mode value in the whole matrix

Returns:

  • return: the mode value (int/float type).

pyrix.matrix.Matrix.localRowMean()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def localRowMean(self, rowindex):
        ....

details

This method finds the mean value in the indexed row of the matrix

Parameters:

  • rowindex: the index of the row to be selected.

Returns:

  • return: the mean value of the row (int/float type).

pyrix.matrix.Matrix.localRowMedian()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def localRowMedian(self, rowindex):
        ....

details

This method finds the median value in the indexed row of the matrix

Parameters:

  • rowindex: the index of the row to be selected.

Returns:

  • return: the median value of the row (int/float type).

pyrix.matrix.Matrix.localRowMode()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def localRowMode(self, rowindex):
        ....

details

This method finds the mode value in the indexed row of the matrix

Parameters:

  • rowindex: the index of the row to be selected.

Returns:

  • return: the mode value of the row (int/float type).

pyrix.matrix.Matrix.localColumnMean()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def localColumnMean(self, colindex):
        ....

details

This method finds the mean value in the indexed column of the matrix

Parameters:

  • colindex: the index of the column to be selected.

Returns:

  • return: the mean value of the column (int/float type).

pyrix.matrix.Matrix.localColumnMedian()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def localColumnMedian(self, colindex):
        ....

details

This method finds the median value in the indexed column of the matrix

Parameters:

  • colindex: the index of the column to be selected.

Returns:

  • return: the median value of the column (int/float type).

pyrix.matrix.Matrix.localColumnMode()

Abstract Code Description

1
2
3
4
class Matrix:
    ::
    def localColumnMode(self, colindex):
        ....

details

This method finds the mode value in the indexed column of the matrix

Parameters:

  • colindex: the index of the column to be selected.

Returns:

  • return: the mode value of the column (int/float type).

Last update: December 3, 2020