Question: 2.6. For our A/B test, we'll use the difference between the average precipitation in drought years and the average precipitation in other years as our

2.6. For our A/B test, we'll use the difference between the average precipitation in drought years and the average precipitation in other years as our test statistic: First, complete the function test_statistic. It should take in a two-column table t with one row per year and two columns: Label: the label for that year (either 'drought' or 'other') Precipitation: the total precipitation in the 13 Southwest cities that year. Then, use the function you define to assign observed_statistic to the observed test statistic

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!