Question: Question 7: We are now in a position to run a hypothesis test to help differentiate between our two hypothesis using our data. Dene a

 Question 7: We are now in a position to run a

Question 7: We are now in a position to run a hypothesis test to help differentiate between our two hypothesis using our data. Dene a function complete_test which takes in thl a table like minnesota_data. It simulates samples and calculates the rate differences for these samples under the null hypothesis 100 times, and uses them to return a PValue with respect to our observed data. Note that your function should use the values in tbl , and should not refer to minnesota_table! Hint: This is a very long, involved problem. Start by outlining the steps you'll need to execute in this function and address each separately. Small steps and comments will be very helpful. You've already written a lot of key steps! Note: Your code may take a couple of minutes to run. def complete_test (1:) : our_p_value - complete_test (minnesota_data) cur_p_value 01:. grade ( "cl-4*?"II

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 Programming Questions!