two_way_mean_squares
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- two_way_mean_squares(data: ndarray) Tuple[float, float, float, int, int][source]
Compute the row/column/error mean squares of a two-way layout.
- Parameters:
data – Matrix of shape
(n_targets, k_raters)with one observation per cell; NaNs are not allowed.- Returns:
Tuple
(ms_rows, ms_columns, ms_error, n, k).- Raises:
ValueError – If the matrix is not 2-D, has fewer than two rows or columns, or contains NaN.