1 Probability We will be testing some probability concepts...

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

hw06 July 31, 2018 1 Homework 6: Probability, Simulation, Estimation, and Assessing Models Reading : Textbook chapters 9 , 10 , and 11 . Please 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 Tuesday, 7/10 at 11:59pm. Start early so that you can come to office hours if you’re stuck. Check the website for the office hours schedule. Late work will not be accepted as per the policies of this course. Directly sharing answers is not okay, but discussing problems with the course staff or with other students is encouraged. Refer to the policies page to learn more about how to learn cooper- atively. For all problems that you must write our explanations and sentences for, you must pro- vide 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! For example, if you use max_temperature in your answer to one question, do not reassign it later on. In [55]: # Don ' t change this cell; just run it. import numpy as np from datascience import * # These lines do some fancy plotting magic. import matplotlib % matplotlib inline import matplotlib.pyplot as plt plt . style . use( ' fivethirtyeight ' ) import warnings warnings . simplefilter( ' ignore ' , FutureWarning ) from client.api.notebook import Notebook ok = Notebook( ' hw06.ok ' ) _ = ok . auth(inline = True ) ===================================================================== Assignment: Homework 6: Probability, Simulation, Estimation, and Assessing Models 1
OK, version v1.12.5 ===================================================================== Successfully logged in as [email protected] 1.1 1. Probability We will be testing some probability concepts that were introduced in lecture. For all of the fol- lowing problems, we will introduce a problem statement and give you a proposed answer. Next, you must asssign a certain variable to one of three integers. You are more than welcome to create more cells across this notebook to use for arithmetic operations, but be sure to assign the requested 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.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture