appliedchemlabwork_tayra.common.check_relation#

appliedchemlabwork_tayra.common.check_relation(significance_level: float | floating[Any], x_or_xy: DataFrame | _Float2D) tuple[bool, float64][source]#
appliedchemlabwork_tayra.common.check_relation(significance_level: float | floating[Any], x_or_xy: _Array1D, y: _Array1D) tuple[bool, float64]

Checks the relation statistically.

Parameters:
significance_levelfloating number

The siginificance level of the test.

x_or_xy_Float1D | _Float2D | DataFrame

The x data or (x,y) paired data.

y_Float1D | None, default None

The y data. Needed only if x_or_xy is a 1-d array.

Returns:
resultbool

The result of the test.

probabilityfloating number

The probability of the event.