Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated. c. With the calculated measures, statistical inferences are conducted. Why are statistical inferences required? Example) people in group A are taller than people in group B? A (cm) B (cm) 174 164 183 175 177 173 185 166-1 -
0 20 40 60 80 100 130 140 150 160 170 180 190 200 130 140 150 160 170 180 190 200 130 140 150 160 170 180 190 200 Most experiments cannot be predicted with certainty!!! - 2 -
1) Definition Outcome : the result from each experiment Random experiment : experiment that can be repeated under the same conditions Sample (outcome) space : collection of every possible outcome, denoted by Example 1.1.1 Two dice are cast, and the total number of spots on the sides that are "up" are counted. What is the outcome space? Example 1.1.2 A fair coin is flipped successively at random until the first head is observed. If we let x denote the number of flips of the coin that are required, then S = { x: x = 1, 2,..., }. Example 1.1.3 In the cast of one red die and one white die, let the outcome be the ordered pair - 3 -
2) Probability (traditional definition) Event : subset of sample space ; event A has occurred outcome of the experiment is in A Let A be a part of collection of outcomes in S; that is, A S. When the random experiment is performed and the outcome of the experiment is in A, we say that event A has occurred. Relative frequency (RF): In n repetitions of the random experiment, relative frequency of the event A = where is the number of times that the event A actually occurred. As n increases, In future performances of the experiment, the RF of the event A will either equal or approximate The is called the probability that the outcome of the random experiment is in A and denoted by P(A). - 4 -
Example 1.1.4 (Ex. 1.1-3 continued) the event that the sum of the pair is equal to seven Suppose:, the RF of the event = Thus, a number, that is close to 0.15, would be called the probability of the event Example 1.1.5 A fair six-sided die is rolled six times. If the face numbered k is the outcome on roll k for k = 1, 2,..., 6, we say that a match has occurred. The experiment is called a success if at least one match occurs during the six trials. n N(A) N(A) / n 50 37 0.740 100 69 0.690 250 172 0.688 500 330 0.660-5 -
Fraction of experiments having at least one match RE 0.0 0.2 0.4 0.6 0.8 1.0 0 100 200 300 400 500 n - 6 -
1.2 Properties of Probability 1) Properties of set Subset, denoted by if for. if and Example 1.2.1, Example 1.2.2, Null set : null set if a set has no elements Union of sets or or or or for some - 7 -
Example 1.2.3 or, or Example 1.2.4 Intersection of sets and for all Example 1.2.5, - 8 -
Example 1.2.6, Example 1.2.7 Elementary algebra of sets a), Example 1.2.8, b), c), - 9 -
Complement: = where : space Note : Example 1.2.9 In tossing a coin four times, and if,. Properties of complement a), b), c) Mutually exclusive events are mutually exclusive events if for. Exhaustive events - 10 -
are exhaustive events if. DeMorgan's Laws Suppose : space and,, 2) Definition of Probability Set function A function that assigns real value to each event (set). For instance, if we define f(a) indicates the number of the elements in the set A, f(a) is a set function. Example f(a) = the number of elements in A. f(a) is a set function. f(a) = the maximum of elements in A. f(a) is a set function. -field: Let be a collection of subsets of. We say is a -field if (1) - 11 -
(2) If, then (3) If, then Example For any event, is a -field. Example (i) In tossing a coin,. Confirm whether is a -field. (ii) In casting a die,. Confirm whether is a -field. - 12 -
Probability set function : advanced definition of Probability Suppose : sample space, and : a real valued function defined on -field,. (1) S (2) (3) (Countable Additivity) If for, If satisfies the three conditions (1), (2) and (3), is called a probability (set) function. The traditional definition of probability is also probability set function because, and for mutually exclusive event A and B. There are many probability set functions. For example, let S = {1, 2,..., 6} 1 Let P 1 (A) = # of elements in A 1/6 2 Let P 2 (A) = 1 if 1 A and otherwise P 2 (A) = 0. - 13 -
3 Let P 3 (A) = 1 if there is at least a single even number in A and otherwise P 3 (A) =0. Are P 1 ( ), P 2 ( ) and P 3 ( ) probability set functions? Rules of Probability a) b) c) d) e) - 14 -
f) Suppose. Then we have lim *** Is lim. always true?? Suppose S = {0, 1} and P(0) = P(1) = 0.5. If we define C i = {0} for even number i and C i = {1} for odd number i, then what happens? g) Suppose. Then we have lim h) - 15 -
1.3 Methods of Enumeration Multiplication principle Suppose that an experiment E 1 had n 1 outcomes and for each of these possible outcomes, an experiment E 2 has n 2 possible outcomes. Then composite experiment E 1 E 2 that consists of performing first E 1 and then E 2 has n 1 n 2 possible outcomes. <Tree diagram> Permutation Each of the arrangements of n different objects is called a permutation of the n object. Sampling with replacement ( 복원추출 ) - 16 -
It occurs when an object is selected and then replaced before the next object is selected. Sampling without replacement ( 비복원추출 ) It occurs when an object is not replaced after it has been selected. Example 1.3.1 If only r positions are to be filled with objects selected from n different objects, then the number of possible ordered arrangements is Example 1.3.2 The number of ways in which r objects can be selected without replacements from n objects when the order of selection is disregarded is. Suppose that a set contains n objects of two types: r of one type and n-r of the other type. Then, the number of distinguishable arrangements is also. Distinguishable permutation Each of the permutations of n objects, r of one type and n-r of another type. - 17 -
Example 1.3.3 1 What is the number of possible 5-card hands (in 5-card poker) drawn from a deck of 52 playing cards? 2 When five cards are drawn from a deck of 52 playing cards, what is the number of outcomes in which exactly 3 cards are kings and exactly two cards are queens (event A)? 3 When five cards are drawn from a deck of 52 playing cards, what is the number of outcomes in which there are exactly two kings, two queens, and one jack (event B)? 4 If we assume that each of the five-card hands drawn from a deck of 52 playing cards has the same probability of being selected, then what are the probabilities of A and B respectively? Example 1.3.2 Suppose that in a set of n objects, n 1 are similar, n 2 are similar,..., n s are similar, where n 1 + n 2 +... + n s = n. Then the number of distinguishable permutations of the n objects is. Example 1.3.3 Among nine orchids for a line of orchids along one wall, there are three white, four lavender, and two yellow. Then what is the number of different color displays? - 18 -
Example 1.3.4 We have the following expansion with combination: We express and - 19 -
1.4 Conditional Probability conditional probability The conditional probability of the event, given the event, provided. multiplication rule partition : partition of 's are mutually exclusive and law of total probability If : partition of, and, - 20 -
. Here, is called prior probability, and posterior probability Example 1.4.1 A hands of 5 cards are drawn without replacement from a deck of 52 playing cards. Calculate the conditional probability of an all spade hand ( ), given that there are at least 4 spades in the hand ( ). Example 1.4.2 A bowl contains eight chips: three RED chips and the remaining five are BLUE. Two chips are to be drawn successively w/o replacement. Compute the probability that the first draw results in a red chip ( ) and that the second draw results in a blue chip ( ). Example 1.4.3 From an ordinary deck of playing cards, cards are to be drawn successively, at random and w/o replacement. Compute the probability that the third spade appears on the sixth draw. : the event of two spades in the first five draws - 21 -
: the event of a spade on the sixth draw. Example 1.4.4 The conditional probability satisfies the axioms for a probability function, namely P(B) > 0. - 22 -
1.5 Independence independence of two events Two events, are called independent if and only if. Otherwise they are called dependent events. :independent when when :independent :independent Independence of many events a) pairwise independence : pairwise independent b) mutual independence : mutually independent,, - 23 -
Independent experiment a sequence of experiments in such a way that the events associated with one of them are independent of the events associated with the others. e.g., independent flips of a coin, independent casts of a die Example 1.5.1 If A, B, and C are mutually independent events, then the following events are also independent: (a) A and (B C) (b) A and (B C) (c) A c and (B C c ) Example 1.5.2 Suppose that on five consecutive days an "instant winner" lottery ticket is purchased and the probability of winning is 1/5 on each day. Assuming independent trials, what is the probability of purchasing two winning tickets and three losing tickets? - 24 -
1.6 Bayes's theorem Bayes's theorem If : partition of, and,. Example 1.6.1 Bowl : 3 red and 7 blue chips and bowl : 8 red and 2 blue chips. A die is cast and bowl is selected if five or six spots show up; otherwise, bowl is selected. Compute the probability that the conditional probability of bowl, given that a red chip is drawn. Example 1.6.2 In a certain factory, machines I, II and III are all producing springs of the same length. Of their production, machines I, II, III respectively produce 2%, 1% and 3% defective springs. Of the total production of springs in the factory, machine I produces 35%, machine II produces 25% and machine III produces 40%. If one spring is selected at random from the total springs produced in a day, what is the probability that it is defective? - 25 -
If the selected spring is defective, what is the conditional probability that it was produced by machine III? - 26 -