Question 2.3 function called sample_estimates. It should take 3…

Question Question 2.3 function called sample_estimates. It should take 3… Question 2.3function called sample_estimates. It should take 3 arguments:serial_num_tbl: A table from which the data should be sampled. The table will look like observations.statistic: A function that takes in an array of serial numbers as its argument and computes a statistic from the array (i.e. returns a calculated number).num_replications: The number of simulations to perform.Hint: You should use the function simulate_resample which you defined in Question 2.1The function should simulate many samples with replacement from the given table. For each of those samples, it should compute the statistic on that sample. Then it should return an array containing each of those statistics. The code below provides an example use of your function and describes how you can verify that you’ve written it correctly.  Computer Science Engineering & Technology Python Programming CS DATA245 Share QuestionEmailCopy link Comments (0)