Independent continuous random variables problem












0












$begingroup$


I have some problem at how to determine if two random variables are independent or not. If X and Y are two continuous random variables and their join probability density function is listed below



$$
f(x,y) = left{begin{matrix}
frac{1}{2}x^{3}e^{-xy-x}, x > 0, y > 0\
0, otherwise
end{matrix}right.
$$



My Question is that intuitively that random variable X is independent of Y since X won't affect the value of Y, but I calculated $f_{X}(x)$ and $f_{Y}(y)$ and found that $f(x,y) neq f_{X}(x)f_{Y}(y)$



I want to why random variables X and Y are look independent and either value won't affect the value of the other random variable, but they are dependent actually?



Thank you!!!!!










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Why do you think that the value of $X$ will not affect the value of $Y$?
    $endgroup$
    – drhab
    Jan 7 at 9:35










  • $begingroup$
    @drhab Since the the value of X doesn't bother which value of Y, Y can be any value.
    $endgroup$
    – Haohao Chang
    Jan 7 at 10:08












  • $begingroup$
    @HaohaoChang $$f(x,y)=underbrace{xe^{-xy}mathbf1_{y>0}}_{f_{Ymid X}(y)},underbrace{frac{1}{2}x^2e^{-x}mathbf1_{x>0}}_{f_X(x)}$$ Clearly distribution of $Ymid X$ depends on $X$, so no question of independence.
    $endgroup$
    – StubbornAtom
    Jan 7 at 10:58










  • $begingroup$
    Actually you are not answering my question, but just repeat what you think. Anyway, if $X=Y$ (ultimate dependence) and $X$ can take any value then also $Y$ can take any value. So the ability of $Y$ to take any value does not exclude the possibility of dependence. If there is no PDF $f(x,y)$ that can be written as a product $g(x)h(y)$ then there is no independence.
    $endgroup$
    – drhab
    Jan 7 at 11:18












  • $begingroup$
    @drhab Thank you for your answer. But I still get confused why X and Y are dependent in this case, can you point it out more generally, thank you for your help. I agree with you about X and Y is not independent if the PDF $f(x,y)$ can't be written as a product $g(x)h(y)$.
    $endgroup$
    – Haohao Chang
    Jan 7 at 11:48
















0












$begingroup$


I have some problem at how to determine if two random variables are independent or not. If X and Y are two continuous random variables and their join probability density function is listed below



$$
f(x,y) = left{begin{matrix}
frac{1}{2}x^{3}e^{-xy-x}, x > 0, y > 0\
0, otherwise
end{matrix}right.
$$



My Question is that intuitively that random variable X is independent of Y since X won't affect the value of Y, but I calculated $f_{X}(x)$ and $f_{Y}(y)$ and found that $f(x,y) neq f_{X}(x)f_{Y}(y)$



I want to why random variables X and Y are look independent and either value won't affect the value of the other random variable, but they are dependent actually?



Thank you!!!!!










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Why do you think that the value of $X$ will not affect the value of $Y$?
    $endgroup$
    – drhab
    Jan 7 at 9:35










  • $begingroup$
    @drhab Since the the value of X doesn't bother which value of Y, Y can be any value.
    $endgroup$
    – Haohao Chang
    Jan 7 at 10:08












  • $begingroup$
    @HaohaoChang $$f(x,y)=underbrace{xe^{-xy}mathbf1_{y>0}}_{f_{Ymid X}(y)},underbrace{frac{1}{2}x^2e^{-x}mathbf1_{x>0}}_{f_X(x)}$$ Clearly distribution of $Ymid X$ depends on $X$, so no question of independence.
    $endgroup$
    – StubbornAtom
    Jan 7 at 10:58










  • $begingroup$
    Actually you are not answering my question, but just repeat what you think. Anyway, if $X=Y$ (ultimate dependence) and $X$ can take any value then also $Y$ can take any value. So the ability of $Y$ to take any value does not exclude the possibility of dependence. If there is no PDF $f(x,y)$ that can be written as a product $g(x)h(y)$ then there is no independence.
    $endgroup$
    – drhab
    Jan 7 at 11:18












  • $begingroup$
    @drhab Thank you for your answer. But I still get confused why X and Y are dependent in this case, can you point it out more generally, thank you for your help. I agree with you about X and Y is not independent if the PDF $f(x,y)$ can't be written as a product $g(x)h(y)$.
    $endgroup$
    – Haohao Chang
    Jan 7 at 11:48














0












0








0





$begingroup$


I have some problem at how to determine if two random variables are independent or not. If X and Y are two continuous random variables and their join probability density function is listed below



$$
f(x,y) = left{begin{matrix}
frac{1}{2}x^{3}e^{-xy-x}, x > 0, y > 0\
0, otherwise
end{matrix}right.
$$



My Question is that intuitively that random variable X is independent of Y since X won't affect the value of Y, but I calculated $f_{X}(x)$ and $f_{Y}(y)$ and found that $f(x,y) neq f_{X}(x)f_{Y}(y)$



I want to why random variables X and Y are look independent and either value won't affect the value of the other random variable, but they are dependent actually?



Thank you!!!!!










share|cite|improve this question









$endgroup$




I have some problem at how to determine if two random variables are independent or not. If X and Y are two continuous random variables and their join probability density function is listed below



$$
f(x,y) = left{begin{matrix}
frac{1}{2}x^{3}e^{-xy-x}, x > 0, y > 0\
0, otherwise
end{matrix}right.
$$



My Question is that intuitively that random variable X is independent of Y since X won't affect the value of Y, but I calculated $f_{X}(x)$ and $f_{Y}(y)$ and found that $f(x,y) neq f_{X}(x)f_{Y}(y)$



I want to why random variables X and Y are look independent and either value won't affect the value of the other random variable, but they are dependent actually?



Thank you!!!!!







probability random-variables independence






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 7 at 9:30









Haohao ChangHaohao Chang

81




81








  • 2




    $begingroup$
    Why do you think that the value of $X$ will not affect the value of $Y$?
    $endgroup$
    – drhab
    Jan 7 at 9:35










  • $begingroup$
    @drhab Since the the value of X doesn't bother which value of Y, Y can be any value.
    $endgroup$
    – Haohao Chang
    Jan 7 at 10:08












  • $begingroup$
    @HaohaoChang $$f(x,y)=underbrace{xe^{-xy}mathbf1_{y>0}}_{f_{Ymid X}(y)},underbrace{frac{1}{2}x^2e^{-x}mathbf1_{x>0}}_{f_X(x)}$$ Clearly distribution of $Ymid X$ depends on $X$, so no question of independence.
    $endgroup$
    – StubbornAtom
    Jan 7 at 10:58










  • $begingroup$
    Actually you are not answering my question, but just repeat what you think. Anyway, if $X=Y$ (ultimate dependence) and $X$ can take any value then also $Y$ can take any value. So the ability of $Y$ to take any value does not exclude the possibility of dependence. If there is no PDF $f(x,y)$ that can be written as a product $g(x)h(y)$ then there is no independence.
    $endgroup$
    – drhab
    Jan 7 at 11:18












  • $begingroup$
    @drhab Thank you for your answer. But I still get confused why X and Y are dependent in this case, can you point it out more generally, thank you for your help. I agree with you about X and Y is not independent if the PDF $f(x,y)$ can't be written as a product $g(x)h(y)$.
    $endgroup$
    – Haohao Chang
    Jan 7 at 11:48














  • 2




    $begingroup$
    Why do you think that the value of $X$ will not affect the value of $Y$?
    $endgroup$
    – drhab
    Jan 7 at 9:35










  • $begingroup$
    @drhab Since the the value of X doesn't bother which value of Y, Y can be any value.
    $endgroup$
    – Haohao Chang
    Jan 7 at 10:08












  • $begingroup$
    @HaohaoChang $$f(x,y)=underbrace{xe^{-xy}mathbf1_{y>0}}_{f_{Ymid X}(y)},underbrace{frac{1}{2}x^2e^{-x}mathbf1_{x>0}}_{f_X(x)}$$ Clearly distribution of $Ymid X$ depends on $X$, so no question of independence.
    $endgroup$
    – StubbornAtom
    Jan 7 at 10:58










  • $begingroup$
    Actually you are not answering my question, but just repeat what you think. Anyway, if $X=Y$ (ultimate dependence) and $X$ can take any value then also $Y$ can take any value. So the ability of $Y$ to take any value does not exclude the possibility of dependence. If there is no PDF $f(x,y)$ that can be written as a product $g(x)h(y)$ then there is no independence.
    $endgroup$
    – drhab
    Jan 7 at 11:18












  • $begingroup$
    @drhab Thank you for your answer. But I still get confused why X and Y are dependent in this case, can you point it out more generally, thank you for your help. I agree with you about X and Y is not independent if the PDF $f(x,y)$ can't be written as a product $g(x)h(y)$.
    $endgroup$
    – Haohao Chang
    Jan 7 at 11:48








2




2




$begingroup$
Why do you think that the value of $X$ will not affect the value of $Y$?
$endgroup$
– drhab
Jan 7 at 9:35




$begingroup$
Why do you think that the value of $X$ will not affect the value of $Y$?
$endgroup$
– drhab
Jan 7 at 9:35












$begingroup$
@drhab Since the the value of X doesn't bother which value of Y, Y can be any value.
$endgroup$
– Haohao Chang
Jan 7 at 10:08






$begingroup$
@drhab Since the the value of X doesn't bother which value of Y, Y can be any value.
$endgroup$
– Haohao Chang
Jan 7 at 10:08














$begingroup$
@HaohaoChang $$f(x,y)=underbrace{xe^{-xy}mathbf1_{y>0}}_{f_{Ymid X}(y)},underbrace{frac{1}{2}x^2e^{-x}mathbf1_{x>0}}_{f_X(x)}$$ Clearly distribution of $Ymid X$ depends on $X$, so no question of independence.
$endgroup$
– StubbornAtom
Jan 7 at 10:58




$begingroup$
@HaohaoChang $$f(x,y)=underbrace{xe^{-xy}mathbf1_{y>0}}_{f_{Ymid X}(y)},underbrace{frac{1}{2}x^2e^{-x}mathbf1_{x>0}}_{f_X(x)}$$ Clearly distribution of $Ymid X$ depends on $X$, so no question of independence.
$endgroup$
– StubbornAtom
Jan 7 at 10:58












$begingroup$
Actually you are not answering my question, but just repeat what you think. Anyway, if $X=Y$ (ultimate dependence) and $X$ can take any value then also $Y$ can take any value. So the ability of $Y$ to take any value does not exclude the possibility of dependence. If there is no PDF $f(x,y)$ that can be written as a product $g(x)h(y)$ then there is no independence.
$endgroup$
– drhab
Jan 7 at 11:18






$begingroup$
Actually you are not answering my question, but just repeat what you think. Anyway, if $X=Y$ (ultimate dependence) and $X$ can take any value then also $Y$ can take any value. So the ability of $Y$ to take any value does not exclude the possibility of dependence. If there is no PDF $f(x,y)$ that can be written as a product $g(x)h(y)$ then there is no independence.
$endgroup$
– drhab
Jan 7 at 11:18














$begingroup$
@drhab Thank you for your answer. But I still get confused why X and Y are dependent in this case, can you point it out more generally, thank you for your help. I agree with you about X and Y is not independent if the PDF $f(x,y)$ can't be written as a product $g(x)h(y)$.
$endgroup$
– Haohao Chang
Jan 7 at 11:48




$begingroup$
@drhab Thank you for your answer. But I still get confused why X and Y are dependent in this case, can you point it out more generally, thank you for your help. I agree with you about X and Y is not independent if the PDF $f(x,y)$ can't be written as a product $g(x)h(y)$.
$endgroup$
– Haohao Chang
Jan 7 at 11:48










1 Answer
1






active

oldest

votes


















0












$begingroup$

Fixing e.g. $x=1$ we get $f(1,y)=frac12e^{-y-1}$ for $y>0$ and $f(1,y)=0$ otherwise.



For some constant $c$ this function equalizes $ccdot f_Y(ymid X=1)$ where $f_Y(ymid X=1)$ denotes the PDF of $Y$ under condition $X=1$.



If we do the same for $x=2$ we get $f(2,y)=8e^{-2y-2}$ for $y>0$ and $f(1,y)=0$ otherwise.



For some constant $d$ this function equalizes $dcdot f_Y(ymid X=2)$ where $f_Y(ymid X=2)$ denotes the PDF of $Y$ under condition $X=2$.



Evidently the functions are of different shape which makes clear that $f_Y(ymid X=1)$ and $f_Y(ymid X=2)$ are definitely not the same.



Apparantly under condition $X=1$ the distribution of $Y$ differs from the distribution of $Y$ under condition $X=2$.



So the value that is taken by $X$ affects the distribution of $Y$.



This observation is enough to conclude that $Y$ and $X$ are not independent.






share|cite|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3064815%2findependent-continuous-random-variables-problem%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    Fixing e.g. $x=1$ we get $f(1,y)=frac12e^{-y-1}$ for $y>0$ and $f(1,y)=0$ otherwise.



    For some constant $c$ this function equalizes $ccdot f_Y(ymid X=1)$ where $f_Y(ymid X=1)$ denotes the PDF of $Y$ under condition $X=1$.



    If we do the same for $x=2$ we get $f(2,y)=8e^{-2y-2}$ for $y>0$ and $f(1,y)=0$ otherwise.



    For some constant $d$ this function equalizes $dcdot f_Y(ymid X=2)$ where $f_Y(ymid X=2)$ denotes the PDF of $Y$ under condition $X=2$.



    Evidently the functions are of different shape which makes clear that $f_Y(ymid X=1)$ and $f_Y(ymid X=2)$ are definitely not the same.



    Apparantly under condition $X=1$ the distribution of $Y$ differs from the distribution of $Y$ under condition $X=2$.



    So the value that is taken by $X$ affects the distribution of $Y$.



    This observation is enough to conclude that $Y$ and $X$ are not independent.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      Fixing e.g. $x=1$ we get $f(1,y)=frac12e^{-y-1}$ for $y>0$ and $f(1,y)=0$ otherwise.



      For some constant $c$ this function equalizes $ccdot f_Y(ymid X=1)$ where $f_Y(ymid X=1)$ denotes the PDF of $Y$ under condition $X=1$.



      If we do the same for $x=2$ we get $f(2,y)=8e^{-2y-2}$ for $y>0$ and $f(1,y)=0$ otherwise.



      For some constant $d$ this function equalizes $dcdot f_Y(ymid X=2)$ where $f_Y(ymid X=2)$ denotes the PDF of $Y$ under condition $X=2$.



      Evidently the functions are of different shape which makes clear that $f_Y(ymid X=1)$ and $f_Y(ymid X=2)$ are definitely not the same.



      Apparantly under condition $X=1$ the distribution of $Y$ differs from the distribution of $Y$ under condition $X=2$.



      So the value that is taken by $X$ affects the distribution of $Y$.



      This observation is enough to conclude that $Y$ and $X$ are not independent.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Fixing e.g. $x=1$ we get $f(1,y)=frac12e^{-y-1}$ for $y>0$ and $f(1,y)=0$ otherwise.



        For some constant $c$ this function equalizes $ccdot f_Y(ymid X=1)$ where $f_Y(ymid X=1)$ denotes the PDF of $Y$ under condition $X=1$.



        If we do the same for $x=2$ we get $f(2,y)=8e^{-2y-2}$ for $y>0$ and $f(1,y)=0$ otherwise.



        For some constant $d$ this function equalizes $dcdot f_Y(ymid X=2)$ where $f_Y(ymid X=2)$ denotes the PDF of $Y$ under condition $X=2$.



        Evidently the functions are of different shape which makes clear that $f_Y(ymid X=1)$ and $f_Y(ymid X=2)$ are definitely not the same.



        Apparantly under condition $X=1$ the distribution of $Y$ differs from the distribution of $Y$ under condition $X=2$.



        So the value that is taken by $X$ affects the distribution of $Y$.



        This observation is enough to conclude that $Y$ and $X$ are not independent.






        share|cite|improve this answer









        $endgroup$



        Fixing e.g. $x=1$ we get $f(1,y)=frac12e^{-y-1}$ for $y>0$ and $f(1,y)=0$ otherwise.



        For some constant $c$ this function equalizes $ccdot f_Y(ymid X=1)$ where $f_Y(ymid X=1)$ denotes the PDF of $Y$ under condition $X=1$.



        If we do the same for $x=2$ we get $f(2,y)=8e^{-2y-2}$ for $y>0$ and $f(1,y)=0$ otherwise.



        For some constant $d$ this function equalizes $dcdot f_Y(ymid X=2)$ where $f_Y(ymid X=2)$ denotes the PDF of $Y$ under condition $X=2$.



        Evidently the functions are of different shape which makes clear that $f_Y(ymid X=1)$ and $f_Y(ymid X=2)$ are definitely not the same.



        Apparantly under condition $X=1$ the distribution of $Y$ differs from the distribution of $Y$ under condition $X=2$.



        So the value that is taken by $X$ affects the distribution of $Y$.



        This observation is enough to conclude that $Y$ and $X$ are not independent.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 7 at 12:14









        drhabdrhab

        103k545136




        103k545136






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3064815%2findependent-continuous-random-variables-problem%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Bressuire

            Cabo Verde

            Gyllenstierna