Normality
usage: normality [--export {csv,json,xlsx}] [-h]
Normality tests
To learn more about this subject, visit the Wiki page: https://en.wikipedia.org/wiki/Normality_test
A 2011 study concludes that Shapiro–Wilk has the best power for a given significance, followed closely by Anderson–Darling when comparing the Shapiro–Wilk, Kolmogorov–Smirnov, Lilliefors, and Anderson–Darling tests.
optional arguments:
--export {csv,json,xlsx}
Export dataframe data to csv,json,xlsx file (default: )
-h, --help show this help message (default: False)
Example:
2022 Feb 16, 11:11 (✨) /stocks/qa/ $ normality
Normality Statistics
┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━┓
┃ ┃ Statistic ┃ p-value ┃
┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━┩
│ Kurtosis │ 10.2422 │ 0.0000 │
├────────────────────┼───────────┼─────────┤
│ Skewness │ -0.2238 │ 0.8229 │
├────────────────────┼───────────┼─────────┤
│ Jarque-Bera │ 1155.1958 │ 0.0000 │
├────────────────────┼───────────┼─────────┤
│ Shapiro-Wilk │ 0.9265 │ 0.0000 │
├────────────────────┼───────────┼─────────┤
│ Kolmogorov-Smirnov │ 0.4680 │ 0.0000 │
└────────────────────┴───────────┴─────────┘