defks_test(self,data):#Method that conducts the Kolmogorov-Smirnov statistical test and returns the best fitting distribution among the list of the available statistical distributions
data=robjects.FloatVector(data)#The given data sample changes into float vector in order to be handled by RPy2
self.Norm_kstest(data)
self.Lognorm_kstest(data)
self.Exp_kstest(data)
self.Pois_kstest(data)
self.Geom_kstest(data)
self.Logis_kstest(data)
self.Geom_kstest(data)
self.Weib_kstest(data)
self.Cauchy_kstest(data)
#Create a list with strings the available statistical distributions