Homework 4 Chapter 3 Problems: 38, 46, 50, 54, 55, 58, 61, 64, 69, 74.

Slides:



Advertisements
Similar presentations
Genetics The study of potentials of passing information from one generation to the next.
Advertisements

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Chapter 3. Conditional Probability and Independence Section 3.1. Conditional Probability Section 3.2 Independence.
Probability in genetics. Gregor Mendel (1822 – 1884), experimented on peas Mendelian inheritance, single (or very few) genes controlling certain expressed.
Fundamentals of Genetics
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
COUNTING AND PROBABILITY
Probability Sample Space Diagrams.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 10: Probability of Events
PROBABILITY & PUNNETT SQUARES It can be written as a: Fraction ____ Percent ____ ____________________ is the __________ that a particular _________________.
End Show Slide 1 of 21 Copyright Pearson Prentice Hall 11-2 Probability and Punnett Squares.
Chapter 4 Probability.
NIPRL Chapter 1. Probability Theory 1.1 Probabilities 1.2 Events 1.3 Combinations of Events 1.4 Conditional Probability 1.5 Probabilities of Event Intersections.
Chapter 12: Conditional Probability & Independence 1.(12.1) Conditional Probability 2.(12.2) Independence 1.(12.1) Conditional Probability 2.(12.2) Independence.
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
Chris Morgan, MATH G160 January 18, 2012 Lecture 4 Chapter 4.4: Independence 1.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
Binomial & Geometric Random Variables
Quiz 4  Probability Distributions. 1. In families of three children what is the mean number of girls (assuming P(girl)=0.500)? a) 1 b) 1.5 c) 2 d) 2.5.
Conditional Probability. Conditional Probability of an Event Illustrating Example (1): Consider the experiment of guessing the answer to a multiple choice.
Chapter 4 Probability See.
Conditional Probability and Independence If A and B are events in sample space S and P(B) > 0, then the conditional probability of A given B is denoted.
Probability and Sample space
Heredity and Genetics Just think… “My parents have brown eyes, why are mine blue?” “My brother is tall. Why am I short?” “Why does my sister have blonde.
1  Event - any collection of results or outcomes from some procedure  Simple event - any outcome or event that cannot be broken down into simpler components.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
Introduction to Genetics Chapter 9. Heredity Transmission of characteristics form parents to offspring.
Warm-Up 1. What is Benford’s Law?
Chapter 1:Independent and Dependent Events
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
Warm-Up 1. Expand (x 2 – 4) 7 1. Find the 8 th term of (2x + 3) 10.
Probability and Punnett Squares. Probability Probability is the likelihood that a specific event will occur. For example, if you flip a coin, the probability.
GENETICS. Gregor Mendel considered the father of genetics Studied Pea Plants to learn about the transmission of traits from parents to offspring Trait.
Probability and Punnett Squares
Chapter 3 – Basic Principles of Heredity. Johann Gregor Mendel (1822 – 1884) Pisum sativum Rapid growth; lots of offspring Self fertilize with a single.
1 Working with samples The problem of inference How to select cases from a population Probabilities Basic concepts of probability Using probabilities.
Chapter 9 Review. 1. Give the probability of each outcome.
Warm-Up A woman and a man (unrelated) each have two children .
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
P(A). Ex 1 11 cards containing the letters of the word PROBABILITY is put in a box. A card is taken out at random. Find the probability that the card.
Year 10, Pathway C  Inheritance  IntermediateDominant/recessive Offspring can show a mixture of both characteristics Offspring will show one characteristic.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Punnett Squares.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
How likely is it that…..?. The Law of Large Numbers says that the more times you repeat an experiment the closer the relative frequency of an event will.
Chapter 14: Mendel & The Gene Idea
Chapter 4 Random Variables - 1. Outline Random variables Discrete random variables Expected value 2.
Aim: ‘And’ Probabilities & Independent Events Course: Math Lit. Aim: How do we determine the probability of compound events? Do Now: What is the probability.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
To be presented by Maral Hudaybergenova IENG 513 FALL 2015.
SECTION 5 - INHERITANCE National 4 & 5 – Multicellular Organisms.
Lecturer : FATEN AL-HUSSAIN Discrete Probability Distributions Note: This PowerPoint is only a summary and your main source should be the book.
Simple Inheritance: with distinct heterozygotes Dominant and recessive alleles are represented with capital and small letters. Ex. legends T_, tall tt,
Mendel and the Gene Idea.  To determine the chances of inheriting a given trait, scientists use Punnett squares and symbols to represent the genes. 
Conditional Probability and Independence Lecture Lecturer : FATEN AL-HUSSAIN.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Chapter 7. Section 7.1 Finite probability  In a lottery, players win a large prize when they pick four digits that match, in the correct order, four.
ICS 253: Discrete Structures I
CS104:Discrete Structures
Probability and Sample space
Discrete Probability Chapter 7 With Question/Answer Animations
What is Probability? Section 4.1.
Traits and Inheritance
COUNTING AND PROBABILITY
What is Probability? Skill 13.
Genetics Notes 2.
1-6 Probability M11.E.3.1.1: Find probabilities for independent, dependent, or compound events and represent as a fraction, decimal, or percent.
Lecture 2 Basic Concepts on Probability (Section 0.2)
Presentation transcript:

Homework 4 Chapter 3 Problems: 38, 46, 50, 54, 55, 58, 61, 64, 69, 74.

3. 38 Urn A has 5 white and 7 black balls 3.38 Urn A has 5 white and 7 black balls. Urn B has 3 white and 12 black balls. We flip a fair coin. If the outcome is heads, then a ball from urn A is selected, whereas if the outcome is tails, then a ball from urn B is selected. Suppose that a white ball is selected. What is the probability that the coin landed tails? Urn A: 5 w, 7 b Urn B: 3 w, 12 b H: a ball from urn A is selected T: a ball from urn B is selected W: white ball selected P(T|W)? P(T|W) = P(TW)/P(W) = P(WT)/(P(WT)+P(WH)) =P(W|T)P(T) /( P(W|T)P(T) + P(W|H)P(H)) P(T|W) = 3/15*.5/(3/15*.5+5/12*.5) = 0.324

3.46 In any given year, a male automobile policyholder will make a claim with probability p and a female policyholder will make a claim with probability q, where p  q. The fraction of the policyholders that are male is α, 0 < α < 1. A policyholder is randomly chosen. If Ai denotes the event that this policyholder will make a claim in year i, show that P(A2|A1) > P(A1) Give an intuitive explanation of why the preceding inequality is true. p: probability male policyholder makes a claim q: probability female policyholder makes a claim : fraction of male policyholder Ai: policyholder will make a claim in year i Show P(A2|A1) > P(A1)

P(A2|A1) > P(A1) P(A2A1)/P(A1) > P(A1) P(A2A1) > P(A1)2 P(A2A1) - P(A1)2 > 0 P(A1) = P(A1|M)P(M) + P(A1|F)P(F) = p + q(1 - ) P(A2A1) = P(A2A1|M)P(M) + P(A2A1|F)P(F) = (p2 + q2(1-)) P(A2A1) - P(A1)2 = = (p2 + q2(1-)) – (p  + q(1 - ))2 = p2 + q2(1-) - p22 - q2(1 - )2 - 2pq(1 - ) = p2(1 - ) + q2(1 - ) - 2pq(1 - ) = (1 - )(p2 + q2 - 2pq) = (1 - )(p - q)2 > 0

3.50 Suppose that an insurance company classifies people into one of three classes: good risks, average risks, and bad risks. The company’s records indicate that the probabilities that good-, average-, and bad-risk persons will be involved in an accident over a 1-year span are, respectively, .05, .15, and .30. If 20 percent of the population is a good risk, 50 percent an average risk, and 30 percent a bad risk, what proportion of people have accidents in a fixed year? If a policyholder had no accidents in 1997, what is the probability that he or she is a good or average risk? G: good risks; A: average risks; B: bad risks. E: accident in a year P(E|G) = .05; P(E|A) = .15; P(E|B) = .3. P(G)=.2, P(A) = .5, P(B) = .3. P(E)? P(GA|Ec)? P(E) = P(EGEAEB) = P(EG) + P(EA) + P(EB) = P(E|G)P(G) + P(E|A)P(A) + P(E|B)P(B) = .05*.2 + .15*.5 + .3 * .3 = 0.01 + 0.075 + 0.09 = 0.175 P(GA|Ec) = P(Bc|Ec) = 1- P(B|Ec) = 1 - P(BEc)/P(Ec) = 1 - P(Ec|B)P(B) / P(Ec) = 1 - (1-P(E|B))P(B)/ (1-P(E)) = 1 - 0.7*0.3 /0.825 = 0.745

How many SG so that sex and class are independent? 3.55 In a class, there are 4 freshman boys, 6 freshman girls, and 6 sophomore boys. How many sophomore girls must be present if sex and class are to be independent when a student is selected at random? FB: 4, FG: 6, SB: 6 How many SG so that sex and class are independent? For sex and class to be independent, we should have P(Sex|Class) = P(Sex), which is the same as P(Girl|Sophomore) = P(Girl) and P(Boy|Sophomore) = P(Boy) and P(Girl|freshman) = P(Girl) and P(Boy|freshman) = P(Boy) The same as P(Girl|Sophomore) = P(Girl) If E and F are independent, so are E and Fc P(Girl|Sophomore) = P(G,S)/P(S) = x/(6+x) P(Girl) = (6+x)/(4+6+6+x) x/(6+x) = (6+x)/(4+6+6+x) x=9

4. Let the result of the last flip be the result of the experiment. 3.58 Suppose that we want to generate the outcome of the flip of a fair coin, but that all we have at our disposal is a biased coin which lands on heads with some unknown probability p that need not be equal to 1/2. Consider the following procedure for accomplishing our task: 1. Flip the coin. 2. Flip the coin again. 3. If both flips land on heads or both land on tails, return to step 1. 4. Let the result of the last flip be the result of the experiment. (a) Show that the result is equally likely to be either heads or tails. (b) Could we use a simpler procedure that continues to flip the coin until the last two flips are different and then lets the result be the outcome of the final flip? (a) The sample space S has only two elements: {(H,T), (T,H)}. P(H,T) = p(1-p) and P(T,H) = (1-p)p. P(H,T) = P(T,H) = 1/2 Heads and tails have equal probability to be the last flip

(b) Probability of tail P(T) = P(HT) + P(HHT) + … =p(1-p) + p2(1-p) + … = (1-p)(p + p2 + …) = (1-p)(1 + p + p2 + … -1) = (1-p)(1/(1-p) -1) = 1-(1-p) = p Probability of head P(H) can be computed similarly, which equals to (1-p).

(a) What is the probability that their first offspring is an albino? 3.61 Genes relating to albinism are denoted by A and a. Only those people who receive the a gene from both parents will be albino. Persons having the gene pair A, a are normal in appearance and, because they can pass on the trait to their offspring, are called carriers. Suppose that a normal couple has two children, exactly one of whom is an albino. Suppose that the nonalbino child marries with a person who is known to be a carrier for albinism. (a) What is the probability that their first offspring is an albino? (b) What is the conditional probability that their second offspring is an albino given that their firstborn is not? Albino: aa Carrier: Aa Normal couple has two children, one of them is albino. Parents are Aa. The other child can be AA with probability 1/3 or Aa with probability 2/3 since he/she can be AA, Aa, or aA. (a) parents: nonalbino (1/3 AA, 2/3 Aa) and Aa P(first offspring being albino) = P(albino|nonalbino is AA)P(nonalbino is AA) + P(albino|nonalbino is Aa)P(nonalbino is Aa) = 0* 1/3 + 1/4*2/3 = 1/6. (b) P(second albino (s) | first is not (f-)) = P(s,f-)/P(f-) = (P(s,f-|AA)P(AA) + P(s,f-|Aa)P(Aa)) / P(f-) = (0 + 1/4*3/4*2/3)/(5/6) = 3/20

