Professional Documents
Culture Documents
Introduction To Statistics: Chap 1-1
Introduction To Statistics: Chap 1-1
Lecture 6
Chap 1-1
Topics To be covered
Problems related to
PROBABILITY
Percentiles, Quartiles
Percentiles, Example
Quartiles
Quartiles
PROBABILITY
Definitions
Table[RandomInteger[{0,1}],{20}]
Wolfram Alpha output
box plot[{34, 18, 100, 27, 54, 52, 93, 59, 61, 87, 68, 85, 78, 82,
91}]
Rolling two dice
Sample space of all possible outcomes
when two dice are tossed.
A
A
S
• Additive Law of Probability:
Law of Complements
Law of Complements:
P( A) 1 P( A)
15
Additive Law of Probability
Let A and B be two events in a sample space S. The probability
of the union of A and B is
P( A B) P( A) P( B) P( A B).
A B
S
Mutually Exclusive Events
Mutually Exclusive Events: Events that have no basic
outcomes in common, or equivalently, their intersection is the
empty set.
A B
S
Multiplication Rule and
Independent Events
Examples:
• Flip a coin twice. What is the probability of observing two heads?
• Flip a coin twice. What is the probability of getting a head and then a tail? A
tail and then a head? One head?
2. Roll two die and observe the sum of the points on the top faces of each die.
A
A
S
• Additive Law of Probability:
P ( E1 ) P ( E2 ) P( E3 ) ... 1
Toss two coins
Example: Toss two coins. Find the probability of at least one head
appearing.
Solution: At least one head is interpreted as one head or two
heads.
Step 1: Find the sample space:{ HH, HT, TH, TT} There are four
possible outcomes.
Step 2: How many outcomes of the event “at least one head”
Answer: 3 : { HH, HT, TH}
n( E )
P(E)= = ¾ = 0.75 = 75%
n( S )
8 possibilities for 3 tosses.
2 x 2 x 2 = 23 = 8
A coin & a die.
(a) a head
(b) 3
SOLUTION
P( A B) P ( A and B )
P(B|A) =
P ( A) P ( A)
Example: Conditional Probability
A number from the sample space S = {2, 3, 4, 5, 6, 7, 8, 9} is randomly
selected. Given the defined events A and B,
A: selected number is odd, and
B: selected number is a multiple of 3
find the following probabilities.
a) P(B) b) P(A and B) c) P(B/A)
Solution
a) B = {3, 6, 9} P(B) = 3/8
P(B|A) = P(B)
or
P(A|B) = P(A)
Expected Value
The Expected Value of x is the sum of the products of the
values of x and their corresponding probabilities.
E(x) = x1 P(x1) + x2 P(x2) + x3 P(x3) + … + xn P(xn)
The expected value is a calculation that serves as the best
prediction of a value. It is the probability-weighted average of
all possible outcomes.
What are the expected profits (or loses) for each company?
E(x) = -400 (0.2) + 800 (0.5) + 1300 (.3) E(x) = 600 (0.8) + 1000 (0.2)
E(x) = -80 + 400 + 390 E(x) = 480 + 200
E(x) = $710 Profit E(x) = $680 Profit
Permutations
In how many ways can 8 CD’s be arranged
on a shelf?
n! n 8
Np
(n r )! r 8
8! 8!
Np 40,320
(8 8)! 1
Permutations
In how many ways can 4 CD’s (out of a
collection of 8 CD’s) be arranged on a shelf?
n! n 8
Np
(n r )! r4
8! 8!
Np 1,680
(8 4)! 4!
Combinations
When the order in which the events occurred
is of no interest, we are dealing with
combinations. The number of possible
combinations is
n n!
Nc
r r!(n r)!
where r is the number of events in the series, n is the
number of possible events, and n! denotes the factorial of n
= the product of all the positive integers from 1 to n.
The number of combinations of n
objects taken k at a time is
n!
Ck
(n k ) ! k !
n
Combinations
How many groups of 4 CDs are there in a
collection of 8 CDs)?
n n! n 8
Nc
r r!(n r)! r4
8 8! 8!
Nc 70
4 4!(8 4)! 4!4!
Assignment 2
P. 213. Qs. 6,7,8,9,10,11