Statisti Cs For Busines S STAT130: Unit 2: Probability and Random
Statisti Cs For Busines S STAT130: Unit 2: Probability and Random
Statisti Cs For Busines S STAT130: Unit 2: Probability and Random
STAT130
cs
s
Chapte 4
r
Probability
Basic
Experiment
Concepts
A process of observation whose outcome is
Event
Event
Union of A and B (A B)
Operations
outcomes that belong to either A or B or
both.
Intersection
of A and B (A B)
that belong to both A and B.
Complement
()
outcomes
All outcomes in S that are not in the particular
event.
Mutually Exclusive Events
A and B are mutually exclusive i.e. (disjoint) if
(A B)=.
4
Venn Diagram
s
Tre diagra
This is a useful device to build a sample space
e and to
m calculate probabilities of simple events
and events.
Car
e1
e2
e3
Car
e4
e5
e6
6
Exercis
Suppose
sequence
(F)Construct
rating
1.
a tree diagram to show the
outcomes of the experiment.
2. Write down the sample space.
3. Let A denote the event that exactly one fuse
fails inspection. How would A be defined?
4. Let E denote the event that at most one fuse
fails inspection. What is ? A and E? A or E?
7
Probabilit
Probability refers
y
Assigning
Classical Method
Probabilities
P(Ai) =
Subjective Method
Exercise
Exercis
the
daily
sales:
a)
Which
approach did the manager
use to assign the probabilities.
b) What is the probability of selling
2, 3 or 4 computers?
c) What is the probability of selling
6 computers?
Number of
Computers
Sold
Probability
.08
.17
.26
.21
.18
.10
11
Rule of Probabilit
s
Rules for
Possible Values
and Sum
Individual Values
0 P(Ai) 1
P(A ) 1
i1
where:
k = Number of elementary events
in the sample space
Ai = ithelementary event
12
Complement
event E is represented
by .
Complement Rule:
P(A) 1
P(A)
Or,
P(A) P(A)
1
13
The Addition
B)will occur is
P(A B) = P(A) + P(B)
Example: Newspaper
Define events:
Subscribers
Given:
15
Example: Newspaper
Subscribers
P (A B ) = P (A )+ P (B ) P (A
B)
0.65 0.50 0.25 0.90
does not
1 0.65
0.35
16
Exercise
17
Exercise
18
Conditional
B, denoted
P(A|B):
P(A|B)
P(A B)
P(B)
where P(B)>0
Multiplication Rule:
P(A B)=P(A|B)P(B)
19
Example: Newspaper
P A B
0.25
0.3846
P B | A
0.65
P A
Of the households that subscribe
the Beacon
News, to
what is the probability t hat they also
subscribe to the Atlantic Journal?
P A | B
P AB
P B
0.25
0.50
0.50
20
Exampl
CD
No CD
Total
AC
.2
.5
.7
No AC
.2
.1
.3
Total
.4
.6
1.0
P(CD | AC)
P(AC)
.2
.2857
.7
21
Exercis
Credit
Card
Debit Card
Under $20
.09
.03
.04
$20-$100
.05
.21
.18
Over $100
.03
.23
.14
Independent vs.
Independent Events
Event
Dependent
Dependent Events
Independent
P(A|
Events
B)=P(A)
where P(B)>0
where P(A)>0
P(B|
P(A B)=P(A) P(B)
A)=P(B)
P(A2).P(Ak)
24
Example 1: Newspaper
Subscribers
Beacon News?
If independent, the P(B|A) = P(A)
P(B|A) = P(A)
A)?
Is Know that P(A)=
= 0.65
Just calculated t
6
hat P(B|A) = 0.384
0.65 0.3846, so P(B|A) P(A)
is not independent of B
A and B are said to be dependent
25
Exampl 2
Example
Example
The personnel
department of an insurance
company has compiled data regarding promotion,
4 classified by gender. Is promotion and gender
dependent on one another?
Manager
Promoted (E)
Not promoted ()
Total
Male (A)
46
184
230
Female ()
Total
54
32
216
40
270
28
Exampl 4
e
Manager
Promoted (E)
Not promoted ()
Total
Male (A)
46
184
230
Female ()
Total
54
32
216
40
270
54/270 = 0.20
awarding
promotions.
29
Exercise
1.
2.
3.
Exercise
4. A family
s
Chapte 5
Discrete Random Variables
Random Variables:
batch of 20
in a computer lab.
33
Discrete Probability
1.
value x of of
theall
random
variable,
p(x)sample
0
2. For
The any
probabilities
the events
in the
space must sum to 1, that is p(x)=1
34
Example
Experiment: Toss 2 Coins.
T
T
T
H
Probability Distribution
x
x Value
Probability
0.1/4 = 25
0.50= 2/4
0.25 = 1/4
Probability
4 possible outcomes
Let x = # heads.
.50
.25
35
Example
Radios, x
0
1
2
3
4
5
Probability,
p (x )
p(0) = 0.03
p(1) = 0.20
p(2) = 0.50
p(3) = 0.20
p(4) = 0.05
p(5) = 0.02
1.00
36
Exampl
a week?
p(X = 2) = 0.50
be sold in a week?
p(X < 2)
= p(X = 0 or X = 1)
= p(X = 0) + p(X = 1)
= 0.03
+ 0.20
= 0.23
What is the chance
that
three
or more radios will
be sold in a week?
p(X 3 )
= p(X = 3, 4, or 5 )
= p(X = 3) + p(X = 4) + p(X = 5)
= 0.20 + 0.05 + 0.02 = 0.27
37
Exercise
probability
distribution.
p(x)
.1
.3
.4
.1
10
p(x)
.01
.01
.01
.97
The
The
39
Exampl
described
by
the 1
following
probability
distribution
x
0
2
3
4
P(x)
0.05
0.15
0.35
0.25
0.20
x=0(.05)+1(.15)+2(.35)+3(.25)+4(.20)
=2.40
2
2
2
2
x =(0-2.4) (.05)+(1-2.4) (.15)+(2-2.4)
(.35+(3-2.4)2 (.25)+(4-2.4)2(.20) =1.24
x=1.11
40
Exercise
p(x)
0.2
0.4
0.3
0.1
The Binomial
42
Example
s
A firm bidding for a contract will either get the
contract or not.
A marketing research firm receives survey
responses of yes I will buy or no I will not.
New job applicants either accept the offer or
reject it.
The network works or does not work.
43
Binomial
For a binomial
n!
x n x
p (x )
p
(n x )! x ! q
for x 0,1, ,
n
The mean x= np
44
Binomial Distribution:
Applets
How does it look?
Binomial Probabilities
45
46
Finding probabilities in
EXCEL
MegaStat:
Distributions
47
Exampl
Exampl
20!
20!
0
20
(0.3) (0.7)
(0.3) 7 (0.7)13
0! 20!
7!13!
0.7723
P (X 7)
In Excel, =BINOMDIST(7,20,0.3,1)
b) What is the expected number of customers who
used a credit card?
x=np=(20)(0.3)=6 customers
49
at
50
Exercise
1. A
salesperson
contacts
eight
potential
customers per day. From past experience, we
s know that the probability of a potential
customer making a purchase is 0.10.
a) What is the probability the salesperson will make
b)
exactly two
sales in a day?
will make
What is the probability the salesperson
at least two sales in a day?
c) What percentage of days will the salesperson not
d)
make a sale?
Exercise
Chapter
Continuous Random Variables
Continuous Probability
Probability
The probability distribution of a continuous
random variable is specified by a function, f(x),
such that:
distribution
55
Area and
X is continuous, then
Probability
a to b
56
Uniform
A random variable X is said to be uniformly
distributed over the interval (c, d) if its
Distribution
density function is
f (x )
1
cx d
d c
uniform distribution
X c d
2
2
X
(d
c )12
2
57
58
Exampl
0.03
0
f x = 30
0
for 30 x 60
0.02
0
Densit
y
0.02
5
0.01
5
otherwise
0.01
0
0.00
5
0.00
0
30
60
59
Exampl
0.167
0.03
0
0.02
5
0.02
0
Densit
y
0.01
5
0.01
0
0.00
5
0.00
0
30
55
60
60
Exampl
0.333
0.03
0
0.02
5
Densit
y
0.02
0
0.01
5
0.01
0
0.00
5
0.00
0
30
45
X
55
60
61
Exampl
The
The
62
Exercis
exactly 50 minutes?
The Normal
normally distributed.
Distribution
f (x)
e (1/ 2)[( x ) / ]
64
Properties of Normal
Mean=Median=Mode
Distribution
Spread is determined by
Location is determined by
65
67
Exampl
Ali collected data on the
Finding
Normal
Two facts help calculate normal probabilities:
The normal distribution is symmetrical.
Any normal
can be transformed into
distribution
the STANDARD NORMAL DISTRIBUTION.
Probabilities
70
Finding Normal
71
The Standard
Tabl
Normal
0.4
0.977
Example:
P(Z <
2.00)
0.3
= 0.9772
0.2
0.1
0.0
72
exampl
standard e
Table
=8
=5
8 8.6
=0
=1
0 0.12
.0478
73
Finding Normal
Probabilities
deviation 5.0.
0.0
9
0.0
8
0.0
7
0.0
6
0.0
5
Densit
y
0.0
4
0.0
3
0.5478
0.0
2
0.0
1
0.0
0
8.6
0.0
9
0.0
8
0.0
7
0.0
6
0.0
5
Densit
y
0.0
4
0.0
3
0.0
2
0.345
0.0
1
0.0
0
8
10
74
Finding probabilities in
P(Z a) =normsdist(a)
Excel
For normal distribution with mean and standard
deviation :
P(X a) =normdist(a, , , 1)
MegaStat:
Backward Normal
Calculations
value.
Unstandardize x=
+ z
76
Exampl
e area of 0.3632.
0.3
Densit
y
0
0.4
0.2
P(Z<z)=0.3632
z=-0.35
Find the z-score that has
10.75% of the distributions
area to its right.
P(Z>z)=0.1075
z=1.24
0.0
0.3632
-0.350
0
0
0.
4
0.
3
Densit
y
0.1
0.
2
0.
1
0.1075
0.
0
1.2
4
77
Finding quartiles in
Excel
with known,
The value of c such that P(X c) = ,
can be obtained c=norminv(, , ).
MegaStat:
In Probability Continuous Probability Distributions
Exampl
If X has Normal distribution with =60 and =4, then
e
Example
Example
.98
In Excel, =NORMINV(0.98,100,15)
81
Exercise
1) The average
s
Exercise
weigh between
83
Exercise
B, a C, and a D.
84