Independent versus dependent pdf

In summary, the question is why the random variables X and Y are dependent if the joint density is 24xy for 0<x<1, 0<y<1, and 0<x+y<1, as shown in example 2f in the attachment. This can be explained by showing that the definition for independence, f(x,y)=g(x)h(y), does not hold. The same problem exists for 24xy and 0<x<1, 0<x+y<1. Therefore, X and Y are dependent in these scenarios.
  • #1
fisher garry
63
1
upload_2017-12-5_12-30-19.png
upload_2017-12-5_12-31-26.png
upload_2017-12-5_12-31-48.png


In the green box in the attachment I have calculated the integral of the pdf of 24xy in the same manner as in the theory that leads up to 3.1 in the attachment. But I can't see any difference in that calculation that would explain that if 24xy is dependent why is not also the theory that leads up to 3.1 dependent. In the green box I would believe that ##\frac{1}{2}(1-y)^2## is ##F_X(a-y)## for a=1. I don't see any distinctions. Why is 24xy dependent while the theory up until 3.1 is independent?

The theory is taken from Ross, A first course in probability.
 

Attachments

  • upload_2017-12-5_12-30-19.png
    upload_2017-12-5_12-30-19.png
    41.6 KB · Views: 1,140
  • upload_2017-12-5_12-31-26.png
    upload_2017-12-5_12-31-26.png
    34.1 KB · Views: 925
  • upload_2017-12-5_12-31-48.png
    upload_2017-12-5_12-31-48.png
    10.6 KB · Views: 865
Physics news on Phys.org
  • #2
Your question isn't clear because the terms "dependent" and "independent" are properties of sets of random variables, not distributions. It doesn't make sense to talk a single probability distribution being "independent". If you are asking about a exercise from the book, you should post your question in the homework section and give a complete statement of the problem.

If we are given a joint density f(x,y) for two random variables (x,y) , we can ask whether it is possible to express that distribution as a product in the form f(x,y) = g(x) h(y). If this can be done then the random variables x and y are shown to be independent. Is that what you are asking about?

The theory leading to equation 3.1 explains how to calculate the distribution of the (single) random variable z = x + y when x and y are given to be independent. It does not explain how to use eq. 3.1 to prove the random variables x and y are independent.
 
  • Like
Likes fisher garry
  • #3
Stephen Tashi said:
If we are given a joint density f(x,y) for two random variables (x,y) , we can ask whether it is possible to express that distribution as a product in the form f(x,y) = g(x) h(y). If this can be done then the random variables x and y are shown to be independent. Is that what you are asking about? Why can't one just write g(x)=24x and h(y)=y?

I am not sure if this belongs in the homework group but how come 24xy can not be independent and described as f(x,y)=g(x)h(y)? Can someone directly show this mathematically?
 
  • #4
fisher garry said:
but how come 24xy can not be independent and described as f(x,y)=g(x)h(y)?

To repeat, you aren't using the proper terminology. It would make sense to ask "Are x and y independent random variables". It would make sense to ask "Are z = x+y and x independent random variables?" It doesn't make sense to ask "Is 24xy independent?"

Which two random variables do you wish to show dependent or independent?
 
  • #5
Stephen Tashi said:
To repeat, you aren't using the proper terminology. It would make sense to ask "Are x and y independent random variables". It would make sense to ask "Are z = x+y and x independent random variables?" It doesn't make sense to ask "Is 24xy independent?"

Which two random variables do you wish to show dependent or independent?
What I should ask is: Are x and y independent not 24xy? Can you then show why x and y are dependent directly mathematically if that is the correct formulation?
 
  • #6
Stephen Tashi said:
To repeat, you aren't using the proper terminology. It would make sense to ask "Are x and y independent random variables". It would make sense to ask "Are z = x+y and x independent random variables?" It doesn't make sense to ask "Is 24xy independent?"

Which two random variables do you wish to show dependent or independent?
Is the question are x and y independent in 24xy. Can you show that mathematically? And explain why 24xy for 0<x+y<1 and 0<x<1 are dependent or independent?
 
  • #7
fisher garry said:
What I should ask is: Are x and y independent not 24xy? Can you then show why x and y are dependent directly mathematically if that is the correct formulation?

You haven't explained what is given about x and y. If you are asking about an exercise in Ross's book, simply quote the exercise. Trying to translate the exercise into your own words isn't working.

If you are asking about a question you have formulated yourself, give a complete statement of the question.

To repeat, it doesn't make sense of ask if a single random variable is independent. It only makes sense to ask of one random variable is independent of another random variable.

Furthermore, a "random variable" and a "distribution" are two different things. The notation "24xy" might denote the joint distribution for two random variables x,y or it might denote a single random variable defined by z = 24xy. It isn't clear which interpretation of "24xy" you want to use.
 
  • #8
