📖 INDEX
LOADING ENGINE...
stats.kstest()
AI & DATA SCIENCE // stats-kstest
Performs the (one-sample or two-sample) Kolmogorov-Smirnov test.
Syntax
from scipy.stats import kstest
res = kstest(v, 'norm')Examples
Example 01Basic Usage
from scipy.stats import kstest
res = kstest(v, 'norm')Best Practices
- Refer to SciPy documentation for advanced mathematical methods.
- Ensure your NumPy array types match the required formats for SciPy functions.