Beruflich Dokumente
Kultur Dokumente
of a Distribution
By: Shoaib Ahmed
Introduction
The mean and variance
2
of a random
and
of frequency distribution.
a) x j f ( x j )
b)
(Discrete Distribution )
x f ( x) dx (Continuous Distribution)
a) 2 ( x j ) 2 f ( x j )
b) 2
(Discrete Distribution )
2
(
x
)
f ( x) dx (Continuous Distribution)
properties
parameters.
of
called
0 12 1 12 12
And the variance
2 1
2 1
1
1
(0 ) (1 )
2
2
2
2
1
4
f ( x)
1
ba
0
if a x b
otherwise
x f ( x) dx
1
ba
x dx
b
1 x2
ba 2 a
a b
2
1
(
x
)
f
(
x
)
dx
(x
ba
a
a b )2
2
dx
(b a ) 2
12
For continuous
E ( X ) x f ( x) dx
-
sampled
by
quality
inspector;
the
lot
x 3 x
f ( x)
; x 0, 1, 2, 3.
7
3
A few simple calculations yield
Therefore,
35
35
35
components
and
defective
device.
function is:
The
probability
density
20,000 , if x 100
3
f ( x)
otherwise
Solution:
20,000
20,000
E( X )
x
dx
dx 200.
3
2
x
x
100
100
probability distribution
g ( X ) E g ( X ) g ( x) f ( x)
For continuous
g ( X ) E g ( X )
g ( x) f ( x) dx
random
variable
with
probability
X2
P g ( X ) 0 P( X 0) f (0)
P g ( X ) (2) P( X 2) f (2)
written
g(x)
P[g(X) =
g(x)]
0
f(0)
1
f(-1) +
f(1)
2
f(2)
x
4
P[X = x] 1/12
5
1/12
6
1/4
7
1/4
8
1/6
9
1/6
receive
g ( X ) E g ( X ) E g (2 X 1)
12
12
(2 x 1) f ( x)
x4
7 1 9 1 11 1 13 1 15 1 17 1
12.67
density function
1 x 2 , 1 x 2
f ( x) 3
0,
elsewhere
g ( X ) E g ( X )
g ( x) f ( x) dx
-
2
(4 x 3) x 2
E 4 X 3
dx 8
3
-1
Joint Probability
Distributions
There will be situations where we may find it
refer
to
this
function
as
the
joint
1) f ( x, y ) 0 for all ( x, y ),
2) f ( x, y ) 1,
x
3) P( X x, Y y ) f ( x, y ).
P X , Y
For any region A in the xy plane,
f ( x, y).
A
x, y x y 1
(0, 1), (1, 0), (1, 1), (0, 2), and (2, 0). Now, f (0, 1), for
example, represents the probability that a red and a
green refill are selected. The total number of equally
8 from the 8 is
likely ways of selecting any 2 refills
28
2
. The number of ways of selecting
1 red from 2 red
2 3 from 3 green refills is
refills and 1 green
6
1 1
Row
Totals
3/28
9/28
3/28
15/28
3/14
3/14
3/7
1/28
1/28
5/14
15/28
3/28
Column Totals
f ( x, y )
3
x
2 3
y 2-x-y ,
8
2
for x 0, 1; y 0, 1, 2 and 0 x y 2.
x, y
b) P[(X, Y) A], where A is the region
x y 1.
P X , Y A P X Y 1
f (0, 0) f (0, 1) f (1, 0)
3 3 9
9
28 14 28 14
1) f ( x, y ) 0 for all ( x, y ),
2)
f ( x, y) dx dy 1,
3) P X , Y A
f ( x, y) dx dy,
otherwise
x, y 0 x 12 , 14 y 12
) Solution a):
11
f ( x, y ) dx dy 2 (2 x 3 y ) dx dy
00
1
x 1
2
x
6
xy
dy
5
5
x 0
0
1
1
2
2 y 3y
2 3
2 6y
1
dy
5
5 5
5 5
5
0
0
Solution b):
P X , Y A P 0 X 1 , 1 Y 1
2 4
x 12
2 x 2 6 xy
2 ( 2 x 3 y ) dx dy
f
(
x
,
y
)
dx
dy
dy
5
5 5
1 0
1
x 0
4
4
1 1
2 2
y 3y2
1 3y
dy
10
5
10 5
1
10
1 3 1 3
0.08125
2 4 4 16
Marginal Distributions
Given the joint probability distribution f (x, y) of the
of Y alone are:
g ( x) f ( x, y ) and h( y ) f ( x, y )
Y
g ( x)
f ( x, y ) dy and h( y )
f ( x, y) dx
Row
Totals
3/28
9/28
3/28
15/28
3/14
3/14
3/7
1/28
1/28
5/14
15/28
3/28
Column Totals
that
3 3 1
5
g (0) f (0, 0) f (0, 1) f (0, 2)
28 14 28 14
9
3
15
g (1) f (1, 0) f (1, 1) f (1, 2)
0
28 14
28
and
3
3
g (2) f (2, 0) f (2, 1) f (2, 2)
00
28
28
otherwise
Solution:
g ( x)
f ( x, y ) dy
2 ( 2 x 3 y ) dy
5
4 xy 6 y
5
10
y 1
y 0
4x 3
And
h( y )
f ( x, y) dx
2 (2 x 3 y ) dy
5
2(1 3 y )
Definition
3: Let X and
Y be random
g ( x, y) f ( x, y )
g ( X ,Y ) E g ( X , Y )
g ( x, y) f ( x, y) dx dy
if X and Y are continuous.
Row
Totals
3/28
9/28
3/28
15/28
3/14
3/14
3/7
1/28
1/28
5/14
15/28
3/28
Column Totals
Solution: By definition
E ( XY )
x 0 y 0