KolmogorovSmirnovTestResult¶

class
pyspark.mllib.stat.
KolmogorovSmirnovTestResult
(java_model: py4j.java_gateway.JavaObject)[source]¶ Contains test results for the KolmogorovSmirnov test.
Methods
call
(name, *a)Call method of java_model
Attributes
Returns the degree(s) of freedom of the hypothesis test.
Null hypothesis of the test.
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.
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.
