Practice: t-test
In this exercise, you will use the t-test and Wilcoxon test to compare the Examination rates across the two groups. This exercise does not count toward your grade. It is just for practice!
Exercise:
- Use the variable
Agriculturein the built-in datasetswissto separate the dataset into two groups: one with theAgriculturevariable below its median and another withAgricultureabove 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?