normaltest
Normaltest is a statistical test used to assess whether a sample of data follows a normal (Gaussian) distribution. In SciPy, normaltest refers to the function scipy.stats.normaltest, an omnibus normality test based on D'Agostino's K^2 method. The test combines measures of skewness and kurtosis to evaluate departures from normality.
The calculation proceeds by computing the sample skewness and sample kurtosis, converting these to z-scores, and
Input and output: normaltest accepts a one-dimensional array-like object of numeric data, or data arranged along
Interpretation and considerations: A small p-value suggests that the data deviate from normality. The test is