From 415ef78c52ca9e04695f2bc7592b4097717d6df1 Mon Sep 17 00:00:00 2001 From: Rafey Iqbal Rahman <59226057+RafeyIqbalRahman@users.noreply.github.com> Date: Mon, 24 Aug 2020 11:43:01 +0500 Subject: [PATCH] Added submodules for normality tests These submodules are used to test the distribution of the data using hypothesis testing (inferential statistics), i.e., whether the distribution of the data points is normal (Gaussian) at specific confidence intervals. --- src/pyforest/_imports.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pyforest/_imports.py b/src/pyforest/_imports.py index f3de19c..423364a 100644 --- a/src/pyforest/_imports.py +++ b/src/pyforest/_imports.py @@ -72,6 +72,11 @@ stats = LazyImport("from scipy import stats") sm = LazyImport("import statsmodels.api as sm") +### Normality Tests +shapiro = LazyImport("from scipy.stats import shapiro") +normaltest = LazyImport("from scipy.stats import normaltest") +anderson = LazyImport("from scipy.stats import anderson") + ### Time-Series Forecasting fbprophet = LazyImport("import fbprophet") Prophet = LazyImport("from fbprophet import Prophet")