Question

In: Statistics and Probability

Consider: 30 emails are sent, 6 each to 5 users. 10 of the 30 emails are...

Consider: 30 emails are sent, 6 each to 5 users. 10 of the 30 emails are spam. All possible outcomes are equally likely.
E = user #1 receives 3 spam emails
F = user #2 receives 6 spam emails
G = user #3 receives 5 spam emails
H = user #4 receives 1 spam emails
I = user #5 receives at least 2 spam emails
Q2. What is P(G | F)?
Q3. What is P(H | F)? Compare P(H | F) vs. P(E | F) and P(H | F) vs. P(H) and explain which is larger for each case.
Q4. What is P(F | H)? Compare P(H | F) vs. P(F | H) and explain which is larger.
Q5. What is P(I | E)?
Q6. What is P(I | F)?

Solutions

Expert Solution

Solution-

We have given the following information-

30 emails are sent, 6 each to 5 users. 10 of the 30 emails are spam with all possible outcomes are equally likely and

E = user #1 receives 3 spam emails
F = user #2 receives 6 spam emails
G = user #3 receives 5 spam emails
H = user #4 receives 1 spam emails
I = user #5 receives at least 2 spam emails.

We know the Conditional Probability of happening of event A if it is given that B has happen is

P(A/B)= P(Event A and event B both occurs)÷P(B)

We also know the number of possibilities of getting n mails out of m is n is the combination of n out of m

=C(m,n).

Now,

(2)

P(G | F)

=P(G and F happen)÷P(F)

