Professional Documents
Culture Documents
Descriptive Statistics
Discrete Probability Distributions
Continuous Probability Distributions
0 1 0
Uniform distribution x Exponential distribution x
(e.g. soil texture) (e.g. event rainfall)
0.3
f (x)
Practice Problem
The number of patients seen in the ER in any given hour is a random
variable represented by X. The probability distribution for X is:
X 10 11 12 13 14
P(X=x) .4 .2 .2 .1 .1
Var( X ) E (( X E ( X )) 2 ) pi ( xi E ( X )) 2
i
17,100 130.77
7
Sample mean and sample variance
Mean
variance
s s2
8
Binomial Distribution
Bernoulli Trial:
Bernoulli trial is an experiment with only two possible outcomes.
The two possible outcomes are labeled:
success (s) and failure ( f )
Examples:
1. Tossing a coin (success=H, failure=T, and p=P(H))
2. Inspecting an item (success=defective, failure=non-defective,
and p=P(defective))
9
Binomial Probability Distribution
Our interest is in the number of successes occurring in the n trials.
We let x denote the number of successes occurring in the n trials.
n n!
x
x !(n x )!
25
f ( x ) (0.01) x (0.99) 25 x x 0,1, 2,..., 25
x
We may calculate the probability of finding one or fewer nonconforming parts in the
sample as:
P ( X 1) P ( X 0) P ( X 1)
f (0) f (1)
1
25
(0.01) x (0.99) 25 x
x 0 x
25! 25!
(0.01)0 (0.99) 25 (0.01)1 (0.99) 24
0!25! 1!24!
0.7778 0.1964
0.9742
15
Poisson Probability Distribution
The Poisson distribution is
e x
f ( x) x 0,1, 2,...
x!
Where the parameter >0 is the mean number of successes in the interval.
The mean and variance of the Poisson distribution are
and 2
16
= 6/hour = 3/half-hour, x = 4
34 (2.71828)3
f (4) .1680
4!
17
Example
The number of typographical errors in new editions of textbooks varies
considerably from book to book. After some analysis an instructor concludes
that the number of errors is Poisson distributed with a mean of 1.5 per 100
pages. The instructor randomly selects 100 pages of a new book. What is the
probability that there are no typos?
e x e 1.51.50
f (0) P ( X 0) 0.2231
x! 0!
Uniform Distribution
19
Example:
If X is a uniform random variable in the interval [a, b], find the
expectation, E[X] and the variance, Var (X).
Answer:
E[ X ] xf X ( x ) dx E[ X ] x 2 f X ( x ) dx
2
x x2
b
b
dx dx
a
ba a
ba
b2 a2 b3 a 3
2 (b a ) 3(b a )
ba b 2 ab a 2
2 3
Var ( X ) E[ X 2 ] E[ X ]2
b 2 ab a 2 ( a b) 2
3 4
(b a ) 2
12
20
Normal Probability Distribution
The normal probability distribution is the The normal distribution is
most important distribution for describing 1
( x )2
f ( x) e 2 2
x
a continuous random variable. 2
It has been used in a wide variety of with mean and variance 2
applications: The normal distribution is: X N ( , 2 )
Heights and weights of people
The visual appearance of the normal
Test scores
distribution is a symmetric, unimodal or
Scientific measurements bell-shaped curve as shown in the figure.
Amounts of rainfall
It is widely used in statistical inference
21
We can use the following function to convert any normal random variable to a
standard normal random variable
0
24
Examples:
(0.76) 0.776373
(1.3) ?
( 3) 1 (3) ?
(3.86) ?
26
Example: If X is normal random variable with = 3 and = 9,
find (a) P(2< X<5) (b) P(X>0)
23 X 3 53
a P(2 X 5) P
3 3 3
1 2 2 1
P Z PZ P Z
3 3 3 3
2 1 2 1
1
3 3 3 3
0.3779
X 3 03
b P( X 0) P P( Z 1)
3 3
1 1 1 0.8413
27
28
Original normal
distribution
Standard normal
distribution
29
Normal Approximation to the
Binomial Distributions
np and np (1 p )
x 0.5 np
P ( X x)
np (1 p )
30
= 0.9394
31
The Exponential Random Variable
A random variable X is defined to be exponential random variable (or
say X is exponentially distributed) with positive parameter if its
probability density function is given by:
e x if x 0, 0
f ( x)
0 if x 0
f ( x ) dx e x x
Note: dx e 1
0 0
Integration by part:
1 1
E[ X ] xe x
( e x
) dx e x
dx e x
0 0 0 0
Variance:
E[ X 2 ] x 2 f ( x ) dx x 2 e x dx x 2 de x
0 0
Integration by part:
2 2 1 2
E[ X 2 ] x 2 e x ( e x )2 x dx 2 xe dx x e dx
0 0 0 0 2
2
1 1 2
Var [ X ] E[ X ] ( E[ X ]) 2 2
2 2
33
Example
The lifetime of an alkaline battery (measured in hours) is exponentially
distributed with = 0.05
P (10 X 15)
F (15) F (10)
P (10 X 15) e (0.05)(10) e (0.05)(15)
e 0.5 e 0.75
0.1341
Solution (continued):
7.8 - 8 X - 8.2 - 8
P(7.8 X 8.2) P
3 3
36 n 36
P(-0.4 Z 0.4) 0.3108
Students t-distribution
42
Students t-distribution
43