docstr: T-student
  
  Calculates the T-test for the means of TWO INDEPENDENT samples of scores.
  
  This is a two-sided test for the null hypothesis that 2 independent samples have identical 
  average (expected) values
  
  This test assumes that the populations have identical variances.
docstr_tok: ["T-student","Calculates","the","T-test","for","the","means","of","TWO","INDEPENDENT","samples","of","scores",".","This","is","a","two-sided","test","for","the","null","hypothesis","that","2","independent","samples","have","identical","average","(","expected",")","values","This","test","assumes","that","the","populations","have","identical","variances","."]
code: def ttest(self):
      """
      T-student
  
      Calculates the T-test for the means of TWO INDEPENDENT samples of scores.
  
      This is a two-sided test for the null hypothesis that 2 independent samples have identical
      average (expected) values
  
      This test assumes that the populations have identical variances.
      """
  
      t, p = ttest_ind(self.sample1, self.sample2)
      print("=== T- Student Analysis ===")
      print("The calculated t-statistic: " + str(t))
      print("The two-tailed p-value: " + str(p) + "\n")
  
file_path: CaseRecommender/caserec/evaluation/statistical_analysis.py
imports: from scipy.stats import ttest_ind, ranksums
  import numpy
label_desc: Use image node_id 3 for calling the StatisticalAnalysis obj's underlying member method code with example usage: obj.ttest() without return types