To check whether the given data set is normally distributed or not using Anderson Darling test using python.
Anderson-Darling Test
To check given data set is normally distributed or not musing Anderson-Darling test.
#import pandas library
import pandas as pd
#load the data from CSV file
data=pd.read_csv
(‘/home/soft27/soft27/Sathish/
Pythonfiles/Employee.csv’)
#creating the Data Frame
df=pd.DataFrame(data)
print(“Actual data from the CSV file:”)
print(df)
#Calculate the variance
print(“The variance is:”)
print(df.var())
#calculate the standard deviation
print(“The standard deviation is:”)
print(df.std())