Presentation is loading. Please wait.

Presentation is loading. Please wait.

Statistics for Management and Economics Chapter 6

Similar presentations


Presentation on theme: "Statistics for Management and Economics Chapter 6"— Presentation transcript:

1 Statistics for Management and Economics Chapter 6
Probability Statistics for Management and Economics Chapter 6

2 Objectives Assigning Probability to Events
Joint, Marginal, and Conditional Probability Probability Rules and Trees Bayes’ Law Identifying the Correct Method

3 Probability Chance There’s a 99% chance that we’ll discuss Probability in today’s class Critical component of statistical inference Used for decision making

4 Random Experiment Experiment Outcomes Flip a coin Heads, Tails
A random experiment is an action or process that leads to one of several possible outcomes. For example: Experiment Outcomes Flip a coin Heads, Tails Exam Marks Numbers: 0, 1, 2, ..., 100 Assembly Time t > 0 seconds Course Grades F, D, C, B, A, A+

5 Probabilities List the outcomes of a random experiment…
This list must be exhaustive, i.e. ALL possible outcomes included. Die roll {1,2,3,4,5} Die roll {1,2,3,4,5,6} The list must be mutually exclusive, i.e. no two outcomes can occur at the same time: Die roll {odd number or even number} Die roll{ number less than 4 or even number}

6 Sample Space A list of exhaustive and mutually exclusive outcomes is called a sample space and is denoted by S. The outcomes are denoted by O1, O2, …, Ok Using notation from set theory, we can represent the sample space and its outcomes as: S = {O1, O2, …, Ok}

7 Requirements of Probabilities
Given a sample space S = {O1, O2, …, Ok}, the probabilities assigned to the outcome must satisfy these requirements: The probability of any outcome is between 0 and 1 i.e. 0 ≤ P(Oi) ≤ 1 for each i, and The sum of the probabilities of all the outcomes equals 1 i.e. P(O1) + P(O2) + … + P(Ok) = 1 P(Oi) represents the probability of outcome i

8 Approaches to Assigning Probabilities
Classical approach: make certain assumptions (such as equally likely, independence) about situation. Relative frequency: assigning probabilities based on experimentation or historical data. Subjective approach: Assigning probabilities based on judgment or prior experience

9 Classical Approach If an experiment has n possible outcomes, this method would assign a probability of 1/n to each outcome. Experiment: Rolling a die Sample Space: S = {1, 2, 3, 4, 5, 6} Probabilities: Each sample point has a 1/6 chance of occurring.

10 What are the underlying, unstated assumptions??
Classical Approach Experiment: Rolling dice Sample Space: S = {2, 3, …, 12} Probability Examples: P(2) = 1/36 1 2 3 4 5 6 7 8 9 10 11 12 P(6) = 5/36 P(10) = 3/36 What are the underlying, unstated assumptions??

11 Relative Frequency Approach
Bits & Bytes Computer Shop tracks the number of desktop computer systems it sells over a month (30 days): For example, 10 days out of 30 2 desktops were sold. From this we can construct the probabilities of an event (i.e. the # of desktop sold on a given day)… Desktops Sold # of Days 1 2 10 3 12 4 5

12 Relative Frequency Approach
Desktops Sold # of Days 1 1/30 = .03 2 2/30 = .07 10 10/30 = .33 3 12 12/30 = .40 4 5 5/30 = .17 ∑ = 1.00 “There is a 40% chance Bits & Bytes will sell 3 desktops on any given day”

13 Subjective Approach “In the subjective approach we define probability as the degree of belief that we hold in the occurrence of an event” E.g. weather forecasting’s “P.O.P.”: “Probability of Precipitation” (or P.O.P.) is defined in different ways by different forecasters, but basically it’s a subjective probability based on past observations combined with current weather conditions. POP 60% – based on current conditions, there is a 60% chance of rain (say).

14 Events & Probabilities
An individual outcome of a sample space is called a simple event, while An event is a collection or set of one or more simple events in a sample space. Roll of a die: S = {1, 2, 3, 4, 5, 6} Simple event: the number “3” will be rolled Event: an even number (one of 2, 4, or 6) will be rolled

15 Events & Probabilities
The probability of an event is the sum of the probabilities of the simple events that constitute the event. E.g. (assuming a fair die) S = {1, 2, 3, 4, 5, 6} P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = 1/6 SO… P(EVEN) = P(2) + P(4) + P(6) = 1/6 + 1/6 + 1/6 = 3/6 = 1/2

16 Interpreting Probability
One way to interpret probability is this: If a random experiment is repeated an infinite number of times, the relative frequency for any given outcome is the probability of this outcome. For example: the probability of heads in flip of a balanced coin is .5, determined using the classical approach. The probability is interpreted as being the long-term relative frequency of heads if the coin is flipped an infinite number of times. So why don’t we just compute the probability of heads from a few flips?

17 The Coin Toss The result of any single coin toss is random. But the result over many tosses is predictable, as long as the trials are independent (i.e., the outcome of a new coin toss is not influenced by the result of the previous toss). The probability of heads is 0.5 = the proportion of times you get heads in many repeated trials. First series of tosses Second series

18 Independence of Events
One important first step in dealing with probabilities of more than one event is to establish independence (or not). There are mathematical ways to determine which we will learn. Two events are independent if the probability that one event occurs on any given trial of an experiment is not affected or changed by the occurrence of the other event. When are events not independent?

19 Combinations of Events
Intersection of Two Events Marginal Probability Conditional Probability Independence Union of Two Events

20 “Credit Scorecards” Credit scorecards are used by banks and financial institutions to determine whether applicants will receive loans. The scorecard is the product of a statistical technique that converts questions about income, residence, and other variables into a score. The higher the score, the higher the probability is that the applicant will repay. A cutoff score would be used to predict those who will repay and those who will default. Because no score card is perfect, it is possible to make two types of error: granting credit to those who will default and not lending money to those who would have repaid.

21 Intersection of Two Events
Credit scorecards are used by financial institutions to help decide to whom loans should be granted. An analysis of the records of one bank produced the following probabilities Score Under 400 Score of 400 or More Fully Repaid 0.19 0.64 Defaulted 0.13 0.04 The intersection of two events occurs when both A and B occur. We note this event as: A and B. Or sometimes: A  B This is the probability that an applicant has a credit score under 400 AND loan was fully repaid; it’s a joint probability. A joint probability is the probability of the intersection, or: P(A and B)

22 Often this notation represents the variables described.
A Little Notation Often shorthand notation is used to represent the events: R = Applicant fully repaid the loan D = Applicant defaulted on the loan U4 = Applicant’s score was under 400 O4 = Applicant’s score was 400 or more Often this notation represents the variables described. P(D and U4) = 0.13 This represents the probability an applicant defaulted on a loan and the had a score under 400. U4 O4 R 0.19 0.64 D 0.13 0.04

23 Marginal Probabilities
Marginal probabilities are computed by adding across rows and down columns; that is they are calculated in the margins of the table: P(D) = “What’s the probability an applicant defaulted on a loan?” U4 O4 P(Rowi) R 0.19 0.64 0.83 D 0.13 0.04 0.17 P(Columnj) 0.32 0.68 1.00 “What’s the probability an applicant had a score under 400?” P(U4) = BOTH margins must add to 1 (useful error check)

24 Conditional Probability
Conditional probability is used to determine how two events are related; that is, we can determine the probability of one event given the occurrence of another related event. Conditional probabilities are written as P(A | B) and read as “the probability of A given B” and is calculated as:

25 Conditional Probability
The probability of an event given that another event has occurred is called a conditional probability… Note how “A given B” and “B given A” are related!

26 Conditional Probability
“What’s the probability that a credit score was under 400 given that the applicant fully repaid a loan?” Thus, we want to know “what is P(U4 |R) ?” The | symbol represents “given”

27 Conditional Probability
We want to calculate P(U4 | R) U4 O4 P(rowi) R 0.19 0.64 0.83 D 0.13 0.04 0.17 P(colj) 0.32 0.68 1.00 Thus, there is a 22.9% chance that an applicant has a credit score under 400 given that he or she has repaid a loan .

28 Independence Another use for calculating conditional probability is to determine whether two events are related. In particular, we would like to know whether they are independent, that is, if the probability of one event is not affected by the occurrence of the other event. Two events A and B are said to be independent if P(A|B) = P(A) or P(B|A) = P(B) WHY?

29 Independence For example, we saw that P(U4 | R) = .229
The marginal probability for U4 is: P(U4) = 0.32 Since P(U4|R) ≠ P(U4), payment status (repaid vs. defaulted) and credit score (over vs. under 400) are not independent events. Stated another way, they are dependent. That is, the probability of one event (payment) is affected by the occurrence of the other event (credit score).

30 Union of Events The union of two events is denoted is the event that occurs when either or both event occurs. It is denoted as: A or B or sometimes as A U B We can use this concept to answer questions like: “Determine the probability that an applicant fully repays a loan or has a credit score under 400.”

31 Union of Events R or U4 occurs whenever: U4 O4 P(rowi) R D P(colj)
Determine the probability that an applicant fully repays a loan (R) or the applicant has a credit score <400 (U4). R or U4 occurs whenever: R and U4 occurs, R and O4 occurs, or O4 and D occurs… U4 O4 P(rowi) R 0.19 0.64 0.83 D 0.13 0.04 0.17 P(colj) 0.32 0.68 1.00 P(R or U4) = = .96

32 Union of Events U4 O4 P(rowi) R D P(colj)
Determine the probability that an applicant fully repays a loan (R) or the applicant has a credit score >400 (O4). O4 Be sure not to count this cell twice!! U4 O4 P(rowi) R 0.19 0.64 0.83 D 0.13 0.04 0.17 P(colj) 0.32 0.68 1.00 R P(U4 or R) = = .87

33 Alternative Calculation: Union
Take 100% and subtract off “when doesn’t R or O4 occur?” At D and U4 O4 U4 O4 P(Ai) R 0.19 0.64 0.83 D 0.13 0.04 0.17 P(Bj) 0.32 0.68 1.00 R P(R or O4) = 1 – P(D and U4) = 1 – .13 = .87

34 Probability Rules There are three rules that enable us to calculate the probability of more complex events from the probability of simpler events… The Complement Rule The Multiplication Rule The Addition Rule

35 The Complement Rule The complement of an event A is the event that occurs when A does not occur. The complement rule gives us the probability of an event NOT occurring. That is: P(AC) = 1 – P(A) For example, in the simple roll of a fair die, the probability of the number “1” being rolled is 1/6. The probability that some number other than “1” will be rolled is 1 – 1/6 = 5/6.

36 Contract Bidding An aerospace company has submitted bids on two separate federal government defense contracts. The company president believes that there is a 40% probability of winning the first contract. If they win the first contract, the probability of winning the second is 70%. However, if they lose the first contract, the president thinks that the probability of winning the second contract decreases to 50%. Let’s say that… F+ = The event of winning the first contract F- = The event of losing the first contract S+ = The event of winning the second contract S- = The event of losing the second contract So we know that… P(F+) = 0.40 and P(F-) = 0.60 What else do we know?

37 The Multiplication Rule
The multiplication rule is used to calculate the joint probability of two events. It is based on the formula for conditional probability defined earlier: If we multiply both sides of the equation by P(B) we have: P(A and B) = P(A | B)•P(B) Likewise, P(A and B) = P(B | A) • P(A) If A and B are independent events, then P(A and B) = P(A)•P(B)

38 We know (from the problem):
Contract Bidding F+ = The event of winning the first contract F- = The event of losing the first contract S+ = The event of winning the second contract S- = The event of losing the second contract We know (from the problem): “If they win the first contract, the probability of winning the second is 70%.” – let’s reword this as “given that they’ve won the first contract, the probability of winning the second is 70%” OR P(S+ | F+) = 0.70 “…if they lose the first contract the probability of winning the second…[is] 50%.” OR P(S+ | F-) = 0.50 And… P(S- | F+) = 0.30 P(S- | F-) = 0.50 WHY?

39 The Addition Rule P(A or B) = P(A) + P(B) – P(A and B)
Recall: the addition rule was introduced earlier to provide a way to compute the probability of event A or B or both A and B occurring; i.e. the union of A and B. P(A or B) = P(A) + P(B) We much subtract the joint probability P(A and B) from the sum of the probabilities of A and B? Why? P(A or B) = P(A) + P(B) – P(A and B)

40 P(R or O4) = P(R) + P(O4) – P(R and O4) = 0.83 + 0.68 – 0.64 = .87
Addition Rule P(R) = = .83 and P(O4) = = .68 By adding P(R) plus P(O4) we add P(R and O4) twice. To correct we subtract P(R and O4) from P(R) + P(O4) O4 U4 O4 P(rowi) R 0.19 0.64 0.83 D 0.13 0.04 0.17 P(colj) 0.32 0.68 1.00 R P(R or O4) = P(R) + P(O4) – P(R and O4) = – 0.64 = .87

41 Addition Rule for Mutually Exclusive Events
If and A and B are mutually exclusive the occurrence of one event makes the other one impossible. This means that P(A and B) = 0 The addition rule for mutually exclusive events is P(A or B) = P(A) + P(B) We often use this form when we add some joint probabilities calculated from a probability tree

42 Probability Trees A probability tree is a simple and effective method of applying the probability rules by representing events in an experiment by lines. The resulting figure resembles a tree. First selection Second selection P(F) = 3/10 P( M) = 7/10 P(F|M) = 3/9 P(F|F) = 2/9 P( M|M) = 6/9 P( M|F) = 7/9 This is P(F), the probability of selecting a female student first This is P(F|F), the probability of selecting a female student second, given that a female was already chosen first


Download ppt "Statistics for Management and Economics Chapter 6"

Similar presentations


Ads by Google