hw06.pdf - Homework 6: Probability, Simulation, Estimation,...

This preview shows page 1 - 3 out of 14 pages.

The preview shows page 2 - 3 out of 14 pages.
Homework 6: Probability, Simulation, Estimation, and AssessingModelsReading:RandomnessSampling and Empirical DistributionsTesting HypothesesPlease complete this notebook by filling in the cells provided. Before you begin, execute the following cell to load the provided tests.Each time you start your server, you will need to execute this cell again to load the tests.Homework 6 is due October 17 at 11:59pm. Start early so that you can come to office hours if you're stuck. Check Collab for theoffice hours schedule.Directly sharing answers is not okay, but discussing problems with me or with other students is encouraged. Refer to the syllabus tolearn more about how to learn cooperatively.For all problems that you must write our explanations and sentences for, youmustprovide your answer in the designated space.Moreover, throughout this homework and all future ones, please be sure to not re-assign variables throughout the notebook! Forexample, if you usemax_temperaturein your answer to one question, do not reassign it later on.In [1]:# Don't change this cell; just run it.importnumpyasnpfromdatascienceimport*# These lines do some fancy plotting magic.importmatplotlib%matplotlibinlineimportmatplotlib.pyplotaspltplt.style.use('fivethirtyeight')importwarningswarnings.simplefilter('ignore',FutureWarning)fromclient.api.notebookimportNotebookok=Notebook('hw06.ok')_=ok.auth(inline=True)1. ProbabilityWe will be testing some probability concepts that were introduced in lecture. For all of the following problems, we will introduce aproblem statement and give you a proposed answer. Next, for each of the following questions, you must assign the provided variable=====================================================================Assignment: Homework 6: Probability, Simulation, Estimation, and Assessing ModelsOK, version v1.14.15=====================================================================ERROR | auth.py:102 | {'error': 'invalid_grant'}Open the following URL:After logging in, copy the code from the web page and paste it into the box.Then press the "Enter" key on your keyboard.Paste your code here: W1G6hBxrvdpWQnoLFdllxmvqM0VRJBSuccessfully logged in as [email protected]
to one of three integers. You are more than welcome to create more cells across this notebook to use for arithmetic operations, butbe sure to assign the provided variable to 1, 2, or 3 in the end.1. Assign the variable to 1 if you believe our proposed answer is too low.2. Assign the variable to 2 if you believe our proposed answer is correct.3. Assign the variable to 3 if you believe our proposed answer is too high.Question 1.You roll a 6-sided die 10 times. What is the chance of getting 10 sixes?)
Question 2.Take the same problem set-up as before, rolling a fair dice 10 times. What is the chance that every roll is less than orequal to 5?

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 14 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A
Tags

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture