KolmogorovSmirnovTestResult

class pyspark.mllib.stat.KolmogorovSmirnovTestResult(java_model: py4j.java_gateway.JavaObject)[source]

Contains test results for the Kolmogorov-Smirnov test.

Methods

call(name, *a)

Call method of java_model

Attributes

degreesOfFreedom

Returns the degree(s) of freedom of the hypothesis test.

nullHypothesis

Null hypothesis of the test.

pValue

The probability of obtaining a test statistic result at least as extreme as the one that was actually observed, assuming that the null hypothesis is true.

statistic

Test statistic.

Methods Documentation

call(name: str, *a: Any) → Any

Call method of java_model

Attributes Documentation

degreesOfFreedom

Returns the degree(s) of freedom of the hypothesis test. Return type should be Number(e.g. Int, Double) or tuples of Numbers.

nullHypothesis

Null hypothesis of the test.

pValue

The probability of obtaining a test statistic result at least as extreme as the one that was actually observed, assuming that the null hypothesis is true.

statistic

Test statistic.