The array of integers corresponding to valid choices for the test statistic (ab_test_stat) is ab_test_stat = [1, 2, 3, 4]
How did we arrive at this assertion?
To choose a valid test statistic based on the alternative hypothesis, let's consider the nature of the hypotheses and the question. If the alternative hypothesis is concerned with a difference, we should focus on options that involve the difference between two groups (drought years and other years). Considering this, the relevant options for the test statistic are:
1. The difference between the total precipitation in drought years and the total precipitation in other years.
2. The absolute difference between the total precipitation in others years and the total precipitation in drought years.
3. The difference between the average precipitation in drought years and the average precipitation in other years.
4. The absolute difference between the average precipitation in others years and the average precipitation in drought years.
Therefore, the array of integers corresponding to valid choices for the test statistic (ab_test_stat) is ab_test_stat = [1, 2, 3, 4]
These options all involve a difference or absolute difference between the total or average precipitation in drought years and other years, aligning with the nature of the hypotheses in Question 2.2.
Complete question:
Our next step is to choose a test statistic based on our alternative hypothesis in Question 2.2. Which of the following options are valid choices for the test statistic? Assign ab_test_stat to an array of integers corresponding to valid choices. Assume averages and totals are taken over the total precipitation sums for each year. The difference between the total precipitation in drought years and the total precipitation in other years. The difference between the total precipitation in others years and the total precipitation in drought years. The absolute difference between the total precipitation in others years and the total precipitation in drought years. The difference between the average precipitation in drought years and the average precipitation in other years. The difference between the average precipitation in others years and the average precipitation in drought years. The absolute difference between the average precipitation in others years and the average precipitation in drought years.