Combined probability distribution

Click For Summary

Homework Help Overview

The discussion revolves around a probability problem involving a square box with a smaller square cut out, focusing on the combined and projected probability distributions of corn seeds randomly placed within the box. The problem requires participants to derive the joint density function and marginal distributions based on given dimensions.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of the combined probability distribution, questioning the correct representation of the joint density function and its dependence on the variables x and y. There is also exploration of the marginal distributions and the correlation coefficient, with attempts to clarify definitions and correct notation.

Discussion Status

Some participants have provided guidance on the correct forms of the probability distributions and have pointed out errors in the original calculations. There is ongoing clarification regarding the conditional density and the integration limits for variance calculations. Multiple interpretations of the joint density function are being explored, and participants are encouraged to refine their expressions.

Contextual Notes

Participants note the need for careful attention to the domains of the variables in the probability distributions and the implications of the problem's setup on the calculations. There is a mention of potential constraints regarding the posting of additional problems within the same thread.

Uncle_John
Messages
15
Reaction score
0

Homework Statement


Let's have a box in shape of a square(viewed from the top) from the corner of which a smaller square was cut out.The side of a bigger square is 2a, side of the smaller square is a long.
We've got evenly distributed corn seeds all over the box,randomly selected seed is defined by coordinates x,y \in [0,2a]


Homework Equations


a.) Write down the combined probability distribution for w(x,y)
b.) Write down the projected probability distribution for u(x)(independent of y)
c.) calculate the correlation coefficient r_{x,y}

The Attempt at a Solution


a.) 1/3a^₂
b.) u(x)= 1/3a if x \in [0,a]
u(x) = 2/3a if x \in [a,2a]
c.) since r_{x,y} =\frac{\sigma_{x,y}}{\sigma_{x} \sigma_{y}}, i calculated each variance separately:
\sigma_{x} = \int xu(x)dx
\sigma_{y} = \int yu(y)dx
\sigma_{x,y} = \int\int (x - \overline{x})(y - \overline{y})w(x,y)dxdy

Is that right?
 
Physics news on Phys.org


Uncle_John said:

Homework Statement


Let's have a box in shape of a square(viewed from the top) from the corner of which a smaller square was cut out.The side of a bigger square is 2a, side of the smaller square is a long.
We've got evenly distributed corn seeds all over the box,randomly selected seed is defined by coordinates x,y \in [0,2a]

Homework Equations


a.) Write down the combined probability distribution for w(x,y)
b.) Write down the projected probability distribution for u(x)(independent of y)
[/b]
a.) 1/3a^2

What is in the denominator? You need parentheses.

I'm not sure what you mean by the "combined" probability distribution. If you mean the joint density function, you don't have it. It would be a function of x and y. This would be reflected in the domain when you write it carefully.

b.) u(x)= 1/3a if x \in [0,a]
u(x) = 2/3a if x \in [a,2a]

Yes, that is the marginal density of x (if you put correct parentheses in). And you get a symmetric formula for y.
 
Last edited:


Uncle_John said:

c.) since r_{x,y} =\frac{\sigma_{x,y}}{\sigma_{x} \sigma_{y}}, i calculated each variance separately:
\sigma_{x} = \int xu(x)dx
\sigma_{y} = \int yu(y)dx
\sigma_{x,y} = \int\int (x - \overline{x})(y - \overline{y})w(x,y)dxdy

Is that right?


No. Your formulas for σx and σy are wrong. And you will need to be careful what limits you use on the last one.
 


Yes, sorry, i meant joint probability distribution. So if i follow the formal definition:
w_{x,y}(x,y) = w_{y|x}(x,y)w_{x}(x)

Then:
w_{x|y}(x,y) = \begin{cases}<br /> 1/a, \text{if } x \in [0,a) \\<br /> 1/(2a), \text{if } x\in [a,2a]<br /> \end{cases}<br />

Also, w_{x} is known:

w_{x}(x) = \begin{cases}<br /> 1/(3a), \text{if} x \in [0,a) \\<br /> 2/(3a), \text{if} x \in [a,2a]<br /> \end{cases}<br />

Is that better?
 
Last edited:


Uncle_John said:
Yes, sorry, i meant joint probability distribution. So if i follow the formal definition:
w_{x,y}(x,y) = w_{y|x}(x,y)w_{x}(x)

Then:
w_{x|y}(x,y) = \begin{cases}<br /> 1/a, \text{if } x \in [0,a) \\<br /> 1/(2a), \text{if } x\in [a,2a]<br /> \end{cases}<br />

Is that better?

But you need to be more careful here. The conditional density of x|y depends on both x and y. It matters whether y is in (0,a) or (a,2a).
 
Last edited:


w_{x|y}(x,y) = \begin{cases}<br /> 0, \text{if} x \in [0,a) \text{and} y \in [0,a] \\<br /> 1/a, \text{if } x \in [0,a) \text{and} y \in [a,2a] \\<br /> 1/(2a), \text{if } x\in [a,2a]<br /> \end{cases}<br />

? Better. But how should i write the final answer? w_{x,y}
What is wrong with \sigma?
 


Uncle_John said:
w_{x|y}(x,y) = \begin{cases}<br /> 0, \text{if} x \in [0,a) \text{and} y \in [0,a] \\<br /> 1/a, \text{if } x \in [0,a) \text{and} y \in [a,2a] \\<br /> 1/(2a), \text{if } x\in [a,2a]<br /> \end{cases}<br />

? Better. But how should i write the final answer? w_{x,y}
What is wrong with \sigma?

Yes, that' s better for the conditional density. But perhaps I was a bit cryptic in my earlier comments about the joint density. Your formula of 1/(3a2) was correct but it gives the appearance of not depending on x or y. You need to indicate the proper (x,y) domain and you will have it without going this conditional density stuff.

The formulas you have written for the σ's look like formulas for the means instead of the standard deviations.
 


Ok, so it would look something like :

w_{x,y}(x,y) = \begin{cases}<br /> 0, \text{if } x \in [0,a] \text{and } y \in [0,a] \\<br /> 1/(3a^₂), \text{otherwise}<br /> \end{cases}<br />


\sigma_{x}^2 = \overline{x^2} - \overline{x}^₂

and for \sigma_{x,y} = \int \int (x - \overline{x})(y - \overline{y}) w_{x,y} dx dy

i integrate over [0,a]x [a,2a]first, and then over [a,2a]x [0,2a], is that allright?

Can i post other probability problems in here or should i open a new thread?
 


Uncle_John said:
Ok, so it would look something like :

w_{x,y}(x,y) = \begin{cases}<br /> 0, \text{if } x \in [0,a] \text{and } y \in [0,a] \\<br /> 1/(3a^₂), \text{otherwise}<br /> \end{cases}<br />

I know you understand it, but the "otherwise" above doesn't include x or y greater than 2a or less than 0

\sigma_{x}^2 = \overline{x^2} - \overline{x}^₂

and for \sigma_{x,y} = \int \int (x - \overline{x})(y - \overline{y}) w_{x,y} dx dy

i integrate over [0,a]x [a,2a]first, and then over [a,2a]x [0,2a], is that allright?

Yes, that is correct.

Can i post other probability problems in here or should i open a new thread?

You should start a new thread. Others are more likely to join a new thread and it's general forum policy anyway.
 

Similar threads

Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
4K