DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS
Introduction to Business Statistics Introduction to Business Statistics QM 120 Ch t 4 Chapter 4
Spring 2008
- Dr. Mohammad Zainal
Introduction to Business Statistics Introduction to Business - - PowerPoint PPT Presentation
DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS Introduction to Business Statistics Introduction to Business Statistics QM 120 Ch Chapter 4 t 4 Spring 2008 Dr. Mohammad Zainal Chapter 4: Experiment, outcomes, and sample space
DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS
2
Probability and statistics are related in an important way. It
2
Data are obtained by observing either uncontrolled events
The
Recording a test grade Interviewing a householder to obtain his or her opinion in certain
issue issue.
QMIS 120, CH 4
3
Table 1: Examples of experiments, outcomes, and sample spaces
Sample Space Outcomes Experiment
3
S = {Head, Tail} Head, Tail Toss a coin once S = {1, 2, 3, 4, 5, 6} 1, 2, 3, 4, 5, 6 Roll a die once S = {Win, Lose} Win, Lose Play a lottery S = {M,F} M, F Select a student S = {HH HT TH TT} HH HT TH TT Toss a coin twice
Venn diagram is a picture that depicts all possible outcomes
S {HH, HT, TH, TT} HH, HT, TH, TT Toss a coin twice
Venn Diagram
H T
Tree Diagram
T
QMIS 120, CH 4
4
4
QMIS 120, CH 4
5
A simple event is the outcome that is observed on a single
5
QMIS 120, CH 4
6
We can now define an event (or compound event) as a
6
QMIS 120, CH 4
7
7
Two events are mutually exclusive if, when one event
The set of all simple events is called the sample space, S.
QMIS 120, CH 4
8
Probability is a numerical measure of the likelihood that an
8
The probability of an even always lies in the range 0 to 1 The probability of an even always lies in the range 0 to 1. 0 ≤ P(Ei) ≤ 1 0 ≤ P(A) ≤ 1 0 ≤ P(A) ≤ 1
The sum of the probabilities of all simple events for an experiment,
denoted by ΣP(Ei), is always 1. y ) y
QMIS 120, CH 4
9
9
Two or more events that have the same probability of occurrence are
said to be equally likely events.
The probability of a simple event is equal to 1 divided by the total
number of all final outcomes for an equally likely experiment.
Classical probability rule to find probability
1 ( ) P E = ( ) Total number of outcomes Number of outcomes favorable to ( ) Total number of outcomes
i
P E A P A = =
QMIS 120, CH 4
10
10
QMIS 120, CH 4
11
11
QMIS 120, CH 4
12
Calculating the probability of an event:
List all the simple events in the sample space.
12
List all the simple events in the sample space. Assign an appropriate probability to each simple event. Determine which simple events result in the event of interest. Determine which simple events result in the event of interest. Sum the probabilities of the simple events that result in the event of
interest. Always
the sample space.
to the simple events.
QMIS 120, CH 4
13
13
QMIS 120, CH 4
14
Suppose we want to know the following probabilities:
14
Suppose we want to know the following probabilities:
The next car coming out of an auto factory is a “lemon” A randomly selected family owns a home A randomly selected woman has never smoked
The outcomes above are neither equally likely nor fixed for each
l sample.
The variation goes to zero as n becomes larger and larger
If i i d i d A i b d f
If an experiment is repeated n times and an event A is observed f
times, then
QMIS 120, CH 4
15
15
QMIS 120, CH 4
16
16
QMIS 120, CH 4
17
17
Number of Polishers Rented Number of Days 4 1 6 2 18 2 18 3 10 4 2
QMIS 120, CH 4
18
Law of large numbers: If an experiment is repeated again
18
Suppose we want to know the following probabilities:
pp g p
A student who is taking a statistics class will get an A grade. KSE price index will be higher at the end of the day. China will dominate the gold medal list in the 2008 Olympics.
Subjective probability is the probability assigned to an event based on
subjective judgment experience information and belief subjective judgment, experience, information, and belief.
QMIS 120, CH 4
19
Suppose that an experiment involves a large number N of
19
( ) Where is the number of simple events that result in event A
A A
n P A N n =
The mn rule
Consider an experiment that is performed in two stages. If the first
stage can be performed in m ways and for each of these ways, the second stage can be accomplished in n ways, then there mn ways to accomplish the experiment
QMIS 120, CH 4
20
20
QMIS 120, CH 4
21
The extended mn rule
If an experiment is performed in k stages, with n1 ways to accomplish
21
If an experiment is performed in k stages, with n1 ways to accomplish
the first stage, n2 to accomplish the second stage…, and nk ways to accomplish the kth stage, the number of ways to accomplish the experiment is p
1 2 3... k
QMIS 120, CH 4
22
22
Investment Gain or Loss in 3 Months (in €000)
QMIS 120, CH 4
23
23
QMIS 120, CH 4
24 24
QMIS 120, CH 4
25
A counting rule for permutations (orderings)
The number of ways we can arrange n distinct objects, taking them
25
The number of ways we can arrange n distinct objects, taking them
r at a time, is
n
r n r
A counting rule for combination
The number of distinct combinations of n distinct objects that can The number of distinct combinations of n distinct objects that can
be formed, taking them r at a time, is
n n n r r r
QMIS 120, CH 4
26
Permutations: Given that position (order) is important, if
26
Combinations: If one has 5 different objects (e.g. A, B, C, D,
QMIS 120, CH 4
27
Suppose all 100 employees of a company were asked
27
Total Against In favor 60 45 15 Male 40 36 4 Female Total 100 81 19
Marginal probability is the probability of a single event
QMIS 120, CH 4
28
Suppose one employee is selected, he/she maybe classified
28
The probability of each of the following event is called
P(male) =
Total Against In favor
P(female) = P(in favor) =
g 60 45 15 40 36 4 Male Female T t l
P(against) =
Suppose the employee selected is known to be male. What
Total 100 81 19
QMIS 120, CH 4
29
This probability is called conditional probability and is
29
This event has already occurred Read as “given” The event whose probability is to be determined
Conditional probability is the probability that an even will
QMIS 120, CH 4
30
30
QMIS 120, CH 4
31
31
QMIS 120, CH 4
32
32
QMIS 120, CH 4
33
Events that cannot occur together are called mutually
33
QMIS 120, CH 4
34
Two events are said to be independent if the occurrence of
34
A and B are said to be independent events if either
QMIS 120, CH 4
35
What is the difference between mutually exclusive and
35
It is common to get confused or not to tell the difference between
these two terminologies.
When two events are mutually exclusive, they cannot both happen.
Once the event B has occurred, event A cannot occur, so that P(A|B) = 0, or vice versa. The occurrence of event B certainly affects the probability that event A can occur. Therefore,
Mutually exclusive events must be dependent. Independent events are never mutually exclusive Independent events are never mutually exclusive.
But, dependent events may or may not be mutually exclusive
QMIS 120, CH 4
36
36
Not a college graduate College graduate Not a college graduate College graduate 80 35 Smoker 175 130 Nonsmoker
If an person is selected at random from this sample, find the
College graduate (G). Nonsmoker (NS). Smoker (S) given the person is not a college graduate (NG). College graduate (G) given the person is a nonsmoker (NS). Are the events Smoker and college graduate independent? Are the events Smoker and college graduate independent?
QMIS 120, CH 4
37 37
QMIS 120, CH 4
38
Two mutually exclusive events that taken together include
38
Consider the following Venn diagram:
Since two complementary events, taken together, include all
Venn diagram of two complementary evens
QMIS 120, CH 4
39
39
QMIS 120, CH 4
40
40
A B A and B
Intersection of events A and B
QMIS 120, CH 4
41
Sometimes we may need to find the probability of two
41
Sometimes we may need to find the probability of two
The probability of the intersection of two events A and B is The probability of the intersection of two events A and B is
It can be obtained by multiplying the marginal probability
Multiplication rule: The probability of the intersection of
QMIS 120, CH 4
42
42
Total Not a college graduate (N) College graduate (G) 27 20 7 Male (M) 13 9 4 Female (F) 40 29 11 Total
40 29 11 Total
QMIS 120, CH 4
43 43
QMIS 120, CH 4
44
44
QMIS 120, CH 4
45
If events A and B are independent, their joint probability
45
Sometimes we know the joint probability of two events A
QMIS 120, CH 4
46
46
QMIS 120, CH 4
47
47
QMIS 120, CH 4
48
48
QMIS 120, CH 4
49
49
S A B
QMIS 120, CH 4
50
50
QMIS 120, CH 4
51
51
Opinion Total Neutral Oppose Favor 70 10 15 45 Faculty
y 230 30 110 90 Student 300 40 125 135 Total
QMIS 120, CH 4
52
52
QMIS 120, CH 4
53
53
QMIS 120, CH 4
54
The probability of the union of two mutually exclusive
54
Opinion Total Neutral Oppose Favor 70 10 15 45 Faculty
230 30 110 90 Student 300 40 125 135 Total
QMIS 120, CH 4
55
55
QMIS 120, CH 4
56
56
QMIS 120, CH 4
57
B
57
B1 B2 Bn-1 Bn
B A
A1 A2 An-1 An
QMIS 120, CH 4
58
58
QMIS 120, CH 4
59
59
1 1 1 1 1 2 2
2 2 2
1 1 2 2
1 1 2 2
i i i n n
QMIS 120, CH 4
60
60
Good Parts Bad Parts Supplier 1 98 2 Supplier 1 95 5
QMIS 120, CH 4
61
61
QMIS 120, CH 4
62
62
QMIS 120, CH 4
63
63
QMIS 120, CH 4