hw08.pdf - hw08 1 Homework 8 Confidence Intervals Reading Estimation Please complete this notebook by filling in the cells provided Before you begin

hw08.pdf - hw08 1 Homework 8 Confidence Intervals Reading...

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

hw08 October 25, 2018 1 Homework 8: Confidence Intervals Reading : * Estimation 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 8 is due Thursday, 10/25 at 11:59pm . You will receive an early submission bonus point if you turn in your final submission by Wednesday, 10/24 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 [27]: # 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( ' hw08.ok ' ) _ = ok . auth(inline = True ) ===================================================================== Assignment: Homework 8: Confidence Intervals 1
Image of page 1
OK, version v1.12.5 ===================================================================== Successfully logged in as [email protected] 1.1 1. Plot the Vote Four candidates are running for President of Dataland. A polling company surveys 1000 people selected uniformly at random from among voters in Dataland, and it asks each one who they are planning on voting for. After compiling the results, the polling company releases the following proportions from their sample: Candidate Proportion Candidate C 0.47 Candidate T 0.38 Candidate J 0.08 Candidate S 0.03 Undecided 0.04 These proportions represent a uniform random sample of the population of Dataland. We will attempt to estimate the corresponding population parameters , or the proportion of the votes that each candidate received from the entire population. We will use confidence intervals to compute a range of values that reflects the uncertainty of our estimate. The table votes contains the results of the survey. Candidates are represented by their initials.
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 9 pages?

  • Fall '17
  • Statistical hypothesis testing

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors