83.9k views
5 votes
The following is the probability mass function for the number of times a certain computer program will malfunction: x 0 1 2 3 4 5 p(x) 0.05 0.3 0.34 0.18 0.08 0.05 (a) What is the probability that the computer program will malfunction more than 3 times? 0.31 (b) Compute E(X), E(X2), and V(X). E(X) = E(X2) = V(X) = (c) Suppose Y, the time in minutes to fix malfunctions, relates to the number of times the program malfunctions, by the function: Y = 8*X . What is the expected time in minutes needed to fix malfunctions in the program? Minutes (d) What is the variance of the time in minutes to fix the malfunctions? Minutes^2

1 Answer

0 votes

Answer:

a)
P(X>3) = P(X=4) +P(X=5) = 0.08+0.05 = 0.13

b)
E(X) = 0*0.05 +1*0.3 +2*0.34 +3*0.18 +4*0.08 +5*0.05= 2.09

Now in order to calculate the variance we need to calculate the second moment given by:


E(X^2) =\sum_(i=1)^n X^2_i P(X_i)


E(X^2)=0^2*0.05 +1^2*0.3 +2^2*0.34 +3^2*0.18 +4^2*0.08 +5^2*0.05= 5.81

And the variance would be given by:


Var(X) = E(X^2) -[E(X)]^2 = 5.81 -(2.09)^2 =1.4419

c)
E(Y)= E(8X) = 8E(X) =8*2.09= 16.72

d)
Var(Y) = Var(8X) = 64 Var(X)= 64* 1.4419= 92.2816

Explanation:

Previous concepts

In statistics and probability analysis, the expected value "is calculated by multiplying each of the possible outcomes by the likelihood each outcome will occur and then summing all of those values".

The variance of a random variable Var(X) is the expected value of the squared deviation from the mean of X, E(X).

And the standard deviation of a random variable X is just the square root of the variance.

Solution to the problem

For this case we define the random variable X as "number of times a certain computer program will malfunction" and we have the following distribution function for X

X 0 1 2 3 4 5

P(X) 0.05 0.3 0.34 0.18 0.08 0.05

Part a

For this case we want this probability:


P(X>3) = P(X=4) +P(X=5) = 0.08+0.05 = 0.13

Part b

We can calculate the expected value with this formula:


E(X) = \sum_(i=1)^n X_i P(X_i)

And replacing we got:


E(X) = 0*0.05 +1*0.3 +2*0.34 +3*0.18 +4*0.08 +5*0.05= 2.09

Now in order to calculate the variance we need to calculate the second moment given by:


E(X^2) =\sum_(i=1)^n X^2_i P(X_i)


E(X^2)=0^2*0.05 +1^2*0.3 +2^2*0.34 +3^2*0.18 +4^2*0.08 +5^2*0.05= 5.81

And the variance would be given by:


Var(X) = E(X^2) -[E(X)]^2 = 5.81 -(2.09)^2 =1.4419

Part c

For this case we define this new random variable Y = 8X

The expected value is given by:


E(Y)= E(8X) = 8E(X) =8*2.09= 16.72

Part d

The variance would be given by:


Var(Y) = Var(8X) = 64 Var(X)= 64* 1.4419= 92.2816

User Patrick Geyer
by
4.2k points