=[P(user#2, #3 receives 6,5 spam mails respectively, user#3 receives 1 mail out of remaining mails 19 and other receives 6 mails out of remaining mails respectively)] ÷ [P(user #2 received 6 spam mails and other receives 6 mails out if remaining mails respectively)]

=[C(10,6)×C(4,5)×C(19,1)×C(18,6)×C(12,6)×(6,6)]÷

[(10,6)×C(24,6) ×C(18,6)×C(12,6)×P(6,6)]

=[C(4,5)×C(19,1)] ÷ [C(24,6)]

=[0×C(19,1)] ÷ [C(24,6)]

=0

[Since user #2 receives 6 spam mails then then 10-6 =4 spam mails are left.So, to receive 5 mails by user #3 is not possible.So here C(4,5)=0]

Hence, P(G/F)=0

(3)

P(H | F)

=[P( user#2,#4 receives 6, 1 spam mails out of 10 respectively , user #4 receives 5 non spam mails out of remaining 20 non spam mails and other users receives 6 mails out remaining respectively) ] ÷ [P(user #2 receives 6 spam mails out of 10 and other users receives 6 mails out of remaining respectively)]

=[C(10,6)×C(4,1)×C(20,5)×C(18,6)×C(12,6)×C(6,6)]÷

[C(10,6)×C(24,6)×C(18,6)×C(12,6)×C(6,6)]

=[C(4,1)×C(20,5)]÷ [C(24,6)]

=(4×1550) ÷ (134596)

=0.460757

Hence, P(H/F)=0.460757

Now,

P(E | F)

=[P( user#2,#1 receives 6, 3 spam mails out of 10 respectively , user #1 receives 3 non spam mails out of remaining 20 non spam mails and other users receives 6 mails out remaining respectively) ] ÷ [P(user #2 receives 6 spam mails out of 10 and other users receives 6 mails out of remaining respectively)]

=[C(10,6)×C(4,3)×C(20,3)×C(18,6)×C(12,6)×C(6,6)]÷

[C(10,6)×C(24,6)×C(18,6)×C(12,6)×C(6,6)]

=[C(4,3)×C(20,3)] ÷ [C(24,6)]

=(4×1140)÷(134596)

=0.033879

Hence, P(E/F)=0.033879

Hence, P(H/F) is larger than P(E/F).

Now,

P(H)

=P(User #4 receives 1 spam mail out of 10 and 5 non spam mails out of 20)

=[C(10,1)×C(20,5) ] ÷ [C(30,6)]

=(10×15504)÷(593775)

=0.26119

Hence, P(H)=0.26119

Here, also P(H/F)is larger than P(H).

Similarly

(4)

P(F | H)

=[P( user#4,#2 receives 1, 6 spam mails out of 10 respectively , user #4 receives 5 non spam mails out of remaining 20 non spam mails and other users receives 6 mails out remaining respectively) ] ÷ [P(user #4 receives 1 spam mails out of 10 , user #4 receives 5 non spam mails out of 20 and other users receives 6 mails out of remaining respectively)]

=[C(10,1)×C(9,6)×C(20,5)×C(18,6)×C(12,6)×C(6,6)]÷

[C(10,1)×C(20,5)×C(24,6)×C(18,6)×C(12,6)×C(6,6)]

=C(9,6)÷C(24,6)

=84÷134596

=0.000624

Hence, P(F/H)=0.000624

Hence, P(H | F) is larger than P(F | H).


(5)

P(I | E)

=[P( user#1,#5 receives 3, 1 spam mails out of 10 respectively , user #1 receives 3 non spam mails out of remaining 20 non spam mails thtn user #5 receive 5 non spam mails out of remaining 17 and other users receives 6 mails out remaining respectively) ] ÷ [P(user #1 receives 3 spam mails out of 10 and 3 no n spam mails out of 20 other users receives 6 mails out of remaining respectively)]

=1-[C(10,3)×C(7,1)×C(20,3)×C(17,1)×C(18,6)×C(12,6)×C(6,6)]÷ [C(10,3)×C(17,1)×C(24,6)×C(18,6)×C(12,6)×C(6,6)]

= 1 -[C(7,1)×C(20,3)]÷[C(24,6)]

= 1 - (7×1140÷134596)

=1- 0.059289

=0.940711

Hence, P(I/E)=0.940711


(6)

P(I | F)

=1- [P( user#2,#5 receives 6, 1 spam mails out of 10 respectively , user #5 receives 5 non spam mails out of remaining 20 non spam mails and other users receives 6 mails out remaining respectively) ] ÷ [P(user #2 receives 6 spam mails out of 10 and other users receives 6 mails out of remaining respectively)]

=[C(10,6)×C(4,1)×C(20,5)×C(18,6)×C(12,6)×C(6,6)]÷ [C(10,6)×C(24,6)×C(18,6)×C(12,6)×C(6,6)]

= 1- P(H/F)

=1 - 0.460757

=0.539243

Hence, P(I/F)=0.539243


Related Solutions

Consider: 30 emails are sent, 6 each to 5 users. 10 of the 30 emails are...
Consider: 30 emails are sent, 6 each to 5 users. 10 of the 30 emails are spam. All possible outcomes are equally likely. E = user #1 receives 3 spam emails F = user #2 receives 6 spam emails G = user #3 receives 5 spam emails H = user #4 receives 1 spam emails I = user #5 receives at least 2 spam emails Q5. What is P(I | E)? Q6. What is P(I | F)?
Beg Inventory 50 units at $5 each Purchase 10 units at $6 each Sale 30 units...
Beg Inventory 50 units at $5 each Purchase 10 units at $6 each Sale 30 units at $15 each Purchase 10 units at $7 each Sale 25 unites at $15 each a .)Find Cost of Goods Sold and Ending Inventory using the FIFO method B.)Find Cost of Goods Sold and Ending Inventory using the LIFO - Perpetual
Every semester after course grades are sent out, professors are swamped with emails from students asking...
Every semester after course grades are sent out, professors are swamped with emails from students asking why they got the grades they did (always below expectations). The answer usually is that they messed up on the final exam. Use your knowledge of opportunity cost to provide to these professors advice or suggestions on how to reduce these solicitations in the future? Hint: Hint: simply ignoring student emails is not an option.
Consider a country with a population of 10: 5 blue people and 5 green people. Each...
Consider a country with a population of 10: 5 blue people and 5 green people. Each green person has an income of $1 per year. Each blue person has an income of $3 per year. (a) Draw the Lorenz curve for this country. (b) On your diagram for part (a), indicate clearly what area you would divide by what other area to calculate the Gini coefficient. (c) Calculate the Gini coefficient. [Hint: the easiest way to do this is to...
6-Assume that you are 10 years into a 30 year home loan at 5%. You owe...
6-Assume that you are 10 years into a 30 year home loan at 5%. You owe $200,000 left on your home at this time. You can refinance your loan at 4% for 20 years; however the TOTAL closing costs will be around $3,000. If you go for refinancing, how many more months would you need to live in the home in order to get the closing cost back? Ignore time value of money and tax credits of the interest payments...
Given that the set X = 1, 2, 3, 5, 6, 10, 15, 30) and Poset...
Given that the set X = 1, 2, 3, 5, 6, 10, 15, 30) and Poset (X, ≼). The relation ≼ is defined as follows: (x, y X) x ≼ y ↔ x factor of y Question i). Draw a Hasse diagram of the Poset. ii). Specify maximum, Maximum, Minimum, Minimum (if any) elements iii). Is the relation "≼" a Lattice? Explain !
Consider the following data: X Y 1 13 3 10 5 9 5 5 6 3...
Consider the following data: X Y 1 13 3 10 5 9 5 5 6 3 Draw a Scatter Plot of the data. Do you believe the correlation coefficient r will be positive, negative or close to zero? Why What is your estimate to the value of Y associated with X=4?
Consider the following reaction. 5 H2C2O4 + 2 MnO4− + 6 H + → 10 CO2...
Consider the following reaction. 5 H2C2O4 + 2 MnO4− + 6 H + → 10 CO2 + 2 Mn2+ + 8 H2O Oxalic acid How many milliliters of 0.1210 M KMnO4 are needed to react with 137.0 mL of 0.1210 M oxalic acid? ___ mL How many milliliters of 0.1210 M oxalic acid are required to react with 137.0 mL of 0.1210 M KMnO4? ___ mL
Question 2 (30 marks) Identify and discuss 6 potential users who are compulsory to participate in...
Question 2 Identify and discuss 6 potential users who are compulsory to participate in the development of an Accounting Information Systems. In your discussion, you must include their relevance, importance and contribution to the project.
PV i N FV $400.00 5% 5 $17411.00 6% 30 $35,000.00 10% 20 $26981.75 16% 15
PV i N FV $400.00 5% 5 $17411.00 6% 30 $35,000.00 10% 20 $26981.75 16% 15
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT