import numpy as np from scipy import stats import matplotlib.pyplot as plt from sklearn.utils import resample