docstr: Analyzing the difference
  
  Instead you might compute the difference and apply some common measure like the sum of absolute differences 
  (SAD), the sum of squared differences (SSD) or the correlation coefficient:
docstr_tok: ["Analyzing","the","difference","Instead","you","might","compute","the","difference","and","apply","some","common","measure","like","the","sum","of","absolute","differences","(","SAD",")",",","the","sum","of","squared","differences","(","SSD",")","or","the","correlation","coefficient",":"]
code: def general_analysis(self):
      """
      Analyzing the difference
  
      Instead you might compute the difference and apply some common measure like the sum of absolute differences
      (SAD), the sum of squared differences (SSD) or the correlation coefficient:
      """
  
      print("=== Information About Samples ===")
      print("Standard Deviation Sample1: " + str(np.std(self.sample1)))
      print(
          "Standard Deviation Sample2: "
          + str(np.std(self.sample2))
          + "\n"
      )
      print("=== Analyzing the Difference Between Samples ===")
      print("SAD:" + str(np.sum(np.abs(self.sample1 - self.sample2))))
      print(
          "SSD:" + str(np.sum(np.square(self.sample1 - self.sample2)))
      )
      print(
          "Correlation:"
          + str(
              np.corrcoef(np.array((self.sample1, self.sample2)))[0, 1]
          )
          + "\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 2 for calling the StatisticalAnalysis obj's underlying member method code with example usage: obj.general_analysis() without return types