Suppose we want to figure out what the biggest

This preview shows page 13 - 16 out of 19 pages.

Question 3.Suppose we want to figure out what the biggest magnitude earthquake was in2017, but we are tasked with doing this only with a sample of 500 from the earthquakes table.To determine whether trying to find the biggest magnitude from a sample is a plausible idea,write code that simulates the maximum of a random sample of size 500 from theearthquakestable 5000 times. Assign your array of maximums tomaximums.
13
In [121]:_=ok.grade('q4_3')~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Running tests---------------------------------------------------------------------Test summaryPassed: 1Failed: 0[ooooooooook] 100.0% passedQuestion 4.Is a random sample of size 500 likely to help you determine the largest magnitudeearthquake in the population? Find the magnitude of the (actual) strongest earthquake in 2017 tohelp you determine your answer.
14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Running tests---------------------------------------------------------------------Test summaryPassed: 1Failed: 0[ooooooooook] 100.0% passedQuestion 5.Explain whether you believe you can accurately use a sample size of 500 to de-termine the maximum. What is a specific con of using the maximum as your estimator? Use thehistogram above to help answer.
5. Assessing Gary’s ModelsGames with GaryOur friend Gary comes over and asks us to play a game with him. The gameworks like this:

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture