You are on page 1of 18

Week 5: Chapter 4

Discrete Random Variables (Section 4.1-4.3)

random
1

C
h
a
p
t
e
r

Terminology (4.1)

Random Variable
A variable that assumes numerical values associated with
the random outcome of an experiment, where one (and
only one) numerical value is assigned to each sample
point.

4
2

C
h
a
p
t
e
r

Terminology (4.1)

Discrete Random Variable


a countable number of values.

Continuous Random Variable


any value along a given interval of a number line.

4
3

C
h
a
p
t
e
r

Examples

Discrete random
variables

Continuous random
variables

Number of sales

Length

Number of calls

Depth

Shares of stock

Volume

People in line

Time

Mistakes per page

Weight

4
4

C
h
a
p
t
e
r

Probability Distributions for Discrete


Random Variables (4.2)

Consists of all possible values of a random


variable with their associated probabilities.

Example: Let us consider the experiment of


tossing two fair coins.
S = { HH, HT, TH, TT }
X is the random variable which is defined by the
number of heads.
X=x

P(X=x)

1/4

2/4

1/4
5

C
h
a
p
t
e
r

Conditions
1.

P(x) 0 for all values of x

2.

The sum of all of the probabilities must


equal 1.

=1
=1

4
6

C
h
a
p
t
e
r

Expected Value and Variance (4.3)

The mean, or expected value, of a discrete


random variable is

E( X )
x1 p1 x2 p2 xn pn
x p( x)

The variance of a discrete random variable is

x p( x)
2

C
h
a
p
t
e
r

Example

Number of assistance programs used simultaneously by


families with children in Head Start programs in Ohio.
# of
programs (x)

Frequency

P(x)

62

.2088

47

.1582

39

.1313

39

.1313

58

.1953

37

.1246

.0135

11

.0370

297

1.000

Total

62/297=.2088

Week 5: Chapter 5
Continuous Random Variables

continuous

random
9

C
h
a
p
t
e
r

Continuous Random Variable

A continuous random variable can assume


any numerical value within some interval
or intervals.

5
10

C
h
a
p
t
e
r

Continuous Probability Distributions

The graph of the probability distribution is


a smooth curve called a
probability density function
frequency function
probability distribution

There are an infinite number of possible


outcomes
p(x) = 0
Instead, find p(a<x<b)

11

C
h
a
p
t
e
r

Mean & Standard Deviation of x


Two distributions with the same standard
deviation with different means.

Larger mean

5
12

C
h
a
p
t
e
r

Illustrations
Two distributions with the same means and
different standard deviation.
Smaller standard deviation

13

C
h
a
p
t
e
r

The Uniform Distribution (5.2)

1
f ( x)
,
d c

cxd
14

C
h
a
p
t
e
r

Formulas
For two values a and b
<< =

c<

The mean and Standard deviation for a Uniform


random variable X is:
Mean
+2
=
2

Standard Deviation
=

12
15

C
h
a
p
t
e
r

Example

Suppose a random variable X is distributed


uniformly with c = 5 and d = 25.
a. What is P(10 x 18) ?

b. Find mean and standard deviation of X.

5
16

C
h
a
p
t
e
r

Example

Suppose a random variable X is distributed


uniformly with c = 5 and d = 25.
a. What is P(10 x 18) ?

1
1
1

d c 25 5 20

c=5
a=10

d=25
b=18
17

(a) What is P(10 x 18) ?

C
h
a
p
t
e
r

ba
P ( a x b)
,
cabd
d c
18 10
P(10 x 18)
.40
25 5
(b)
Mean,

c d 5 25 30

15
2
2
2

Standard
d c 25 5 20

5.7735
deviation,
12
12
12
18

You might also like