Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
559 B
1
Indexable
Never
 import numpy as np
    from scipy.stats import skew

    X = np.array([0.03255323, 6.18574775, -0.58430139, 3.22112446, 1.16543279, 0.84083317])

    skewness = skew(X)


    print("Skewness for data : ", skewness)





import numpy as np
from scipy.stats import kurtosis

def calculate_kurtosis(data):

    kurt = kurtosis(data)

    return kurt


data = np.array([0.03255323, -6.18574775, -0.58430139, 3.22112446, 1.16543279, 0.84083317])

kurtosis_value = calculate_kurtosis(data)

print("Kurtosis for data : ", kurtosis_value)
Leave a Comment