Skip to main content

levene_py

Function levene_py 

Source
pub fn levene_py(
    py: Python<'_>,
    args: &Bound<'_, PyTuple>,
    center: &str,
    proportion_to_cut: f64,
) -> PyResult<Py<PyAny>>
Expand description

Levene’s test for homogeneity of variance.

Parameters:

  • *args: Two or more arrays, each representing a group
  • center: Which function to use: “mean”, “median” (default), or “trimmed”
  • proportion_to_cut: When using “trimmed”, the proportion to cut from each end (default: 0.05)

Returns:

  • Dict with ‘statistic’, ‘pvalue’