Question: How do I calculate conditional probability in this scenario?

Click For Summary

Discussion Overview

The discussion revolves around calculating conditional probabilities in various scenarios involving UDP packets and their sizes. Participants explore multiple questions related to probability definitions, Bayes' Theorem, and specific calculations involving given data points.

Discussion Character

  • Mathematical reasoning
  • Homework-related
  • Technical explanation

Main Points Raised

  • One participant poses several questions about conditional probabilities, including the probability of event U given event N, and the probability of U or S occurring in a sample space.
  • Another participant attempts to clarify the first question using Bayes' Theorem, suggesting that the probability can be expressed as \( P(U|N) = \frac{P(U \cap N)}{P(N)} \).
  • Responses include proposed values for conditional probabilities, such as \( P(n|u) = 0.8 \) and \( P(n|t) = 0.1 \), but these are not universally accepted as correct.
  • Participants express uncertainty about specific calculations, such as the values of \( P(U) \) and \( P(N) \), and whether their answers to the questions are accurate.
  • There is mention of using the Law of Total Probability to expand \( P(S) \) in relation to \( P(U|S) \), indicating a deeper exploration of the topic.

Areas of Agreement / Disagreement

Participants express differing views on the correctness of their calculations and interpretations of conditional probabilities. There is no consensus on the final answers or the accuracy of the proposed values.

Contextual Notes

Participants acknowledge the complexity of the calculations and the potential for different interpretations of the probabilities involved, particularly regarding approximations and definitions used in their calculations.

Leanna
Messages
8
Reaction score
0
View attachment 6274
i am trying to push myself and learn these furTher exercises in my maths i would any appreciate any comments and help.

Question 1 what is probability u happens if n happens... P(U INTERSECTION N) / P(U)?

Question 2 probability of U or S happening in the sample space of UDP or 52 byte size packet? Let me think hmmm
450,000: UDP, 20% UDP 450,000 times 0.2 answr correct?? :)

Question 3 pick at random packet and packet of size 52. 1million packet so (0.2*450,000)+(0.9*500,000) correct again? :)

Question 4 probabalility u happens given s happens and is type of UDP ok P(U intersection S) / P(U)?

Question 5 not of size 52 bytes and is UDP so probability of U given N oh ok.
P(U intersection N) / P(N) = (450,000 INTERSECTION (450,000 * 0.8)) / (450000*0.8+500,000 * 0.1)?
Sample size of anything is equal to 1.

Nevertheless i am not quite sure i am appreciating insight and help, thanks.
 

Attachments

  • edd157664709d4f62651ca7cd733220d.png
    edd157664709d4f62651ca7cd733220d.png
    32.8 KB · Views: 134
Physics news on Phys.org
Leanna said:
i am trying to push myself and learn these furTher exercises in my maths i would any appreciate any comments and help.

Question 1 what is probability u happens if n happens... P(U INTERSECTION N) / P(U)?

Question 2 probability of U or S happening in the sample space of UDP or 52 byte size packet? Let me think hmmm
450,000: UDP, 20% UDP 450,000 times 0.2 answr correct?? :)

Question 3 pick at random packet and packet of size 52. 1million packet so (0.2*450,000)+(0.9*500,000) correct again? :)

Question 4 probabalility u happens given s happens and is type of UDP ok P(U intersection S) / P(U)?

Question 5 not of size 52 bytes and is UDP so probability of U given N oh ok.
P(U intersection N) / P(N) = (450,000 INTERSECTION (450,000 * 0.8)) / (450000*0.8+500,000 * 0.1)?
Sample size of anything is equal to 1.

Nevertheless i am not quite sure i am appreciating insight and help, thanks.

Hi Leanna, (Wave)

Welcome to MHB!

Let me see if I can try to help some...

Question 1 what is probability u happens if n happens... P(U INTERSECTION N) / P(U)?

Here is what you correctly stated : $$P(U|N) = \frac{P(U \cap N)}{P(N)}$$.

This is a question on Bayes' Theorem. Usually we can rewrite the above in an equivalent way:

$$P(U|N) = \frac{P(U \cap N)}{P(N)} = \frac{P(N|U)\cdot P(U)}{P(N)}$$

Looking at this it makes sense that the first question written on the page is $P(N|U)$. Do you have any idea what this probability is? :)
 
Answer to first q
P(n|u) = 0.8 right?
P(n|t) = 0.1 right ? and

Second question answer is 0.05?
 
Leanna said:
Answer to first q
P(n|u) = 0.8 right?
P(n|t) = 0.1 right ? and

Yes these both sound correct to me.

To finish answering your first question, what is $P(U)$ and what is $P(N)$ (this one is trickier)?
 
Jameson said:
Yes these both sound correct to me.

To finish answering your first question, what is $P(U)$ and what is $P(N)$ (this one is trickier)?

I worked that out but is the last question 0.667 (3d.p), the reason I'm not sure about this last question is because the approximations at the bottom is different.

And is the second to last question I think: $P(U|S)$ = (90,000/1,000,000) / (540,000/1,000,000)
Only these two I'm not completely sure it's right, what do you think? 😁
 
Leanna said:
I worked that out but is the last question 0.667 (3d.p), the reason I'm not sure about this last question is because the approximations at the bottom is different.

And is the second to last question I think: $P(U|S)$ = (90,000/1,000,000) / (540,000/1,000,000)
Only these two I'm not completely sure it's right, what do you think? 😁

$$P(U|S) = \frac{P(S|U)\cdot P(U)}{P(S)}$$

The numerator has two components to multiply and $P(S)$ can be expanded into two cases using the Law of Total Probability. $P(S)=P(S|U)\cdot P(U)+P(S|T)\cdot P(T)$.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
2K