Unit 6 Bernoulli and Binomial Distributions Homework SOLUTIONS

Similar documents
Unit 4 Bernoulli and Binomial Distributions Week #6 - Practice Problems. SOLUTIONS Revised (enhanced for q4)

Probability mass function; cumulative distribution function

Chapter 3 - Lecture 5 The Binomial Probability Distribution

MA : Introductory Probability

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

5.4 Normal Approximation of the Binomial Distribution

The Binomial Distribution

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

Binomal and Geometric Distributions

Binomial Distributions

Chapter 4 Discrete Random variables

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

4 Random Variables and Distributions

MATH 118 Class Notes For Chapter 5 By: Maan Omran

Review. Binomial random variable

Chapter 4 Discrete Random variables

***SECTION 8.1*** The Binomial Distributions

Binomial Random Variable - The count X of successes in a binomial setting

Binomial and Geometric Distributions

Binomial and Normal Distributions

Central Limit Theorem, Joint Distributions Spring 2018

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41

Lecture 9. Probability Distributions. Outline. Outline

The binomial distribution

Math 14 Lecture Notes Ch. 4.3

Lecture 9. Probability Distributions

CHAPTER 6 Random Variables

Math 361. Day 8 Binomial Random Variables pages 27 and 28 Inv Do you have ESP? Inv. 1.3 Tim or Bob?

guessing Bluman, Chapter 5 2

MA 1125 Lecture 12 - Mean and Standard Deviation for the Binomial Distribution. Objectives: Mean and standard deviation for the binomial distribution.

1 PMF and CDF Random Variable PMF and CDF... 4

Section 6.3 Binomial and Geometric Random Variables

STAT 111 Recitation 3

Probability Distributions. Definitions Discrete vs. Continuous Mean and Standard Deviation TI 83/84 Calculator Binomial Distribution

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

STAT 111 Recitation 2

STAT Mathematical Statistics

Probability & Statistics Chapter 5: Binomial Distribution

Section 8.4 The Binomial Distribution

What do you think "Binomial" involves?

OCR Statistics 1. Discrete random variables. Section 2: The binomial and geometric distributions. When to use the binomial distribution

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

MATH 112 Section 7.3: Understanding Chance

STOR 155 Introductory Statistics (Chap 5) Lecture 14: Sampling Distributions for Counts and Proportions

Unit 4 The Bernoulli and Binomial Distributions

Epidemiology Principle of Biostatistics Chapter 5 Probability Distributions (continued) John Koval

CSSS/SOC/STAT 321 Case-Based Statistics I. Random Variables & Probability Distributions I: Discrete Distributions

Distributions and Intro to Likelihood

Simple Random Sample

Chapter 8.1.notebook. December 12, Jan 17 7:08 PM. Jan 17 7:10 PM. Jan 17 7:17 PM. Pop Quiz Results. Chapter 8 Section 8.1 Binomial Distribution

Discrete Probability Distributions

S160 #9. The Binomial Distribution, Part 1. JC Wang. February 16, 2016

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

CHAPTER 6 Random Variables

MA 1125 Lecture 18 - Normal Approximations to Binomial Distributions. Objectives: Compute probabilities for a binomial as a normal distribution.

The normal distribution is a theoretical model derived mathematically and not empirically.

Binomial distribution

Example. Chapter 8 Probability Distributions and Statistics Section 8.1 Distributions of Random Variables

Part 10: The Binomial Distribution

Central Limit Theorem 11/08/2005

Name: Show all your work! Mathematical Concepts Joysheet 1 MAT 117, Spring 2013 D. Ivanšić

Chapter 6: Random Variables

CHAPTER 6 Random Variables

BINOMIAL EXPERIMENT SUPPLEMENT

Determine whether the given procedure results in a binomial distribution. If not, state the reason why.

Chapter 8: Binomial and Geometric Distributions

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Distribution Distribute in anyway but normal

