hw06.pdf - hw06[76 Initialize OK from client.api.notebook...

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

hw06April 26, 2020[76]:# Initialize OKfromclient.api.notebookimportNotebookok=Notebook('hw06.ok')=====================================================================Assignment: Homework 6: Probability, Simulation, Estimation, and AssessingModelsOK, version v1.12.5=====================================================================1Homework 6: Probability, Simulation, Estimation, and Assess-ing ModelsReading: *Randomness*Sampling and Empirical Distributions*Testing HypothesesPlease complete this notebook by filling in the cells provided.Before you begin, execute thefollowing cell to load the provided tests. Each time you start your server, you will need to executethis cell again to load the tests.Homework 6 is due Thursday, 3/5 at 11:59pm. You will receive an early submission bonus point ifyou turn in your final submission by Wednesday, 3/4 at 11:59pm. Start early so that you can cometo office hours if you’re stuck. Check the website for the office hours schedule. Late work will notbe accepted as per thepoliciesof this course.Directly sharing answers is not okay, but discussing problems with the course staff or with otherstudents is encouraged. Refer to the policies page to learn more about how to learn cooperatively.For all problems that you must write our explanations and sentences for, youmustprovide youranswer in the designated space. Moreover, throughout this homework and all future ones, please besure to not re-assign variables throughout the notebook! For example, if you usemax_temperaturein your answer to one question, do not reassign it later on.[77]:# Don't change this cell; just run it.importnumpyasnpfromdatascienceimport*1
# 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)=====================================================================Assignment: Homework 6: Probability, Simulation, Estimation, and AssessingModelsOK, version v1.12.5=====================================================================Successfully logged in as [email protected]1.11. ProbabilityWe will be testing some probability concepts that were introduced in lecture. For all of the followingproblems, we will introduce a problem statement and give you a proposed answer. You must assignthe provided variable to one of the following three integers, depending on whether the proposedanswer is too low, too high, or correct.1. Assign the variable to 1 if you believe our proposed answer is too high.2. Assign the variable to 2 if you believe our proposed answer is too low.3. Assign the variable to 3 if you believe our proposed answer is correct.You are more than welcome to create more cells across this notebook to use for arithmetic operations

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture