II. The Binomial Distribution

Similar documents
Random Variable And Probability Distribution. Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z,

Known probability distributions

POISSON RANDOM VARIABLES

Discrete Random Variable Practice

MATH 250 / SPRING 2011 SAMPLE QUESTIONS / SET 3

Discussion 03 Solutions

Week 04 Discussion. a) What is the probability that of those selected for the in-depth interview 4 liked the new flavor and 1 did not?

DISCRETE VARIABLE PROBLEMS ONLY

Week 6, 9/24/12-9/28/12, Notes: Bernoulli, Binomial, Hypergeometric, and Poisson Random Variables

Probability and Statistics for Engineers

Geometric Distribution The characteristics of a geometric experiment are: 1. There are one or more Bernoulli trials with all failures except the last

Statistics for Economists. Lectures 3 & 4

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution

Notes for Math 324, Part 17

14.2 THREE IMPORTANT DISCRETE PROBABILITY MODELS

BINOMIAL DISTRIBUTION

A) Questions on Estimation

Introduction to Probability. Experiments. Sample Space. Event. Basic Requirements for Assigning Probabilities. Experiments

Chapter 2: The Random Variable

CS 1538: Introduction to Simulation Homework 1

Relationship between probability set function and random variable - 2 -

Discrete Distributions

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

Discrete Probability Distribution

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

Find the value of n in order for the player to get an expected return of 9 counters per roll.

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

South Pacific Form Seven Certificate

An-Najah National University Faculty of Engineering Industrial Engineering Department. Course : Quantitative Methods (65211)

Chapter 4 - Introduction to Probability

Chapter 3 Discrete Random Variables

Introduction to Probability

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type

COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: ECONOMICS

Some Famous Discrete Distributions. 1. Uniform 2. Bernoulli 3. Binomial 4. Negative Binomial 5. Geometric 6. Hypergeometric 7.

Plotting data is one method for selecting a probability distribution. The following

PROBABILITY.

DEFINITION: IF AN OUTCOME OF A RANDOM EXPERIMENT IS CONVERTED TO A SINGLE (RANDOM) NUMBER (E.G. THE TOTAL

Math 227 Test 2 Ch5. Name

Chapter 3. Discrete Random Variables and Their Probability Distributions

Discrete Distributions

Discrete Probability Distributions

If two different people are randomly selected from the 991 subjects, find the probability that they are both women. Round to four decimal places.

Probabilistic models

Probabilistic models

Statistics for Engineers Lecture 2 Discrete Distributions

Discrete Distributions

Chapter 3. Discrete Random Variables and Their Probability Distributions

B.N.Bandodkar College of Science, Thane. Subject : Computer Simulation and Modeling.

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables

Discrete probability distributions

( ) P A B : Probability of A given B. Probability that A happens

SS257a Midterm Exam Monday Oct 27 th 2008, 6:30-9:30 PM Talbot College 342 and 343. You may use simple, non-programmable scientific calculators.

Math 2311 Test 1 Review. 1. State whether each situation is categorical or quantitative. If quantitative, state whether it s discrete or continuous.

STA 4321/5325 Solution to Extra Homework 1 February 8, 2017

STAT509: Discrete Random Variable

Discrete Random Variables

Chapter 2 Random Variables

PhysicsAndMathsTutor.com

1 The Basic Counting Principles


Chapter. Probability

Statistical quality control (SQC)

CS 361: Probability & Statistics

Homework 4 Solution, due July 23

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

Probability Theory and Random Variables

37.3. The Poisson Distribution. Introduction. Prerequisites. Learning Outcomes

Chapter 1: Revie of Calculus and 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)

Sample Problems for the Final Exam

ST 371 (V): Families of Discrete Distributions

Stats Review Chapter 6. Mary Stangler Center for Academic Success Revised 8/16

Introduction and Overview STAT 421, SP Course Instructor

Discrete Random Variables

Probability 1 (MATH 11300) lecture slides

Math 1313 Experiments, Events and Sample Spaces

IE 336 Seat # Name (clearly) < KEY > Open book and notes. No calculators. 60 minutes. Cover page and five pages of exam.

Poisson Processes and Poisson Distributions. Poisson Process - Deals with the number of occurrences per interval.

Bus 216: Business Statistics II Introduction Business statistics II is purely inferential or applied statistics.

Part (A): Review of Probability [Statistics I revision]

Chapter 3: Discrete Random Variable

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

Topic 3 - Discrete distributions

MTH4451Test#2-Solutions Spring 2009

Lecture 10: Bayes' Theorem, Expected Value and Variance Lecturer: Lale Özkahya

(a) Find the mean and standard deviation of X. (5)

University of California, Los Angeles Department of Statistics. Exam 1 21 October 2011

2014 SM4 Revision Questions Distributions

GCE A Level H2 Mathematics November 2014 Paper 1. 1i) f 2 (x) = f( f(x) )

Topic 3: The Expectation of a Random Variable

Topic 5: Discrete Random Variables & Expectations Reference Chapter 4

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

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

Notes 12 Autumn 2005

Conditional Probability

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

Chapter 3 Single Random Variables and Probability Distributions (Part 1)

Test 2 VERSION A STAT 3090 Fall 2017

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

Transcription:

88 CHAPTER 4 PROBABILITY DISTRIBUTIONS 進佳數學團隊 Dr. Herbert Lam 林康榮博士 HKDSE Mathematics M1 II. The Binomial Distribution 1. Bernoulli distribution A Bernoulli eperiment results in any one of two possible outcomes, which are often classified as success and failure. For eample, the inspection of a lot of items is associated with the sample space S D, ND in which D denotes the event of getting a defective and ND denotes the event of getting a nondefective. If one of them is termed success, then the other is termed failure. Some eperiments look like Bernoulli, but not really. For instance, John is playing a game of chess with his friend. One might associate success with winning the game and failure with losing the game. However, there is also another possible outcome, a tie! Let us quantify the event success by 1 and failure by 0. Then Y 0,1 is called a Bernoulli random variable. Suppose the probability of a success is p. Then the probability function of Y is given by P( Y 1) p, P( Y 0) 1 p.. Basic features of a binomial eperiment Let Y1, Y,, Yn be n independent Bernoulli random variables, and let X Y1 Y Yn. Then X is called a binomial random variable, which takes on the values 0, 1,,, n. This approach is rather mathematical. In fact, we can commence our study of the binomial distribution intuitively as follows.

CHAPTER 4 PROBABILITY DISTRIBUTIONS 89 A binomial eperiment possesses the following properties: 1. There are n identical observations or trials.. Each trial has two possible outcomes, one called success and the other failure. The outcomes are mutually eclusive and collectively ehaustive. 3. The probabilities of success p and of failure 1 p remain the same for all trials 4. The outcomes of trials are independent of each other.. The probability function In a binomial eperiment with a constant probability p of success in each trial, the probability distribution of the binomial random variable X, the number of successes in n independent trials, is called the binomial distribution. Since the n trials result in successes and n failures, the probability is n p (1 p) n. Moreover, there are C combinations of successes and failures. Therefore, the probability function is given by n n P( X ) C p (1 p), 0,1,,, n. The notation X ~ b( n, p) is used to describe a binomial random variable X with parameters n and p. Furthermore, the mean and variance of the above binomial distribution are np and np(1 p) respectively. Eample 1 A trading company has four telephone lines. Suppose the probability that any one of the lines is busy at an instant is 1 3. (a) Calculate the probability that (i) two of the four lines are busy. (ii) at least one of the four lines is busy. (iii) an incoming phone call cannot be answered immediately. (b) Suppose at an instant one staff member is on the telephone. probability that another two lines are busy? What is the

90 CHAPTER 4 PROBABILITY DISTRIBUTIONS [Solution] (a) Let X denote the number of telephone lines that are busy. (b) (i) 4 1 P( X ) C 3 3 43 1 4 8. 9 9 7 0 4 4 1 0 (ii) P( X 1) 1 P( X 0) 1 C 3 3 16 65 1. 81 81 (iii) An incoming call not answered immediately implies all the four lines are busy. 4 1 1 P( X 4). 3 81 Since it is given that one telephone line is engaged, the outcome of X 0 is removed. We have the conditional probability P(3 lines are busy/at least 1 line is busy) P( X 3 & X 1) P( X 3) P( X 1) P( X 1) 3 4 1 C 3 3 3 4 8. 65 65 65 81 Eample Machine A and B turn out, respectively, 10% and 90% of the total production of a certain article. Suppose the probability that machine A turns out a defective article is 0.01 and that machine B turns out a defective one is 0.05. (a) What is the probability that an article taken at random from a day s production was nondefective? (b) In a quality control process 10 articles from a batch are randomly selected for inspection. Acceptance of the batch allows no more than one defective. Find the probability that the batch is rejected. (c) A batch was rejected yesterday because two defective articles are found. What is the probability that both items were manufactured by (i) the same machine? (ii) different machines? (d) State the relevant assumptions required for (b) and (c).

CHAPTER 4 PROBABILITY DISTRIBUTIONS 91 [Solution] (a) For a randomly selected article, define A: the article is manufactured by machine A B: the article is manufactured by machine B ND: the article is nondefective D: the article is defective. Then we have P( A) 0.1, P( B) 0.9 P( ND / A) 0.99, P( ND / B) 0.95 P( D / A) 0.01, P( D / B) 0.05. By the theorem of total probability on P. 68, P( ND) P( A)P( ND / A) P( B)P( ND / B) (.1)(.99) (.9)(.95).954. P( D) 1 P( ND) 1.954.046. (b) Let X be the number of defective articles found in the inspection process. Then X ~ b (10, 0.046). P(the batch is rejected) 1 P( X 1) 1 P( X 0) P( X 1) 1 C (.046) (.954) C (.046)(.954).0745. 10 0 10 10 9 0 1 (c) By Bayes theorem, P( A)P( D / A) P( A/ D) P( A)P( D / A) P( B)P( D / B) (.1)(.01) 1 1 (.1)(.01) (.9)(.05) 1 45 46 As an article is either manufactured by machine A or B, it follows that, 45 P( B / D) 1 P( A / D). 46 (i) P(both articles manufactured by the same machine) P(both manufactured by A) P(both manufactured by B) P( A/ D) P( B / D) 1 45 06.9575. 46 46 116 (ii) P(both articles manufactured by different machines) 1P(both articles manufactured by the same machine) 1.9575.045..

9 CHAPTER 4 PROBABILITY DISTRIBUTIONS Alternatively, this probability can also be calculated by 1 45 P( A/ D) P( B / D) P( B / D) P( A / D), or 46 46 P(1 defective article manufactured by machine A) 1 1 C 1 1 46 46. (d) The binomial assumptions are required, namely, (i) independent trials and (i) the probability of drawing an defective article is constant. In fact, sampling without replacement does not meet the two requirements. However, the batch size is very large and therefore (i) & (ii) are considered satisfied. See Eample 3 for detail. Eample 3 A machine produces, on the average, 5% of defective parts. selected at random form a lot of size 1000 for inspection, what is the probability that eactly three will be defective? [Solution] Of the 1000 parts in the lot, there are 50 defective ones. C P(eactly 3 will be defective) C 50 950 3 7 1000 C10 50! 950! 3!47! 7!943! 1000! 10!990! 50 49 48 47! 950944943! 3!47! 7!943! 1000999991990! 10!990! 10! 950 949 944 50 49 48 3!7! 1000 999 994 993 99 991 C10 7 3 3 (.97) (.05). C 10 3 7 3 (.05) (.95) If 10 parts are

CHAPTER 4 PROBABILITY DISTRIBUTIONS 93 Eample 4 A machine which is powered by three similar electrical devices will function properly if at least two of these devices are serviceable. Eperience indicates that the probability of any device failing in less than 50 hours is 0., while failing in less than 100 hours is 0.6. Find the probability that the machine will function properly (a) for more than 50 hours, (b) between 50 and 100 hours. [Solution] Let X denote the number of devices failing in less than 50 hours, Y denote the number of devices failing in less than 100 hours. We are given that 3 3 X ~ b (3,0.), i.e. P( X ) C (.) (.8) Y ~ b (3,0.6), i.e. Define the events P( Y y) C y (.6) (.4) 3 y 3 y. A: the machine functions for more than 50 hours B: the machine functions for more than 100 hours. (a) P(A) P(at most one device fails in 50 hours) P( X 1) P( X 0) P( X 1) C (.) (.8) C (.)(.8).51.384.896. 3 0 3 3 0 1 (b) P(B) P(at most one device fails in 100 hours) P( Y 1) P( Y 0) P( Y 1) C (.6) (.4) C (.6)(.4).064.88.35. 3 0 3 3 0 1 Note that B A. Then A B or A B is the event the machine functions between 50 and 100 hours and we have P( A B) P( A) P( B).896.35.544. Note: As time is a continuous variable, the terms more than 50 hours and at least 50 hours have the same meaning. Also, between 50 and 100 hours is well defined. It doesn t matter if the end points 50 or 100 are inclusive.

94 CHAPTER 4 PROBABILITY DISTRIBUTIONS III. The Poisson Distribution 1. Basic features Eperiments yielding numerical values of a random variable X, the number of successes (observations) occurring during a given time interval (or in a specified region) are often called Poisson eperiments. A Poisson eperiment has the following properties: 1. The number of successes in any interval is independent of the number of successes in other interval.. The probability of a single success occurring during a short interval is proportional to the length of the time interval and does not depend on the number of successes occurring outside this time interval. 3. The probability of more than one success in a very small interval is negligible. Some well known eamples of Poisson eperiment are 1. The number of customers who arrive during a time period of length t,. The number of telephone calls per hour received by an office, 3. The number of typing errors per page, 4. The number of accidents per day at a junction.. The probability function The probability distribution of the Poisson random variable X is called the Poisson distribution. The probability function is e P( X ), 0,1,,.! The mean and variance of the above Poisson distribution are. This is also known as the average number of successes occurring in the given time interval. Note that is the only parameter that appears in the probability function. In other words, a Poisson distribution is completely determined if is known.

CHAPTER 4 PROBABILITY DISTRIBUTIONS 95 Eample 1 Albert is a life insurance agent. Assume he makes, on the average, one sale per week, and the number of sales behaves close to a Poisson distribution. (a) What is the probability that Albert makes (i) eactly 3 sales in a two-week period? (ii) at least 3 sales in a three-week period? (b) What is the probability that he will make only one sale in the coming December? (c) Albert has received e-mail confirmation from two of his friends that each of them will purchase a life insurance policy from him net month. What is the probability that he will make at least 4 sales net month? (Take 1 week = 7 days and 1 month = 30 days) [Solution] (a) (i) (b) /-week. 3 e P( X 3).1804. 3! (ii) 3/3-week. P( X 3) 1 P( X 3) 30 7 3 e 3 3 3 1 1 e 1 3!! 0.5768. per month. 30 30 7 P( X 1) e.0590. 7 (c) Albert is going to have at least sales net month. Then we calculate the conditional probability P( X 4 & X ) P( X 4 / X ) P( X ) 1 P( X ) P( X 4) 0 1 P( X ) 1 P( X ) 3 0 30 3 30 30 1 30 1 7 1 e 1 7 7! 7 3!.6689. 30 30 7 1 e 1 7

96 CHAPTER 4 PROBABILITY DISTRIBUTIONS Eample Weak spots occur in a certain kind of weaved cloth on the average of one per 100 m. Assuming a Poisson distribution of the number of weak spots in any given length of cloth, what is the probability that (a) a 40-m roll will have at most two defects? (b) a 10-m roll will have no defects? (c) Of five 10-m rolls, at least three of them will have no defects? (d) Suppose a new weaving process can reduce weak spots so that any five 10-m rolls being free of defects has probability at least 0.1. Find the percentage reduction of weak spots. [Solution] (a) Let X1 be the number of defects per 40-m. Then its mean is.4. P( X ) P( X 0,1, ) 1 1.4 e.4.4.4 e 1.4.5697.!! 0 (b) Let X be the number of defects per 10-m. Then its mean is 1.. 1. 0 e 1. P( X 0).301. 0! (c) Let Y be the number of rolls with no defects out of five 10-m rolls. Then Y ~ b (5, 0.301), i.e. 5 y 5 y P( Y y) Cy (.301) (1.301), y 0,1,,,5. P(at least three of them have no defects) P( Y 3) P( Y 3) P( Y 4) P( Y 5) C (.301) (.6988) C (.301) (.6988) C (.301) (.6988) 5 3 5 4 5 5 0 3 4 5.1334.088.005.1647. (d) The mean becomes 1.(1 d) if 100d% week spots are reduced. Then P( X 0) e d 1.(1 ) by (b). P(5 rolls free of defects) e 1.(1 d ) 5 i.e. On solving, 6(1 d) ln(.1).1, 6(1 d ) e.1. 1 d.3838, d.616. This means at least 61.6% weak spots are reduced.

CHAPTER 4 PROBABILITY DISTRIBUTIONS 97 Eample 3 An English teacher Miss Lee has been marking students compositions for years. She finds that only 5% of the pages are free of errors (for eample, grammatical and spelling errors, etc.). page follows a Poisson distribution. Suppose the number of errors per (a) Show that on the average there are about 3 errors per page. (b) What is the probability that a composition of pages contains more than 4 errors? (c) Another English teacher Miss Chan requires her students to hand in their compositions in typing. However, typing errors occurs. It is found that only 1% of the pages are free of errors. typing errors per page follows a Poisson distribution. Assuming the number of Use relevant assumptions to calculate the mean number of typing errors per page. [Solution] (a) Let X1 be the number of errors per page and be its mean. e P( X1 ), 0,1,,! P( X1 0) e.05 ln(.05).9957 3. (b) Let X be the number of errors per pages. Its mean is 6. 4 4 6 0 0 P( X 4) 1 P( X ) 1 e 3 4 6 6 6 6 e 6! 1 1 6.7149.! 3! 4! (c) (i) An error is either due to incorrect language usage (i.e. grammar, spelling, etc.) or mistyping. counted. The case of both is not (ii) The content of one written page equals that of one typed page. Let Y be the number of error per typed page and be its mean. y e P( Y y), P( Y 0) e.01 4.61. y! The mean typing error per page is 4.61 3 1.61.

98 CHAPTER 4 PROBABILITY DISTRIBUTIONS Eample 4 (a) Between the hours of :30 p.m. and 5:00 p.m., the average number of calls per minute coming into a switchboard is.5. Assume the number of calls follow a Poisson distribution. Find the probabilities that during one particular minute there are (i) 4 or fewer calls, (ii) more than 6 calls. (b) During the period 3:00 p.m. to 3:0 p.m., show that the probability of receiving an odd number of telephone calls is approimately 1. (c) Does it follow from (b) that the probability of receiving an even number of calls is also 1? (d) Suppose the operators answer, on the average, 1 5 of the incoming calls in English. What is the probability that they answer eactly two telephone calls in English in a given minute? [Solution] (a) Let X be the number of calls per minute. (i).5 e.5 P( X ), 0,1,,.! 4 P( X 4) P( X ) 0 0 4.5 e.5! 3 4.5.5.5.5 e 1.5! 3! 4! 6.5.891..5 (ii) P( X 6) 1 P( X 6) 1 e! 0 6.5.5.5 1 e 1.5.014.! 6! (b) During the -minute period, let Y be the number of telephone calls. It is a Poisson random variable with mean.5 5 calls. Probability of receiving an odd number of calls P(Y takes on an odd number) P( Y 1,3,5, ) P( Y 1) P( Y 3) P( Y 5) 3 5 e 5 5 5 5. 3! 5!

CHAPTER 4 PROBABILITY DISTRIBUTIONS 99 Recall that (1) () 3 5 5 5 e 1 5 (1)! 3! 3 5 5 5 e 1 5 ()! 3! gives 3 5 5 5 e 5 e 5 5 3! 5! Multiplying both sides by Note that 5 e., we get 10 3 5 1 e 5 5 5 e 5. 3! 5! 1 LHS as 10 e 0. ( LHS.4999773 ) Therefore 1 RHS, which is the probability of receiving an odd number of calls. (c) (1) () gives 4 5 5 e 5 e 5 1! 4! Similarly to (b), we get It follows that. 10 4 1 e 5 5 5 e 1.! 4! 1 RHS, i.e. 1 P( X 0) P( X ) P( X 4). But 0 is not an even number. Hence, 1 P( X ) P( X 4) P( X 0).5.0067..4933. The probability of receiving an even number of calls is slightly less than 1.

100 CHAPTER 4 PROBABILITY DISTRIBUTIONS (d) Let Y be the number of calls per minute in English. If Y, then X. By the theorem of total probability on P. 68, P( Y ) P( X )P( Y / X ).5 e.5 1 4 C! 5 5 1 Y ~ b, when X 5.5 e.5! 1 4!!( )! 5 5!( )! 5 5.5 e.5 1 4.5.5 e.5 5 ( )!.5 e 4 ( )! e.5 3 1 4! 3! e e e 4 8.5.5.0758. Note: We can go further to prove that.5 y e (.5) P( Y ) P( X )P( Y y / X ), y 0,1,,, y! y i.e. Y has a Poisson distribution with mean 0.5. Steps of the proof parallel those of above. y y y y.5 e.5 1 4 P( X )P( Y y / X ) Cy! 5 5 y Further reduction is left to the student. y y.5 e.5! 1 4! y!( y)! 5 5

CHAPTER 4 PROBABILITY DISTRIBUTIONS 101 IV. The Geometric Distribution Suppose independent Bernoulli trials with probability of success p are conducted. Let X be the number of such Bernoulli trials until we get a success. Then X is said to have a geometric distribution with parameter p. Observe that there are X 1 failures preceding a success. Thus the probability function of X is 1 P( X ) (1 p) p, 1,,. p p. Its mean is 1 p and variance is 1 1 1 Eample 1 An American roulette wheel commonly has 38 spots on it of which 18 are black, 18 are red and are green. Let X and Y be the number of spins necessary to observe the first red and first green number respectively. Find the probability functions, means and variances for X and Y. [Solution] The probability of getting a red number is 18, while that of getting a 38 green number is 38. Then we have (i) k 1 k 1 0 18 10 9 P( X ), k 1,, 38 38 19 19 38 19 38 38 38 0 190 X, X 1. 18 9 18 18 18 18 81 (ii) k 1 k 1 36 18 1 P( Y y), k 1,, 38 38 19 19 38 Y 19, 19(19 1) 34. Y

10 CHAPTER 4 PROBABILITY DISTRIBUTIONS Eample A fair die is rolled until a 6 occurs. (a) 10 rolls are needed. (b) less than 4 rolls are needed. (c) an odd number of rolls is needed. [Solution] Let X be the number of rolls needed. 1 5 1 P( X ), 1,,. 6 6 Compute the probability that (a) 5 1 P( X 10).033. 6 6 9 (b) P( X 4) P( X 1) P( X ) P( X 3) 1 5 1 5 1.413. 6 6 6 6 6 (c) P(X is an odd number) P( X 1) P( X 3) P( X 5) 4 1 5 1 5 1 6 6 6 6 6 4 1 5 5 1 6 6 6 1 1 1 36 6. 6 5 6 36 5 11 1 6 未完待續