# -*- coding: utf-8 -*-
"""
Created on Wed Jan  5 11:59:51 2022

@author: Sim
"""
import  scipy.stats as st
import numpy as np
import matplotlib.pyplot as plt

xx = [6, 2, 3, 5, 7, 2, 1, 6, 2, 6, 5, 0, 6, 5, 3, 2, 8, 2]

st.probplot(xx,plot=plt)
ksres = st.kstest(xx,'norm', args=(np.mean(xx), np.std(xx,ddof=1)), mode='asym')
print(ksres)
shres = st.shapiro(xx)
print(shres)