changeset 26:5c5440e7854a

a bit more
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 15 Nov 2022 19:37:28 +0000
parents 50337cd1d16f
children 21da4d6521db
files bin/spearman.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/spearman.py	Mon Nov 14 18:52:35 2022 +0000
+++ b/bin/spearman.py	Tue Nov 15 19:37:28 2022 +0000
@@ -3,6 +3,7 @@
 from numpy import loadtxt
 from scipy import stats
 import statsmodels.api as sm
+import matplotlib.pyplot as plt
 import pylab
 
 import sys
@@ -10,4 +11,4 @@
 cc19=loadtxt(sys.argv[1],delimiter=',')
 cc19s_o=stats.spearmanr(cc19,nan_policy='omit')
 cc19s_x=np.array([np.concatenate((cc19s_o.correlation[i][1:i],cc19s_o.correlation[i][i+1:])) for i in range(1,101)])
-
+cc19s_xd=[stats.describe(cc19s_x[i]) for i in range(100)]