docstr: Class for statical analyse. This class compares 2 list of sample and generate a statical analyse
  
  :param sample1: List of results of a recommender 1 in K folds (list with len K)
  :type sample1: list
  
  :param sample2: List of results of a recommender 2 in K folds (list with len K)
  :type sample2: list
  
  :param method:
  :type method: str, default 'ttest'
docstr_tok: ["Class","for","statical","analyse",".","This","class","compares","2","list","of","sample","and","generate","a","statical","analyse",":","param","sample1",":","List","of","results","of","a","recommender","1","in","K","folds","(","list","with","len","K",")",":","type","sample1",":","list",":","param","sample2",":","List","of","results","of","a","recommender","2","in","K","folds","(","list","with","len","K",")",":","type","sample2",":","list",":","param","method",":",":","type","method",":","str",",","default","'ttest","'"]
code: def __init__(self, sample1, sample2, method="ttest"):
      """
      Class for statical analyse. This class compares 2 list of sample and generate a statical analyse
  
      :param sample1: List of results of a recommender 1 in K folds (list with len K)
      :type sample1: list
  
      :param sample2: List of results of a recommender 2 in K folds (list with len K)
      :type sample2: list
  
      :param method:
      :type method: str, default 'ttest'
  
      """
      self.sample1 = np.array(sample1)
      self.sample2 = np.array(sample2)
      self.method = method
  
file_path: CaseRecommender/caserec/evaluation/statistical_analysis.py
imports: from scipy.stats import ttest_ind, ranksums
  import numpy
label_desc: Use image node_id 1 to create a new StatisticalAnalysis object from inherited base classes: object with example: obj = StatisticalAnalysis(sample1, sample2, method)