Академический Документы
Профессиональный Документы
Культура Документы
5/13/17
Expected Values:
Discrete Random
Variables Sums of
Random Variables
Discrete variables
can assume only a countable number of
different values
gaps between values along the number line
It is possible to list all X values and the
associated P(X) in Probability Distributions
Random variables
Actual outcomes are determined by chance.
Notation:
X outcome
P(X) probability of an outcome
Expected Values
What
is the expected number of
drinks consumed per occasion by
light-drinking E370 students?
P(X
X Products Sum
)
0 0.56 =0*0.56 = 0 0
1 0.13 =1*0.13 = 0.13 +0.13
2 0.07 =2*0.07 = 0.14 +0.14
3 0.07 =3*0.07 = 0.21 +0.21
4 0.04 =4*0.04 = 0.16 +0.16
5 0.13 =5*0.13 = 0.65 +0.65 = 1.29
Expected Values
What
is the expected number of
drinks consumed per occasion by
light-drinking E370 students?
P(X
X Products Sum
)
0 0.56 =0*0.56 = 0 0
1 0.13 =1*0.13 = 0.13 +0.13
2 0.07 =2*0.07 = 0.14 +0.14
3 0.07 =3*0.07 = 0.21 +0.21
4 0.04 =4*0.04 = 0.16 +0.16
5 0.13 =5*0.13 = 0.65 +0.65 = 1.29
Expected Values
What
(X-
P( (X- (X-
X E(X))2*P(X
X) E(X)) E(X))2
)
0.5 (0- (0- 0.93189
0 (0-1.29)
6 1.29)2 1.29)2*0.56 6
0.1 (1- (1- +
1 (1-1.29)
3 1.29)2 1.29)2*0.13 0.010933
0.0 (2- (2- +
2 (2-1.29)
7 1.29)2 1.29)2*0.07 0.035287
0.0 (3- (3- +
3 (3-1.29)
More Expected Values
7
0.0
1.29)2
(4-
1.29)2*0.07
(4-
0.204687
+
4 (4-1.29)
4 1.29)2 1.29)2*0.04 0.293764
What
(X-
P( (X- (X-
X E(X))2*P(X
X) E(X)) E(X))2
)
0.5 (0- (0- 0.93189
0 (0-1.29)
6 1.29)2 1.29)2*0.56 6
0.1 (1- (1- +
1 (1-1.29)
3 1.29)2 1.29)2*0.13 0.010933
0.0 (2- (2- +
2 (2-1.29)
7 1.29)2 1.29)2*0.07 0.035287
0.0 (3- (3- +
3 (3-1.29)
More Expected Values
7
0.0
1.29)2
(4-
1.29)2*0.07
(4-
0.204687
+
4 (4-1.29)
4 1.29)2 1.29)2*0.04 0.293764
What
(X-
P( (X- (X-
X E(X))2*P(X
X) E(X)) E(X))2
)
0.5 (0- (0- 0.93189
0 (0-1.29)
6 1.29)2 1.29)2*0.56 6
0.1 (1- (1- +
1 (1-1.29)
3 1.29)2 1.29)2*0.13 0.010933
0.0 (2- (2- +
2 (2-1.29)
7 1.29)2 1.29)2*0.07 0.035287
0.0 (3- (3- +
3 (3-1.29)
More Expected Values
7
0.0
1.29)2
(4-
1.29)2*0.07
(4-
0.204687
+
4 (4-1.29)
4 1.29)2 1.29)2*0.04 0.293764
What
(X-
P( (X- (X-
X E(X))2*P(X
X) E(X)) E(X))2
)
0.5 (0- (0- 0.93189
0 (0-1.29)
6 1.29)2 1.29)2*0.56 6
0.1 (1- (1- +
1 (1-1.29)
3 1.29)2 1.29)2*0.13 0.010933
0.0 (2- (2- +
2 (2-1.29)
7 1.29)2 1.29)2*0.07 0.035287
0.0 (3- (3- +
3 (3-1.29)
More Expected Values
7
0.0
1.29)2
(4-
1.29)2*0.07
(4-
0.204687
+
4 (4-1.29)
4 1.29)2 1.29)2*0.04 0.293764
Expected Variance = 3.27drinks2
Standard Deviation = SQRT(3.27) =
1.81 drinks
Is that a lot of variability or a little?
Tointerpret a statistic, we need context.
The range of the variable is 5.
The expected value is 1.29.
Two standard deviations above the mean
takes us almost to 5.
We cant go two standard deviations below
the mean because we run into 0 and we
cant have negative drinks.
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X)
V(X) =
= 681275
681275 $825.40
An automobile insurance company estimates
the following loss probabilities for the next
year on a $10,000 motorcycle. What is the
expected loss, the expected standard
deviation of loss, and the value of the
Loss loss? (X )*P( (X E(X))22
median
% P(Los i ii
Valu
Loss s) Xi) *P(Xii)
e
(10000-
(10000-
Total 285)
285)22*0.001
*0.001
loss 10000 0.001 10 =94381.23
=94381.23
50%
loss 5000 0.010 50 222312.3
222312.3
25%
Practice
loss 2500 0.050 expected
125 245311.3
245311.3
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X)
V(X) =
= 681275
681275 $825.40
An automobile insurance company estimates
the following loss probabilities for the next
year on a $10,000 motorcycle. What is the
expected loss, the expected standard
deviation of loss, and the value of the
Loss loss? (X )*P( (X E(X))22
median
% P(Los i ii
Valu
Loss s) Xi) *P(Xii)
e
(10000-
(10000-
Total 285)
285)22*0.001
*0.001
loss 10000 0.001 10 =94381.23
=94381.23
50%
loss 5000 0.010 50 222312.3
222312.3
25%
Practice
loss 2500 0.050 expected
125 245311.3
245311.3
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X)
V(X) =
= 681275
681275 $825.40
An automobile insurance company estimates
the following loss probabilities for the next
year on a $10,000 motorcycle. What is the
expected loss, the expected standard
deviation of loss, and the value of the
Loss loss? (X )*P( (X E(X))22
median
% P(Los i ii
Valu
Loss s) Xi) *P(Xii)
e
(10000-
(10000-
Total 285)
285)22*0.001
*0.001
loss 10000 0.001 10 =94381.23
=94381.23
50%
loss 5000 0.010 50 222312.3
222312.3
25%
Practice
loss 2500 0.050 expected
125 245311.3
245311.3
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X)
V(X) =
= 681275
681275 $825.40
An automobile insurance company estimates
the following loss probabilities for the next
year on a $10,000 motorcycle. What is the
expected loss, the expected standard
deviation of loss, and the value of the
Loss loss? (X )*P( (X E(X))22
median
% P(Los i ii
Valu
Loss s) Xi) *P(Xii)
e
(10000-
(10000-
Total 285)
285)22*0.001
*0.001
loss 10000 0.001 10 =94381.23
=94381.23
50%
loss 5000 0.010 50 222312.3
222312.3
25%
Practice
loss 2500 0.050 expected
125 245311.3
245311.3
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X)
V(X) =
= 681275
681275 $825.40
An automobile insurance company estimates
the following loss probabilities for the next
year on a $10,000 motorcycle. What is the
expected loss, the expected standard
deviation of loss, and the value of the
Loss loss? (X )*P( (X E(X))22
median
% P(Los i ii
Valu
Loss s) Xi) *P(Xii)
e
(10000-
(10000-
Total 285)
285)22*0.001
*0.001
loss 10000 0.001 10 =94381.23
=94381.23
50%
loss 5000 0.010 50 222312.3
222312.3
25%
Practice
loss 2500 0.050 expected
125 245311.3
245311.3
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X) = $825.40
V(X) = 681275
An automobile insurance company estimates
the following loss probabilities for the next
year on a $10,000 motorcycle. What is the
expected loss, the expected standard
deviation of loss, and the value of the
Loss loss? (X )*P( (X E(X))22
median
% P(Los i ii
Valu
Loss s) Xi) *P(Xii)
e
(10000-
(10000-
Total 285)
285)22*0.001
*0.001
loss 10000 0.001 10 =94381.23
=94381.23
50%
loss 5000 0.010 50 222312.3
222312.3
25%
Practice
loss 2500 0.050 expected
125 245311.3
245311.3
values
10%
loss 1000 0.100 100 51122.5
51122.5
0% loss0 0.839 0 68147.78
68147.78 SQRT
E(X) $285 V(X) = $825.40
V(X) = 681275
What does the loss function look
like?
Multivariate Random
Variables
We COULD measure and/or count these,
but we can also get them by adding
Univariate Random Variables, also
called combinations.
Summary
The president of Midwest Foods is
thinking of building a meat
distribution facility on the outskirts
of Chicago. Contribution per pound
to profits is known to be $0.40 for
pork and $0.50 for beef. The
president is interested in overall
profits. Define a relevant random
variable.
TP = 0.4*P + 0.5*B
A practical problem
Itis known that expected pork
sales per month are 2300 pounds.
Expected beef sales per month
are 4200. Calculate the expected
value of profits.
E(TP) = E(0.4P + 0.5B)
= E(0.4P) + E(0.5B)
= 0.4*E(P) + 0.5*E(B)
= 0.4*2300 + 0.5*4200
= 920 + 2100 = $3,020
Expected Value
The expected value of the sum
of random variables is the sum
of the expected values of its
parts.
For S= aX + bY + c
E(S) =E(aX + bY + c)
=E(aX) + E(bY) + (E(c))
=a*E(X) + b*E(Y) + c
(E(c) = c)
Big News
Theexpected standard deviation
of pork sales is1187 pounds; the
expected standard deviation of
beef sales is 1400 pounds.
Calculate the expected standard
deviation of profits, assuming
pork and beef sales are
independent of one another.
o Calculate Variance
o Take Square Root of it.
Independent
Expected Standard Deviation
V(TP) = V(0.4*P + 0.5*B)
=V(0.4*P) + V(0.5*B)
Thus,
the standard deviation is
=SQRT(715435.04) = $845.83
Variance Calculations
The expected variance of the
sum of random variables is the
sum of the expected variances
of its parts . . .
For S= aX + bY + c
V(S) = V(aX + bY + c)
=V(aX) + V(bY) + V(c)
=a2*V(X) + b2*V(Y) + 0
V(c) = 0
(. . . plus the expected covariances of its
variable pairs.)
More Big News
The covariance between pork and beef sales
is 1,160,000. Calculate the expected
standard deviation of profits that includes this
information.
Must include the variation from between the
variables: 2*a*b*pb = 2*(0.4)*(0.5)*(1160000)
= 64,000
715435.04 + (64,000) = 651435.04
Thus, the standard deviation is
=SQRT(651435.04) = $807.12
Dependent
Expected Standard Deviation
Expected Values of
Sums of 2 Random Variables
E(aX+bY)=aE(X) + bE(Y) = ax +
by
V(aX+bY)=a2V(X) + b2V(Y) +
2abCOV(X,Y)
= a22x + b22y +2abxy
Statistics
Covariance Term:
Questions
r
= 0.50
Yes
If r = 0.50