If we look at the data shown in the histogram we can

This preview shows page 14 out of 14 pages.

If we look at the data shown in the histogram, we can see that a coin flipping to heads two times out of ten only appears to be occuring 4% of the time, which is a very low number indicating a high improbability, meaning it is very possible that Gary is cheating and his model is not reasonable.
6. Submission Once you're finished, select "Save and Checkpoint" in the File menu and then execute the submit cell below. The result will contain a link that you can use to check that your assignment has been submitted successfully. If you submit more than once before the deadline, we will only grade your final submission. If you mistakenly submit the wrong one, you can head to okpy.org and flag the correct version. To do so, go to the website, click on this assignment, and find the version you would like to have graded. There should be an option to flag that submission for grading! In [ ]: _ = ok . submit() In [ ]: # For your convenience, you can run this cell to run all the tests at once! import os print ( "Running all tests..." ) _ = [ok . grade(q[: -3 ]) for q in os . listdir( "tests" ) if q . startswith( 'q' )] print ( "Finished running all tests." )

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture