Chapter 6. Probability

Similar documents
I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

3.2 Probability Rules

Chapter 2 PROBABILITY SAMPLE SPACE

4. Probability of an event A for equally likely outcomes:

Event A: at least one tail observed A:

Math 1313 Experiments, Events and Sample Spaces

2011 Pearson Education, Inc

Chapter. Probability

Intermediate Math Circles November 8, 2017 Probability II

Basic Concepts of Probability. Section 3.1 Basic Concepts of Probability. Probability Experiments. Chapter 3 Probability

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Question Bank In Mathematics Class IX (Term II)

UNIT 5 ~ Probability: What Are the Chances? 1

Statistical Theory 1

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability

Probability the chance that an uncertain event will occur (always between 0 and 1)

Chapter 4 Probability

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

STT When trying to evaluate the likelihood of random events we are using following wording.

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Basic Statistics and Probability Chapter 3: Probability

Math 140 Introductory Statistics

Section 4.2 Basic Concepts of Probability

Probabilistic models

Math 140 Introductory Statistics

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

Probability and Sample space

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

Lecture 6 Probability

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Statistics 251: Statistical Methods

Midterm Review Honors ICM Name: Per: Remember to show work to receive credit! Circle your answers! Sets and Probability

Lecture Lecture 5

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

CINQA Workshop Probability Math 105 Silvia Heubach Department of Mathematics, CSULA Thursday, September 6, 2012

PROBABILITY.

an event with one outcome is called a simple event.

STAT Chapter 3: Probability

Chapter 2: Probability Part 1

3 PROBABILITY TOPICS

Week 2: Probability: Counting, Sets, and Bayes

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

Probability and Statistics Notes

Announcements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias

5.3 Conditional Probability and Independence

Axioms of Probability

Outline. Probability. Math 143. Department of Mathematics and Statistics Calvin College. Spring 2010

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES

Probabilistic models

Lecture notes for probability. Math 124

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

2.6 Tools for Counting sample points

Chapter 7 Wednesday, May 26th

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Mutually Exclusive Events

Chapter 01 : What is Statistics?

AMS7: WEEK 2. CLASS 2

Probability 5-4 The Multiplication Rules and Conditional Probability

Axioms of Probability. Set Theory. M. Bremer. Math Spring 2018

Chapter 8 Sequences, Series, and Probability

1 The Basic Counting Principles

Term Definition Example Random Phenomena

Today we ll discuss ways to learn how to think about events that are influenced by chance.

CHAPTER 3 PROBABILITY TOPICS

Objectives. CHAPTER 5 Probability and Probability Distributions. Counting Rules. Counting Rules

Ch 14 Randomness and Probability

324 Stat Lecture Notes (1) Probability

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

tossing a coin selecting a card from a deck measuring the commuting time on a particular morning

What is Probability? Probability. Sample Spaces and Events. Simple Event

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

1 Preliminaries Sample Space and Events Interpretation of Probability... 13

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

4. Conditional Probability

P (E) = P (A 1 )P (A 2 )... P (A n ).

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

Announcements. Topics: To Do:

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Homework (due Wed, Oct 27) Chapter 7: #17, 27, 28 Announcements: Midterm exams keys on web. (For a few hours the answer to MC#1 was incorrect on

MATH 250 / SPRING 2011 SAMPLE QUESTIONS / SET 3

P (A) = P (B) = P (C) = P (D) =

Econ 325: Introduction to Empirical Economics

2. A SMIDGEON ABOUT PROBABILITY AND EVENTS. Wisdom ofttimes consists of knowing what to do next. Herbert Hoover

CHAPTER 4 PROBABILITY AND PROBABILITY DISTRIBUTIONS

CSC Discrete Math I, Spring Discrete Probability

What is the probability of getting a heads when flipping a coin

3.2 Intoduction to probability 3.3 Probability rules. Sections 3.2 and 3.3. Elementary Statistics for the Biological and Life Sciences (Stat 205)

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

2.3 Conditional Probability

Transcription:

Chapter 6 robability

Suppose two six-sided die is rolled and they both land on sixes. Or a coin is flipped and it lands on heads. Or record the color of the next 20 cars to pass an intersection. These would be examples of chance experiments. Chance experiment any activity or situation in which there is uncertainty about which of two or more plausible outcomes will result.

Suppose a six-sided die is rolled. The possible outcomes are that the die could land with 1 dot up or 2, 3, 4, 5, or 6 dots up. S = {1, 2, 3, 4, 5, 6} This would be an example of a sample space. Sample space - the collection of all possible outcomes of a chance experiment

Suppose two coins are flipped. The sample space would be: S = {HH, HT, TH, TT} Where H = heads and T = tails H T H T H T HT

Suppose a six-sided die is rolled. The outcome that the die would land on an even number would be E = {2, 4, 6} This would be an example of an event. Event - any collection of outcomes (subset from the sample space of a chance experiment

Suppose a six-sided die is rolled. The event that the die would land on an even number would be E = {2, 4, 6} What would the event be that is the die NOT landing on an even number? E C = {1, 3, 5} This is an example of complementary events. Complement - Consists of all outcomes that are not in the event

These complementary events can be shown on a Venn Diagram. E = {2, 4, 6} and E C = {1, 3, 5}

Suppose a six-sided die is rolled. The event that the die would land on an even number would be E = {2, 4, 6} The event that the die would land on a prime number would be = {2, 3, 5} What would be the event E or happening? E or = {2, 3, 4, 5, 6} This is an example of the union of two events.

The union of A or B - consists of all outcomes that are in at least one of the two events, that is, in A or in B or in both. A or B A B

Let s revisit rolling a die and getting an even or a prime number... E or = {2, 3, 4, 5, 6} Another way to represent this is with a Venn Diagram. 1 6 4 2 3 5

Suppose a six-sided die is rolled. The event that the die would land on an even number would be E = {2, 4, 6} The event that the die would land on a prime number would be = {2, 3, 5} What would be the event E and happening? E and = {2} This is an example of the intersection of two events.

The intersection of A and B - consists of all outcomes that are in both of the events A and B A B

Let s revisit rolling a die and getting an even or a prime number... E and = {2} To represent this with a Venn Diagram: 1 6 4 2 3 5

Suppose a six-sided die is rolled. Consider the following 2 events: A = {2} B = {6} On a single die roll, is it possible for A and B to happen at the same time? These events are mutually exclusive. Mutually exclusive (or disjoint events - two events have no outcomes in common; two events that NEVER happen simultaneously

A Venn Diagram for the roll of a six-sided die and the following two events: A = {2} B = {6} 4 3 2 6 1 5

ractice with Venn Diagrams On the following four slides you will find Venn Diagrams representing the students at your school. Some students are enrolled in Statistics, some in Calculus, and some in Computer Science. For the next four slides, indicate what relationships the shaded regions represent. (use complement, intersection, and union

Statistics Calculus Computer Science Calculus or Computer Science

Statistics Calculus Computer Science (Statistics or Computer Science and not Calculus

Statistics Calculus Com Sci Computer Science Statistics and Computer Science and not Calculus

Statistics Calculus Computer Science Statistics and not (Computer Science or Calculus

What is robability? Three different approaches to probability

The Classical Approach When the outcomes in a sample space are equally likely, the probability of an event E, denoted by (E, is the ratio of the number of outcomes favorable to E to the total number of outcomes in the sample space. ( E favorable outcomes total outcomes Examples: flipping a coin, rolling a die, etc.

On some football teams, the honor of calling the toss at the beginning of the football game is determined by random selection. Suppose this week a member of the 11-player offensive team will be selected to call the toss. There are five interior linemen on the offensive team. If event L is defined as the event that an interior linemen is selected to call the toss, what is probability of L? (L = 5/11

Consider an archer shooting arrows at a target. The probability of getting a bulls eye should be the ratio of the area of the inner circle to the area of the entire target. What if a very experienced archer were shooting the arrows? Would the probability of a bull s eye still be the same?

The Relative Frequency Approach The probability of event E, denoted by (E, is defined to be the value approached by the relative frequency of occurrence of E in a very long series of trials of a chance experiment. Thus, if the number of trials is quite large, ( E number of times number of trials E occurs

Consider flipping a coin and recording the relative frequency of heads. When the number of coin flips is small, there is a lot of variability in the relative frequency of heads (as shown in this graph. What do you notice in the graph at the right?

Consider flipping a coin and recording the relative frequency of heads. The graph at the right shows the relative frequency when the coin is flipped a large number of times. What do you notice in this graph at the right?

Law of Large Numbers As the number of repetitions of a chance experiment increase, the chance that the relative frequency of occurrence for an event will differ from the true probability by more than any small number approaches 0.

The Subjective Approach robability can be interpreted as a personal measure of the strength of belief that a particular outcome will occur. Example: An airline passenger may report that her probability of being placed on standby (denied a seat due to overbooking is 0.1. She arrived at this through personal experience and observation of events.

robability Rules!

Fundamental roperties of robability roperty 1. Legitimate Values For any event E, 0 < (E < 1 roperty 2. Sample space If S is the sample space, (S = 1

roperties Continued... roperty 3. Addition If two events E and F are disjoint, (E or F = (E + (F roperty 4. Complement For any event E, (E + (not E = 1

robabilities of Equally Likely Outcomes Consider an experiment that can result in any one of N possible outcomes. Denote the simple events by O 1, O 2,, O N. If these simple events are equally likely to occur, then 1. 1 ( O, ( O2 N 1 N,, ( O 1 N 1 N 2. For any event E, number of outcomes in ( E N E

Suppose you roll a six-sided die once. Let E be the event that you roll an even number. (E = (2 or 4 or 6 = 3/6 Number of outcomes in E Over N

Addition Rule for Disjoint Events If events E 1, E 2,..., E k are disjoint (mutually exclusive events, then (E 1 or E 2 or... or E k = (E 1 + (E 2 +... + (E k In words, the probability that any of these k disjoint events occurs is the sum of the probabilities of the individual events.

A large auto center sells cars made by many different manufacturers. Three of these are Honda, Nissan, and Toyota. Consider a chance experiment that consist of observing the make of the next car sold. Suppose that (H = 0.25, (N = 0.18, (T = 0.14. Are these disjoint events? yes (H or N or T =.25 +.18+.14 =.57 (not (H or N or T = 1 -.57 =.43

Sometimes the knowledge that one event has occurred changes our assessment of the likelihood that another event occurs. Consider the following example: Suppose that 0.1% of all the individuals in a population have a certain disease. The presence of the disease is not discernable from appearances, but there is a screening test for the disease. Let D = the event that a person has the disease (D =.001

Disease example continued... Suppose that 0.1% of all the individuals in a population have a certain disease. 80% of those with positive test results actually have the disease. 20% of those with positive test results actually do NOT have the disease (false positive Let = the event that a person tests positive for the disease (D = 0.80 This is an example of conditional probability.

Conditional robability A probability that takes into account a given condition has occurred (B A (A B (A

The article Chances Are You Know Someone with a Tattoo, and He s Not a Sailor (Associated ress, June 11, 2006 included results from a survey of adults aged 18 to 50. The accompanying data are consistent with summary values given in the article. At Least One Tattoo No Tattoo Totals Age 18-29 18 32 50 Age 30-50 6 44 50 Totals 24 76 100 Assuming these data are representative of adult Americans and that an adult is selected at random, use the given information to estimate the following probabilities.

Tattoo Example Continued... At Least One Tattoo No Tattoo Totals Age 18-29 18 32 50 Age 30-50 6 44 50 Totals 24 76 100 What is the probability that a randomly selected adult has a tattoo? (tattoo = 24/100 = 0.24

Tattoo Example Continued... At Least One Tattoo No Tattoo Totals Age 18-29 18 32 50 Age 30-50 6 44 50 Totals 24 76 100 What is the probability that a randomly selected adult has a tattoo if they are between 18 and 29 years old? (tattoo age 18-29 = 18/50 = 0.36

Tattoo Example Continued... At Least One Tattoo No Tattoo Totals Age 18-29 18 32 50 Age 30-50 6 44 50 Totals 24 76 100 What is the probability that a randomly selected adult is between 18 and 29 years old if they have a tattoo? (age 18-29 tattoo = 18/24 = 0.75

Sometimes the knowledge that one event has occurred does NOT change our assessment of the likelihood that another event occurs. Consider the genetic trait, hitch hiker s thumb, which is the ability to bend the last joint of the thumb back at an angle of 60 or more. Whether or not an offspring has hitch hiker s thumb is determined by two random events: which gene is contributed by the father and which gene is contributed by the mother. Which gene is contributed by the father does NOT affect which gene is contributed by the mother These are independent events.

Let s consider a bank that offers different types of loans: The bank offers both adjustable-rate and fixed-rate loans on single-family dwellings, condominiums and multifamily dwellings. The following table, called a jointprobability table, displays probabilities based upon the bank s long-run loaning practices. Single Family Condo Multifamily Total Adjustable.40.21.09.70 Fixed.10.09.11.30 Total.50.30.20 (Adjustable loan =.70

Bank Loan s Continued... Single Family Condo Multifamily Total Adjustable.40.21.09.70 Fixed.10.09.11.30 Total.50.30.20 (Adjustable loan =.70 (Adjustable loan Condo =.21/.30 =.70 Knowing that the loan is for a condominium does not change the probability that it is an adjustable-rate loan. Therefore, the event that a randomly selected loan is adjustable and the event that a randomly selected loan is for a condo are independent.

Independent Events Two events are independent if knowing that one will occur (or has occurred does not change the probability that the other occurs. Two events, E and F, are said to be independent if (E F = (E. If (E F = (E, it is also true that (F E = (F.

Multiplication Rule for Two Independent Events Two events E and F are independent, if and only if, (E F (E (F

Hitch Hiker s Thumb Revisited Suppose that there is a 0.10 probability that a parent will pass along the hitch hiker s thumb gene to their offspring. What is the probability that a child will have a hitch hiker s thumb? (H+ from mom AND H+ from dad = 0.1 0.1 = 0.01

Multiplication Rule for k Independent Events Events E 1, E 2,..., E k are independent if knowledge that some number of the events have occurred does not change the probabilities that any particular one or more of the other events occurred. ( E E2... E ( E1 ( E2... ( E 1 k k This relationship remains valid if one or more of the events are replaced by their complement (not E.

Suppose that a desktop computer system consist of a monitor, a mouse, a keyboard, the computer processor itself, and storage devices such as a disk drive. Most computer system problems due to manufacturer defects occur soon in the system s lifetime. urchasers of new computer systems are advised to turn their computers on as soon as they are purchased and then to let the computer run for a few hours to see if any problems occur. Let E 1 = event that a newly purchased monitor is not defective E 2 = event that a newly purchased mouse is not defective E 3 = event that a newly purchased disk drive is not defective E 4 = event that a newly purchased processor is not defective Suppose the four events are independent with (E 1 = (E 2 =.98 (E 3 =.94 (E 4 =.99

Let E 1 = event that a newly purchased monitor is not defective E 2 = event that a newly purchased mouse is not defective E 3 = event that a newly purchased disk drive is not defective E 4 = event that a newly purchased processor is not defective Suppose the four events are independent with (E 1 = (E 2 =.98 (E 3 =.94 (E 4 =.99 What is the probability that none of these components are defective? ( 2 3 4 E E E E 1 (.98(.98(.94(.99 =.89

Let E 1 = event that a newly purchased monitor is not defective E 2 = event that a newly purchased mouse is not defective E 3 = event that a newly purchased disk drive is not defective E 4 = event that a newly purchased processor is not defective Suppose the four events are independent with (E1 = (E2 =.98 (E3 =.94 (E4 =.99 What is the probability that all these components will run properly except the monitor? C ( E1 2 3 E4 E E (.02(.98(.94(.99 =.018

Suppose I will pick two cards from a standard deck. This can be done two ways: 1ick a card at random, replace the card, then pick a second card 2 ick a card at random, do NOT replace, then pick a second card. If I pick two cards from a standard deck without replacement, what is the probability that I select two spades? Are the events E 1 = first card is a spade and E 2 = second card is a spade independent? NO

Suppose the manufacturer of a certain brand of light bulbs made 10,000 of these bulbs and 500 are defective. You randomly pick a package of two such bulbs off the shelf of a store. What is the probability that both bulbs are defective? Are the events E 1 = the first bulb is defective and E 2 = the second bulb is defective independent? What would be the probability of selecting a defective light bulb? 500/10,000 =.05

Light Bulbs Continued... What would be the probability of selecting a defective light bulb? 500/10,000 =.05 Having selected one defective bulb, what is the probability of selecting another without replacement? 499/9999 =.0499

Light Bulbs Continued... What is the probability that both bulbs are defective? Are the selections independent? We can assume independence. (defective defective (0.05(0.05 =.0025

General Rule for Addition For any two events E and F, ( E F ( E ( F ( E F E F

Musical styles other than rock and pop are becoming more popular. A survey of college students finds that the probability they like country music is.40. The probability that they liked jazz is.30 and that they liked both is.10. What is the probability that they like country or jazz? ( Country Jazz.4 +.3 -.1 =.6

Here is a process to use when calculating the union of two or more events. ( E F Yes Ask yourself, Are the events mutually exclusive? No ( E ( F ( E ( F ( E F If independent ( E ( F

Suppose two six-sided dice are rolled (one white and one red. What is the probability that the white die lands on 6 or the red die lands on 1? Let A = white die landing on 6 B = red die landing on 1 Are A and B disjoint? NO, independent events cannot be disjoint ( A B ( A ( B ( A B 1 1 1 1 11 6 6 6 6 36

General Rule for Multiplication For any two events E and F, ( E F ( E F ( F

Here is a process to use when calculating the intersection of two or more events. ( A B Ask yourself, Are these events independent? Yes No ( A ( B ( A ( B A

There are seven girls and eight boys in a math class. The teacher selects two students at random to answer questions on the board. What is the probability that both students are girls? Are these events independent? NO 7 6 (G G 1 2 15 14.2

Light Bulbs Revisited... A certain brand of light bulbs are defective five percent of the time. You randomly pick a package of two such bulbs off the shelf of a store. What is the probability that exactly one bulb is defective? Let D 1 = first light bulb is defective D 2 = second light bulb is defective C C D D D ( exactly one defective D 1 2 1 2 = (.05(.95 + (.95(.05 =.095

An electronics store sells DVD players made by one of two brands. Customers can also purchase extended warranties for the DVD player. The following probabilities are given: Let B 1 = event that brand 1 is purchased B 2 = event that brand 2 is purchased E = event that extended warranty is purchased (B 1 =.7 (B 2 =.3 (E B 1 =.2 (E B 2 =.4 If a DVD customer is selected at random, what is the probability that they purchased the extended warranty? E E B E B 1 2

DVD layer Continued... Let B 1 = event that brand 1 is purchased B 2 = event that brand 2 is purchased E = event that extended warranty is purchased (B 1 =.7 (B 2 =.3 (E B 1 =.2 (E B 2 =.4 If a DVD customer is selected at random, what is the probability that they purchased the extended warranty? E E B E B 1 2 E E B E B 1 2 E E ( ( B B E B B 1 1 2 2

DVD layer Continued... Let B 1 = event that brand 1 is purchased B 2 = event that brand 2 is purchased E = event that extended warranty is purchased (B 1 =.7 (B 2 =.3 (E B 1 =.2 (E B 2 =.4 If a DVD customer is selected at random, what is the probability that they purchased the extended warranty? E E ( ( B B E B B 1 1 2 2 (E = (.2(.7 + (.4(.3 =.26 This is an example of the Law of Total robabilities.

Law of Total robabilities If B 1 and B 2 are disjoint events with probabilities (B 1 + (B 2 = 1, for any event E More generally B 1, B 2,, B k are disjoint events with probabilities (B 1 + (B 2 + + (B k = 1, for any event E ( ( ( 2 1 B E B E E ( ( ( ( 2 2 1 1 B B E B B E (... ( ( ( 2 1 k B E B E B E E ( (... ( ( ( ( 2 2 1 1 k B k B E B B E B B E

Bayes Rule (Theorem A formula discovered by the Reverend Thomas Bayes, an English resbyterian minister, to solve what he called converse problems. Let s examine the following problem before looking at the formula...

Lyme s disease is the leading tick-borne disease in the United States and England. Diagnosis of the disease is difficult and is aided by a test that detects particular antibodies in the blood. The article, Laboratory Consideration in the Diagnosis and Management of Lyme Borreliosis, American Journal of Clinical athology, 1993, used the following notations: + represents a positive result on a blood test - represents a negative result on a blood test L represents the patient actually has Lymes L C represents the patient doesn t have Lymes The article gave the following probabilities: (L =.00207 (L C =.99723 (+ L =.937 (- L =.063 (+ L C =.03 (- L C =.97

Lyme s Disease Continued... The article gave the following probabilities: (L =.00207 (L C =.99723 (+ L =.937 (- L =.063 (+ L C =.03 (- L C =.97 Bayes s converse problem poses this question: Given that a patient test positive, what is the probability that he or she really has the disease? written: (L +

( ( ( ( ( ( C C L L L L L L Lyme s Disease Continued... The article gave the following probabilities: (L =.00207 (L C =.99723 (+ L =.937 (- L =.063 (+ L C =.03 (- L C =.97 Bayes reasoned as follows: ( ( ( L L.0596.03(.99793.937(.00207.937(.00207

Bayes Rule (Theorem If B 1 and B 2 are disjoint events with probabilities (B 1 + (B 2 = 1, for any event E More generally B 1, B 2,, B k are disjoint events with probabilities (B 1 + (B 2 + + (B k = 1, for any event E ( ( ( ( ( ( ( 2 2 1 1 1 1 1 B B E B B E B B E E B ( (... ( ( ( ( ( ( ( 2 2 1 1 k k i i i B B E B B E B B E B B E E B

Estimating robabilities using Simulation

Simulation 1. Design a method that uses a random mechanism (such as a random number generator or table, tossing a coin or die, etc. to represent an observation. Be sure that the important characteristics of the actual process are preserved. 2. Generate an observation using the method in step 1 and determine if the outcome of interest has occurred. 3. Repeat step 2 a large number of times 4. Calculate the estimated probability by dividing the number of observations of the outcome of interest by the total number of observations generated.

Suppose that couples who wanted children were to continue having children until a boy was born. Would this change the proportion of boys in the population? We will use simulation to estimate the proportion of boys in the population if couples were to continue having children until a boy was born. 1 We will use a single-random digit to represent a child, where odd digits represent a male birth and even digits represent a female birth. 2 Select random digits from a random digit table until a male is selected and record the number of boys and girls. 3 Repeat step 2 a large number of times.

Boy Simulation Continued... Below are four rows from the random digit table at the back of our textbook. Row 6 0 9 3 8 7 6 7 9 9 5 6 2 5 6 5 8 4 2 6 4 7 4 1 0 1 0 2 2 0 4 7 5 1 1 9 4 7 9 7 5 1 8 6 4 7 3 6 3 4 5 1 2 3 1 1 8 0 0 4 8 2 0 9 8 0 2 8 7 9 3 8 4 0 4 2 0 8 9 1 2 3 3 2 Trial 1: girl, boy Trial 2: boy Trial 3: girl, boy Trial 4: girl, boy Trial 5: boy Trial 6: boy Trial 7: boy Trial 8: girl, girl, boy Trial 9: girl, boy Trial 10: girl, girl, girl, girl, girl, girl, boy