MHB CDF, and setting the integral for this

  • Thread starter Thread starter nacho-man
  • Start date Start date
  • Tags Tags
    Cdf Integral
Click For Summary
The discussion revolves around solving a double integral related to a probability density function (p.d.f.) defined as f(x,y) = c x e^(-x) for x > 0 and |y| < x. Participants express confusion about setting the correct bounds for the integral, considering whether to integrate with respect to x or y first. After several attempts, the correct bounds for part A were determined to be -x < y < x and 0 < x < infinity, leading to c = 1/4. The conditional distributions were also derived, with the expectation E[Y|X=x] calculated to be 0, confirming the initial doubts about the results.
nacho-man
Messages
166
Reaction score
0
Please refer to the attached image.

I can't quite get the bounds for question a) right. it's so confusing. Would it be wise to split the double integral into two parts? I guess that's usually favourable with when dealing with absolute values. But the bounds are still confusing me.

would it be easier to integrate with respect to x first, or w.r.t y?For x, it would just be 0 to infinity.

for y it would be -infinity to x ? whilst splitting the integral with respect to x? is this correct.
Actually i'll have a crack at it now. some as i make these question threads i tend to find a solution/or at least get closer to it.

Still, help/correction is very much appreciated.
Thanks!

edit: first attempt i did was
$c \int \int xe^{-x}dxdy = 1$ from $0 \ to \ \infty$ and $-\infty \ to \ x$. this was wrong, as it left me with a variable in my answer, so i will try again but int w.r.t y first.

edit 2: This also did not workedit 3: SOLVED PART A)
i used the bounds -x<y<x and 0<x<infinity
and obtained c= 1/2

edit 4: SOLVED PART B)
I got fy|x(x,y) = $\frac{1}{4x^{3}}$
and fx|y(x,y) = $xe^{-x}$

edit 5: I'm having trouble with part d

E[Y|X=e] = $\int y f_{x|y}(y|x)dy$
 

Attachments

  • CDF.jpg
    CDF.jpg
    14.7 KB · Views: 87
Last edited:
Physics news on Phys.org
nacho said:
Please refer to the attached image.

I can't quite get the bounds for question a) right. it's so confusing. Would it be wise to split the double integral into two parts? I guess that's usually favourable with when dealing with absolute values. But the bounds are still confusing me.

would it be easier to integrate with respect to x first, or w.r.t y?For x, it would just be 0 to infinity.

for y it would be -infinity to x ? whilst splitting the integral with respect to x? is this correct.
Actually i'll have a crack at it now. some as i make these question threads i tend to find a solution/or at least get closer to it.

Still, help/correction is very much appreciated.
Thanks!

edit: first attempt i did was
$c \int \int xe^{-x}dxdy = 1$ from $0 \ to \ \infty$ and $-\infty \ to \ x$. this was wrong, as it left me with a variable in my answer, so i will try again but int w.r.t y first.

edit 2: This also did not workedit 3: SOLVED PART A)
i used the bounds -x<y<x and 0<x<infinity
and obtained c= 1/2

edit 4: SOLVED PART B)
I got fy|x(x,y) = $\frac{1}{4x^{3}}$
and fx|y(x,y) = $xe^{-x}$

What is not full clear is that the p.d.f. is defined as...

$\displaystyle f(x,y)= c\ x\ e^{- x}\ (1)$

... for $\displaystyle x>0,\ |y|< x$ and is 0 in the rest of the x,y plane. In that case the condition for c is...

$\displaystyle c\ \int_{0}^{\infty} \int_{-x}^{+ x} x\ e^{-x}\ d x\ d y = c\ \int_{0}^{\infty} 2\ x^{2}\ e^{- x }\ dx = 4\ c = 1 \implies c= \frac{1}{4}\ (1)$

The remaining part can be attacked with the procedure we already saw...

Kind regards

$\chi$ $\sigma$
 
chisigma said:
What is not full clear is that the p.d.f. is defined as...

$\displaystyle f(x,y)= c\ x\ e^{- x}\ (1)$

... for $\displaystyle x>0,\ |y|< x$ and is 0 in the rest of the x,y plane. In that case the condition for c is...

$\displaystyle c\ \int_{0}^{\infty} \int_{-x}^{+ x} x\ e^{-x}\ d x\ d y = c\ \int_{0}^{\infty} 2\ x^{2}\ e^{- x }\ dx = 4\ c = 1 \implies c= \frac{1}{4}\ (1)$

The remaining part can be attacked with the procedure we already saw...

Kind regards

$\chi$ $\sigma$

thanks, i had just forgotten to multiply by 2 during a step, leading to me getting 1/2.

can you assist witg part d?i keep getting 0, which i think is wrong
 
nacho said:
thanks, i had just forgotten to multiply by 2 during a step, leading to me getting 1/2.

can you assist witg part d?i keep getting 0, which i think is wrong

Answering to point d) is performed in three steps...

...first we conpute the marginal distribution of X...

$\displaystyle f_{x} (x) = \frac{1}{4}\ \int_{- x}^{+ x} x\ e^{- x}\ dx = \frac{x^{2}}{2}\ e^{-x}\ (1)$

... second the conditional distribution function of Y...

$\displaystyle f_{y} (y | X=x) = \frac{f(x,y)}{f_{x} (x)} = \frac{1} {2\ x}\ (2)$

... and third...

$\displaystyle E \{Y | X=x \} = \int_{- x}^{ + x} \frac{y}{2\ x}\ d y =0\ (3)$

Kind regards

$\chi$ $\sigma$
 
chisigma said:
Answering to point d) is performed in three steps...

...first we conpute the marginal distribution of X...

$\displaystyle f_{x} (x) = \frac{1}{4}\ \int_{- x}^{+ x} x\ e^{- x}\ dx = \frac{x^{2}}{2}\ e^{-x}\ (1)$

... second the conditional distribution function of Y...

$\displaystyle f_{y} (y | X=x) = \frac{f(x,y)}{f_{x} (x)} = \frac{1} {2\ x}\ (2)$

... and third...

$\displaystyle E \{Y | X=x \} = \int_{- x}^{ + x} \frac{y}{2\ x}\ d y =0\ (3)$

Kind regards

$\chi$ $\sigma$

ah, i was right then, gues i should be more confident
 
Hello, I'm joining this forum to ask two questions which have nagged me for some time. They both are presumed obvious, yet don't make sense to me. Nobody will explain their positions, which is...uh...aka science. I also have a thread for the other question. But this one involves probability, known as the Monty Hall Problem. Please see any number of YouTube videos on this for an explanation, I'll leave it to them to explain it. I question the predicate of all those who answer this...
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...
I'm taking a look at intuitionistic propositional logic (IPL). Basically it exclude Double Negation Elimination (DNE) from the set of axiom schemas replacing it with Ex falso quodlibet: ⊥ → p for any proposition p (including both atomic and composite propositions). In IPL, for instance, the Law of Excluded Middle (LEM) p ∨ ¬p is no longer a theorem. My question: aside from the logic formal perspective, is IPL supposed to model/address some specific "kind of world" ? Thanks.