3.64 A true–false question is to be posed to a husband-and- wife team on a quiz show. Both the husband and the wife will independently give the correct answer with probability p. Which of the following is a better strategy for the couple? (a) Choose one of them and let that person answer the question. (b) Have them both consider the question, and then either give the common answer if they agree or, if they disagree, flip a coin to determine which answer to give. (a) P(win) is clearly p. (b) P(win) = P(win | both guessed right) P(both guessed right) + P(win | one guessed right and one wrong) + P(win | both guessed wrong) = p2 + 1/2*2p(1-p) + 0 = p

3.69 A certain organism possesses a pair of each of 5 different genes (which we will designate by the first 5 letters of the English alphabet). Each gene appears in 2 forms (which we designate by lowercase and capital letters). The capital letter will be assumed to be the dominant gene, in the sense that if an organism possesses the gene pair xX, then it will outwardly have the appearance of the X gene. For instance, if X stands for brown eyes and x for blue eyes, then an individual having either gene pair XX or xX will have brown eyes, whereas one having gene pair xx will have blue eyes. The characteristic appearance of an organism is called its phenotype, whereas its genetic constitution is called its genotype. (Thus, 2 organisms with respective genotypes aA, bB, cc, dD, ee and AA, BB, cc, DD, ee would have different genotypes but the same phenotype.) In a mating between 2 organisms, each one contributes, at random, one of its gene pairs of each type. The 5 contributions of an organism (one of each of the 5 types) are assumed to be independent and are also independent of the contributions of the organism’s mate. In a mating between organisms having genotypes aA, bB, cC, dD, eE and aa, bB, cc, Dd, ee what is the probability that the progeny will (i) phenotypically and (ii) genotypically resemble (a) the first parent? (b) the second parent? (c) either parent? (d) neither parent? Parents genetypes: aA, bB, cC, dD, eE aa, bB, cc, Dd, ee (a) Phenotypically resemble the first parent: aA, bB(BB), cC, dD(DD), eE: 1/2*3/4*1/2*3/4*1/2 = 9/128; Genotypically resemble the first parent: aA, bB, cC, dD, eE 1/2*1/2*1/2*1/2*1/2 = 1/32. (b) Phenotypically: 1/2*3/4*1/2*3/4*1/2 = 9/128; Genotypically: 1/2*1/2*1/2*1/2*1/2 = 1/32. (c) Phenotypically: The two events are mutually exclusive: 9/128+9/128 = 18/128; Genotypically: the two events are mutually exclusive 1/32 + 1/32 = 1/16. (d) Phenotypically: 1- 18/128 = 110/128; Genotypically: 1-1/16 = 15/16.

3.74 A and B alternate rolling a pair of dice, stopping either when A rolls the sum 9 or when B rolls the sum 6. Assuming that A rolls first, find the probability that the final roll is made by A. P(sum = 9) = 4/36 (four outcomes out of 36: (3,6),(4,5),(5,4),(6,3)) P(sum = 6) = 5/36 (five outcomes out of 36: (1,5),(2,4),(3,3),(4,2),(5,1)) P(A win) = P(A win|A = 9) P(A=9) + P(A win) | A9,B  6) P(A9,B  6) + P(A win | B=6) P(B=6) = 1*4/36 + P(A win)(1-4/36-5/36) + 0 P(A win) = 1/9 + 3/4P(A win)  P(A win) = 4/9