Week 05
Part 3:
Making New
Variables by Adding
Old Variables
Univariate Random Variables
Those we measure or count from raw
data
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