Stephen Tashi said:
You haven't explained what is given about x and y. If you are asking about an exercise in Ross's book, simply quote the exercise. Trying to translate the exercise into your own words isn't working.

If you are asking about a question you have formulated yourself, give a complete statement of the question.

To repeat, it doesn't make sense of ask if a single random variable is independent. It only makes sense to ask of one random variable is independent of another random variable.

Furthermore, a "random variable" and a "distribution" are two different things. The notation "24xy" might denote the joint distribution for two random variables x,y or it might denote a single random variable defined by z = 24xy. It isn't clear which interpretation of "24xy" you want to use.
Again maybe I should have posted in homework area. But my worry could be formulated as follows in example 2f in the attachment why are the random variables X and Y dependent if the joint density is 24xy and 0<x<1 0<y<1 0<x+y<1. And explain this by showing that the defintion for independence f(x,y)=g(x)h(y) does not hold. And the same problem for 24xy and 0<x<1 0<x+y<1. Are then the variables X and Y independent. And show this by using the definition of independence f(x,y)=g(x)h(y)
 
  • #10
For f(x,y) to be the joint density of two independent random variables, we need to have p = f(x,y) = g(x)h(y) for all values of p,x,y. Constraints such as 0 < x+y< 1 can prevent this from happening. If the given information is "(x,y) has joint distribution g(x)h(y) subject to the following constraints..." , this is different that being given that (x,y) has joint distribution g(x)h(y) without any restrictions.

If f(x,y) = g(x)h(y) for all values of p,x,y then g(x) must be the marginal distribution of x and h(y) must be the marginal distribution of y. One approach to the problem is to compute the marginal distributions To show x and y are not independent, find one value of p = f(x,y) that is not equal to g(x)h(y).
 
  • #11
For example, if f(x,y) = 24xy = h(x)g(y) subject to the given constraints then ## g(y) = \int_0^{1-y} {24xy} \ dx##. But in your work (which has a typo of omitting a factor of 24 on the left hand side of the second line) you show that ##g(y)## is ##12(1-y)^2 y ##. So the joint distribution f(x,y) = 24xy does not contain the marginal density g(y) as a factor.

A better way to state the result that Ross proves is:

The random variables ##X## and ##Y## are independent if and only if their joint probability density function ##f_{X,Y}(x,y) ## can be expressed as ##f_{X,Y} = h(x)g(y)## where ##h(x)## is the marginal density of ##X## and ##g(y)## is the marginal density of ##Y##.

Ross didn't take the trouble to say that ##h## and ##g## must be the marginal probability densities. Apparently we are to assume that since he didn't state any constraints relating ##X## and ##Y## that no such constraints exist.

For example, suppose the joint distribution of ##X## and ##Y## is ##f(x,y) = 4xy## for ##0 < x < 1##, ##0 < y < 1## and with no other constraints relating ##x## and ##y##. Then the marginal density of ##Y## is ##g(y) = \int_0^1 {4xy} \ dx = 2y##, which is a factor of ##4xy##.
 
Last edited:
  • Like
Likes fisher garry

1. What is the difference between independent and dependent variables in a PDF?

The independent variable in a PDF (probability density function) is the variable that is being manipulated or controlled in an experiment or study. The dependent variable is the variable that is being measured to see how it is affected by changes in the independent variable.

2. How do you determine if a PDF has independent or dependent variables?

A PDF can have both independent and dependent variables. The independent variable is usually denoted by 'x' and is plotted on the x-axis, while the dependent variable is denoted by 'y' and is plotted on the y-axis. The relationship between the two variables can be determined by analyzing the shape of the PDF curve.

3. Can a PDF have more than one independent or dependent variable?

Yes, a PDF can have multiple independent and dependent variables. In some cases, a PDF may have multiple independent variables, such as in a multivariate analysis. Similarly, a PDF may have multiple dependent variables, such as in a regression analysis.

4. How does the independence of variables affect the shape of a PDF?

The independence of variables does not affect the shape of a PDF. The shape of a PDF is primarily determined by the underlying probability distribution it represents, such as a normal distribution, exponential distribution, or uniform distribution.

5. Why is it important to understand the difference between independent and dependent variables in a PDF?

Understanding the difference between independent and dependent variables in a PDF is important because it allows us to accurately interpret the results of an experiment or study. By understanding which variable is being manipulated and which is being measured, we can better understand the relationship between the two and draw meaningful conclusions from the data.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
823
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
845
  • Set Theory, Logic, Probability, Statistics
2
Replies
64
Views
3K
  • Precalculus Mathematics Homework Help
Replies
7
Views
399
  • Mechanics
Replies
9
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
Back
Top