FunctionRacerProblemsRace

Do the Groups Differ

MediumSciPyPython

groups holds two or more lists of measurements, one list per group. Return the p-value of a one-way analysis of variance: the test of whether all the groups share the same mean.

Example 1

groups [[1,2,3],[1,2,3],[1,2,3]]
returns 1.0

Three identical groups: no sign of any difference.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More SciPy problems