Exercise:

  • Use the variable Agriculture in the built-in dataset swiss to separate the dataset into two groups: one with the Agriculture variable below its median and another with Agriculture above the median. 
  • Use the t-test and Wilcoxon test to compare the Examination rates across the two groups. 
  • Do the tests agree with each other?
Last modified: Friday, 16 December 2022, 12:30 PM