Comparing events in two probability distributions

In summary, the conversation revolves around two samples described by an observable x that can take on values from 0 to infinity. Each sample has its own normalized probability distribution, f(x) for sample 1 and g(x) for sample 2. The question is how to express the probability that the observed value of x from sample 1 exceeds the observed value of x from sample 2. The suggested solution involves a two-dimensional integral, with one integration variable being larger than the other. The conversation also touches upon finding the general solution and the use of textbooks for answers.
  • #1
Corribus
10
4
Hi everyone,

Suppose I have two samples that can be described by an observable. Call it x. x can take on any value from 0 to infinity.

The distribution of values of x for sample 1 can be described by the normalized probability distribution f(x). The distribution of values of x for sample 2 can be described by the normalized probability distribution g(x).

If I make single independent measurements of x for both samples, how can I express the probability that the observed value of x from sample 1 exceeds the observed value of x from sample 2?

Nothing I've come up with gives me an answer that makes sense. My internal check is that if f(x) and g(x) are identical, then the probability should (I would think) approach 0.5.
 
Physics news on Phys.org
  • #2
You need a two-dimensional integral for that - integrate over both functions with the right borders and you get the right result.
 
  • #3
Right, I figured that. But what are the bounds? A friend of mine helped me come up with one possibility, but it's not giving me answers that make sense when I put my actual functions in and perform the integration.
 
  • #4
Right, I figured that. But what are the bounds?
Let one integration variable be larger than the other.
 
  • #5
With respect, this is not very helpful. I need a general solution.
 
  • #6
And I gave you hints how to get the general solution.
It is not complicated and I think you can learn something if you try to find the integral limits on your own, but if you just want the solution: you can find it in textbooks and probably on several websites, too.

A sketch with the distributions in a 2D-plane might help.
 
  • #7
Hi mfb,
I appreciate the attempt at Socratic instruction, but I did not post this in the homework section on purpose. I'm a professional PhD chemist trying to solve a problem in an expedient fashion. Vague hints are not what I'm after, nor am I looking for a remedial course in calculus. I mistook this for a place where science professionals could seek help from mathematics experts, but I see it is more geared toward students. So I will find other sources for answers to my question.
Thanks for your time anyway.
 
  • #8
I just don't consider myself as a replacement for textbooks. This subforum you chose is for discussions about mathematics, but your question is clearly homework-like, even if it is not actual homework. In addition, you could look up the answer yourself.
It is as elementary as finding the probability that a variable is positive - where this variable is the difference between your two measurements.

$$\int_{-\infty}^\infty \int_y^\infty f(x) g(y) dx dy$$ gives the probability that y is larger than x.
 

1. What is the purpose of comparing events in two probability distributions?

Comparing events in two probability distributions allows us to identify patterns and differences between the two distributions. This can help us understand the relationship between the two and make informed decisions about the data.

2. How do you determine which distribution has a higher probability of a certain event occurring?

To determine which distribution has a higher probability of a certain event occurring, we can compare the probabilities of the event in each distribution. The distribution with the higher probability indicates a higher likelihood of the event occurring.

3. Can you compare events in two probability distributions if the sample sizes are different?

Yes, it is possible to compare events in two probability distributions even if the sample sizes are different. However, it is important to keep in mind that the larger the sample size, the more accurate the comparison will be.

4. How do outliers affect the comparison between two probability distributions?

Outliers can significantly affect the comparison between two probability distributions. It is important to identify and remove outliers before comparing the distributions, as they can skew the results and make it difficult to accurately compare the two.

5. Are there any limitations to comparing events in two probability distributions?

Yes, there are some limitations to comparing events in two probability distributions. One limitation is that it can only be used to compare numerical data, and it may not be applicable to categorical data. Additionally, the results may be affected by the method used to compare the distributions, so it is important to choose a reliable and appropriate method for the data being analyzed.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
477
  • Set Theory, Logic, Probability, Statistics
Replies
30
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
925
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
436
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
13
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
464
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
Back
Top