12. THE BINOMIAL DISTRIBUTION

12. THE BINOMIAL DISTRIBUTION

LAB 2 Random Variables, Sampling Distributions of Counts, and Normal Distributions

A useful modeling tricks.

18.05 Problem Set 3, Spring 2014 Solutions

Probability Distributions for Discrete RV

Chapter 8: The Binomial and Geometric Distributions

2. Modeling Uncertainty

Statistics Chapter 8

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

4: Probability. What is probability? Random variables (RVs)

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

The Binomial Distribution

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

The Binomial Distribution

Bernoulli and Binomial Distributions

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

Probability: Week 4. Kwonsang Lee. University of Pennsylvania February 13, 2015

Math 160 Professor Busken Chapter 5 Worksheets

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Math : Spring 2008

Chapter 4 and 5 Note Guide: Probability Distributions

Problem Set 07 Discrete Random Variables


Chapter 5: Discrete Probability Distributions

SECTION 4.4: Expected Value

Math 243 Section 4.3 The Binomial Distribution

Transcription:

BIOSTATS 540 Fall 2018 Introductory Biostatistics Page 1 of 6 Unit 6 Bernoulli and Binomial Distributions Homework SOLUTIONS 1. Suppose that my BIOSTATS 540 2018 class that meets in class in Worcester, MA has just 10 students. a. I wish to pair up students to work on homework together. How many pairs of 2 students could I form? Answer: 45 10 10! (10)(9) 8! 90 Solution: 10 choose 2 = = = = = 45 2 2! 8! (2)( 1) 8! 2 b. Next, I wish to form project groups of size 5. How many groups of 5 students could I form? Answer: 252 10 10! (10)(9)(8)(7)(6) 5! Solution: 10 choose 5 = = = = 252 5 5! 5! (5)(4)(3)(2)(1) 5!

BIOSTATS 540 Fall 2018 Introductory Biostatistics Page 2 of 6 2. A die will be rolled six times. What are the chances that, over all six rolls, the die lands neither ace (one dot showing) nor deuce (two dots showing) exactly 2 times? Answer =.08 over all six rolls à n = 6 neither ace nor deuce à lands on 3, 4, 5, or 6 à π = [4 winning faces/6 faces total] =.67 exactly 2 times à want Pr[X = 2] à Settings are: n=6, p=π =.67, and x=2 and desired probability is: Pr[ X = 2 ] > WebApps > Binomial Distribution (scroll down) > Click on tab at top: Find Probability R using function dbinom( ) # Question 2 - # Binomial(n, pi): Probability of exactly k events, Pr[X = k] # Binomial(n=6, pi=.67), Prob[X=2] is: # dbinom(x,ntrials,pi) dbinom(2, 6, 0.67) ## [1] 0.07985399 paste("pr [ Binom(6,.67) = 2] = ",round(dbinom(2,6,0.67),4) ) ## [1] "Pr [ Binom(6,.67) = 2] = 0.0799". * Following assumes that you have installed probcalc. ssc install probcalc. * Binomial(n=6, pi=0.67) Prob[ X=2 ]. probcalc b 6.67 exactly 2 n=6 p=.67 option:exactly x=2 P(X=2)=.07985399

BIOSTATS 540 Fall 2018 Introductory Biostatistics Page 3 of 6 3. Suppose that, in the general population, there is a 2% chance that a child will be born with a genetic anomaly. What is the probability that no congenital anomaly will be found among four random births? Answer =.92 four random births à n = 4 2% chance of congenital anomaly à π =.02 no congenital anomaly will be found à want Pr[X = 0] à Settings are: n=4, p=π =.02, and x=0 and desired probability is: Pr[ X = 0 ] > WebApps > Binomial Distribution (scroll down) > Click on tab at top: Find Probability R using function dbinom( ) # Question 3 - # Binomial(n, pi): Probability of exactly k events, Pr[X = k] # Binomial(n=4, pi=.02), Prob[X=0] is: # dbinom(x,ntrials,pi) dbinom(0, 4, 0.02) ## [1] 0.9223682 paste("pr [ Binom(4,.02) = 0] = ",round(dbinom(0,4,0.02),4) ) ## [1] "Pr [ Binom(4,.02) = 0] = 0.9224". * Following assumes that you have installed probcalc. ssc install probcalc. * Binomial(n=4, pi=0.02) Prob[ X=0 ]. probcalc b 4.02 exactly 0 n=4 p=.02 option:exactly x=0 P(X=0)=.92236816

BIOSTATS 540 Fall 2018 Introductory Biostatistics Page 4 of 6 4. Suppose it is known that, for a given couple, there is a 25% chance that a child of theirs will have a particular recessive disease. If they have three children, what are the chances that at least one of them will be affected? Answer =.58 if they have three children à n = 3 25% chance of recessive disease à π =.25 at least one of them is affected à want Pr[X > 1] à Settings are: n=3, p=π =.25, and x=1 and desired probability is: Pr[ X >= 1 ] > WebApps > Binomial Distribution (scroll down) > Click on tab at top: Find Probability R using function 1 - dbinom( ) # Question 4 - # Binomial(n, pi): Probability of k or more events, Pr[X >= k] # Binomial(n=3, pi=.25), Prob[ X >= 1 ] = 1 - Prob [ X = 0 ] is: # 1 - dbinom(x,ntrials,pi) 1 - dbinom(0, 3, 0.25) ## [1] 0.578125 paste("pr [ Binom(3,.25) >= 1] = ",round(1 - dbinom(0,3,0.25),4) ) ## [1] "Pr [ Binom(3,.25) >= 1] = 0.5781". * Binomial(n=3, pi=0.25) Prob[ X >= 1 ]. probcalc b 3.25 atleast 1 n=3 p=.25 option:atleast x=1 P(X=1)=.421875 P(X=2)=.140625 P(X=3)=.015625 pmf Method 1: P(X>=1)=.578125 cdf Method 2: P(X>=1)=.578125

BIOSTATS 540 Fall 2018 Introductory Biostatistics Page 5 of 6 5. Suppose a quiz contains 20 true/false questions. You know the correct answer to the first 10 questions. You have no idea of the correct answer to questions 11 through 20 and decide to answer each using the coin toss method. Calculate the probability of obtaining a total quiz score of at least 85%. Answer =.17 score of at least 85% à # correct must be at least 17 because 85% of 20 = 17 if they have three children à n = 3 you know the correct answer to the first 10 questions à consider only last 10 questions score of at least 85% à need just 7 additional correct answers among last 10 question true/false questions à π =.50 at least 85% à want Pr[X > 7] à Settings are: n=10, p=π =.50, and x=7 and desired probability is: Pr[ X >= 7 ] > WebApps > Binomial Distribution (scroll down) > Click on tab at top: Find Probability R using function 1 - pbinom( ) # Question 5 - # Binomial(n, pi): Probability of k or more events, Pr[X >= k] # Binomial(n=10, pi=.50), Prob[ X >= 7 ] = 1 - Prob [ X <= 6 ] is: # 1 - pbinom(x,ntrials,pi) 1 - pbinom(6, 10, 0.50) ## [1] 0.171875 paste("pr [ Binom(3,.25) >= 7] = ",round(1 - pbinom(6,10,0.50),4) ) ## [1] "Pr [ Binom(3,.25) >= 7] = 0.1719". * Binomial(n=10, pi=0.50) Prob[ X >= 7 ]. probcalc b 10.50 atleast 7 n=10 p=.5 option:atleast x=7 pmf Method 1: P(X>=7)=.171875 cdf Method 2: P(X>=7)=.171875

BIOSTATS 540 Fall 2018 Introductory Biostatistics Page 6 of 6