Calculating variance of poisson distributed random variable












2












$begingroup$


I am calculating variance of a Poisson distributed random variable with mean $lambda$. I am doing it in the following way:



$mathbb{V}(X) = mathbb{E}(X^2) - lambda^2 \
= sum_{xgeq 0} quad x^2frac{e^{-lambda} quadlambda^x}{x!} - lambda^2\
= 0 + lambda e^{-lambda} + sum_{xgeq 2} quad x^2frac{e^{-lambda} quadlambda^x}{x!}-lambda^2\
= lambda e^{-lambda} + e^{-lambda}lambda^2sum_{xgeq 2} quad frac{lambda^{x-2}}{(x-2)!}\
=lambda e^{-lambda} + lambda^2 -lambda^2\
=lambda e^{-lambda}$



The answer is wrong. But I cannot understand what am I doing wrong in breaking the summation on line 3.



Edit: shown step 4 to answer a comment










share|cite|improve this question











$endgroup$












  • $begingroup$
    How do you get that sum over $x geq 2$ to be equal to $lambda^2$?
    $endgroup$
    – jbowman
    6 hours ago












  • $begingroup$
    I have added a step.
    $endgroup$
    – anotherone
    6 hours ago










  • $begingroup$
    Going from line 3 to line 4, you've assumed $x^2/x! = 1/(x - 2)!$ for $x geq 2$, which is not true. Also, your $-lambda^2$ term disappears on line 4 and then reappears on line 5.
    $endgroup$
    – Alex
    6 hours ago








  • 5




    $begingroup$
    Often times it's easier to start by finding $E[X(X-1)]$. Also, please add the self-study tag, and I'll assist further.
    $endgroup$
    – StatsStudent
    6 hours ago








  • 1




    $begingroup$
    @StatsStudent Yes, I found that just now. Thanks.
    $endgroup$
    – anotherone
    6 hours ago
















2












$begingroup$


I am calculating variance of a Poisson distributed random variable with mean $lambda$. I am doing it in the following way:



$mathbb{V}(X) = mathbb{E}(X^2) - lambda^2 \
= sum_{xgeq 0} quad x^2frac{e^{-lambda} quadlambda^x}{x!} - lambda^2\
= 0 + lambda e^{-lambda} + sum_{xgeq 2} quad x^2frac{e^{-lambda} quadlambda^x}{x!}-lambda^2\
= lambda e^{-lambda} + e^{-lambda}lambda^2sum_{xgeq 2} quad frac{lambda^{x-2}}{(x-2)!}\
=lambda e^{-lambda} + lambda^2 -lambda^2\
=lambda e^{-lambda}$



The answer is wrong. But I cannot understand what am I doing wrong in breaking the summation on line 3.



Edit: shown step 4 to answer a comment










share|cite|improve this question











$endgroup$












  • $begingroup$
    How do you get that sum over $x geq 2$ to be equal to $lambda^2$?
    $endgroup$
    – jbowman
    6 hours ago












  • $begingroup$
    I have added a step.
    $endgroup$
    – anotherone
    6 hours ago










  • $begingroup$
    Going from line 3 to line 4, you've assumed $x^2/x! = 1/(x - 2)!$ for $x geq 2$, which is not true. Also, your $-lambda^2$ term disappears on line 4 and then reappears on line 5.
    $endgroup$
    – Alex
    6 hours ago








  • 5




    $begingroup$
    Often times it's easier to start by finding $E[X(X-1)]$. Also, please add the self-study tag, and I'll assist further.
    $endgroup$
    – StatsStudent
    6 hours ago








  • 1




    $begingroup$
    @StatsStudent Yes, I found that just now. Thanks.
    $endgroup$
    – anotherone
    6 hours ago














2












2








2


1



$begingroup$


I am calculating variance of a Poisson distributed random variable with mean $lambda$. I am doing it in the following way:



$mathbb{V}(X) = mathbb{E}(X^2) - lambda^2 \
= sum_{xgeq 0} quad x^2frac{e^{-lambda} quadlambda^x}{x!} - lambda^2\
= 0 + lambda e^{-lambda} + sum_{xgeq 2} quad x^2frac{e^{-lambda} quadlambda^x}{x!}-lambda^2\
= lambda e^{-lambda} + e^{-lambda}lambda^2sum_{xgeq 2} quad frac{lambda^{x-2}}{(x-2)!}\
=lambda e^{-lambda} + lambda^2 -lambda^2\
=lambda e^{-lambda}$



The answer is wrong. But I cannot understand what am I doing wrong in breaking the summation on line 3.



Edit: shown step 4 to answer a comment










share|cite|improve this question











$endgroup$




I am calculating variance of a Poisson distributed random variable with mean $lambda$. I am doing it in the following way:



$mathbb{V}(X) = mathbb{E}(X^2) - lambda^2 \
= sum_{xgeq 0} quad x^2frac{e^{-lambda} quadlambda^x}{x!} - lambda^2\
= 0 + lambda e^{-lambda} + sum_{xgeq 2} quad x^2frac{e^{-lambda} quadlambda^x}{x!}-lambda^2\
= lambda e^{-lambda} + e^{-lambda}lambda^2sum_{xgeq 2} quad frac{lambda^{x-2}}{(x-2)!}\
=lambda e^{-lambda} + lambda^2 -lambda^2\
=lambda e^{-lambda}$



The answer is wrong. But I cannot understand what am I doing wrong in breaking the summation on line 3.



Edit: shown step 4 to answer a comment







self-study poisson-distribution arithmetic






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 5 hours ago









whuber

203k33443813




203k33443813










asked 6 hours ago









anotheroneanotherone

1206




1206












  • $begingroup$
    How do you get that sum over $x geq 2$ to be equal to $lambda^2$?
    $endgroup$
    – jbowman
    6 hours ago












  • $begingroup$
    I have added a step.
    $endgroup$
    – anotherone
    6 hours ago










  • $begingroup$
    Going from line 3 to line 4, you've assumed $x^2/x! = 1/(x - 2)!$ for $x geq 2$, which is not true. Also, your $-lambda^2$ term disappears on line 4 and then reappears on line 5.
    $endgroup$
    – Alex
    6 hours ago








  • 5




    $begingroup$
    Often times it's easier to start by finding $E[X(X-1)]$. Also, please add the self-study tag, and I'll assist further.
    $endgroup$
    – StatsStudent
    6 hours ago








  • 1




    $begingroup$
    @StatsStudent Yes, I found that just now. Thanks.
    $endgroup$
    – anotherone
    6 hours ago


















  • $begingroup$
    How do you get that sum over $x geq 2$ to be equal to $lambda^2$?
    $endgroup$
    – jbowman
    6 hours ago












  • $begingroup$
    I have added a step.
    $endgroup$
    – anotherone
    6 hours ago










  • $begingroup$
    Going from line 3 to line 4, you've assumed $x^2/x! = 1/(x - 2)!$ for $x geq 2$, which is not true. Also, your $-lambda^2$ term disappears on line 4 and then reappears on line 5.
    $endgroup$
    – Alex
    6 hours ago








  • 5




    $begingroup$
    Often times it's easier to start by finding $E[X(X-1)]$. Also, please add the self-study tag, and I'll assist further.
    $endgroup$
    – StatsStudent
    6 hours ago








  • 1




    $begingroup$
    @StatsStudent Yes, I found that just now. Thanks.
    $endgroup$
    – anotherone
    6 hours ago
















$begingroup$
How do you get that sum over $x geq 2$ to be equal to $lambda^2$?
$endgroup$
– jbowman
6 hours ago






$begingroup$
How do you get that sum over $x geq 2$ to be equal to $lambda^2$?
$endgroup$
– jbowman
6 hours ago














$begingroup$
I have added a step.
$endgroup$
– anotherone
6 hours ago




$begingroup$
I have added a step.
$endgroup$
– anotherone
6 hours ago












$begingroup$
Going from line 3 to line 4, you've assumed $x^2/x! = 1/(x - 2)!$ for $x geq 2$, which is not true. Also, your $-lambda^2$ term disappears on line 4 and then reappears on line 5.
$endgroup$
– Alex
6 hours ago






$begingroup$
Going from line 3 to line 4, you've assumed $x^2/x! = 1/(x - 2)!$ for $x geq 2$, which is not true. Also, your $-lambda^2$ term disappears on line 4 and then reappears on line 5.
$endgroup$
– Alex
6 hours ago






5




5




$begingroup$
Often times it's easier to start by finding $E[X(X-1)]$. Also, please add the self-study tag, and I'll assist further.
$endgroup$
– StatsStudent
6 hours ago






$begingroup$
Often times it's easier to start by finding $E[X(X-1)]$. Also, please add the self-study tag, and I'll assist further.
$endgroup$
– StatsStudent
6 hours ago






1




1




$begingroup$
@StatsStudent Yes, I found that just now. Thanks.
$endgroup$
– anotherone
6 hours ago




$begingroup$
@StatsStudent Yes, I found that just now. Thanks.
$endgroup$
– anotherone
6 hours ago










1 Answer
1






active

oldest

votes


















2












$begingroup$

The Poisson distribution is one of those distributions that involves a factorial denominator. This this type of distribution, the simplest way to find the raw and central moments is to first find the expected values of the falling factorials:



$$mathbb{E}((X)_r) = mathbb{E} bigg( X(X-1) cdots (X-r+1) bigg) = sum_{x=0}^infty x(x-1) cdots (x-r+1) cdot frac{lambda^x}{x!} e^{-lambda}.$$



Have a go at solving this infinite sum (it is relatively simple) and then you will have a general form for the expected value of the falling factorials of $X$. These are all polynomials in $X$, so they can be used to find any of the raw moments or central moments by appropriate arithmetic. In your particular case you want the variance, so you will want to look at the expected values of the falling factorials up to $r=2$.






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: "65"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f391792%2fcalculating-variance-of-poisson-distributed-random-variable%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









    2












    $begingroup$

    The Poisson distribution is one of those distributions that involves a factorial denominator. This this type of distribution, the simplest way to find the raw and central moments is to first find the expected values of the falling factorials:



    $$mathbb{E}((X)_r) = mathbb{E} bigg( X(X-1) cdots (X-r+1) bigg) = sum_{x=0}^infty x(x-1) cdots (x-r+1) cdot frac{lambda^x}{x!} e^{-lambda}.$$



    Have a go at solving this infinite sum (it is relatively simple) and then you will have a general form for the expected value of the falling factorials of $X$. These are all polynomials in $X$, so they can be used to find any of the raw moments or central moments by appropriate arithmetic. In your particular case you want the variance, so you will want to look at the expected values of the falling factorials up to $r=2$.






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      The Poisson distribution is one of those distributions that involves a factorial denominator. This this type of distribution, the simplest way to find the raw and central moments is to first find the expected values of the falling factorials:



      $$mathbb{E}((X)_r) = mathbb{E} bigg( X(X-1) cdots (X-r+1) bigg) = sum_{x=0}^infty x(x-1) cdots (x-r+1) cdot frac{lambda^x}{x!} e^{-lambda}.$$



      Have a go at solving this infinite sum (it is relatively simple) and then you will have a general form for the expected value of the falling factorials of $X$. These are all polynomials in $X$, so they can be used to find any of the raw moments or central moments by appropriate arithmetic. In your particular case you want the variance, so you will want to look at the expected values of the falling factorials up to $r=2$.






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        The Poisson distribution is one of those distributions that involves a factorial denominator. This this type of distribution, the simplest way to find the raw and central moments is to first find the expected values of the falling factorials:



        $$mathbb{E}((X)_r) = mathbb{E} bigg( X(X-1) cdots (X-r+1) bigg) = sum_{x=0}^infty x(x-1) cdots (x-r+1) cdot frac{lambda^x}{x!} e^{-lambda}.$$



        Have a go at solving this infinite sum (it is relatively simple) and then you will have a general form for the expected value of the falling factorials of $X$. These are all polynomials in $X$, so they can be used to find any of the raw moments or central moments by appropriate arithmetic. In your particular case you want the variance, so you will want to look at the expected values of the falling factorials up to $r=2$.






        share|cite|improve this answer









        $endgroup$



        The Poisson distribution is one of those distributions that involves a factorial denominator. This this type of distribution, the simplest way to find the raw and central moments is to first find the expected values of the falling factorials:



        $$mathbb{E}((X)_r) = mathbb{E} bigg( X(X-1) cdots (X-r+1) bigg) = sum_{x=0}^infty x(x-1) cdots (x-r+1) cdot frac{lambda^x}{x!} e^{-lambda}.$$



        Have a go at solving this infinite sum (it is relatively simple) and then you will have a general form for the expected value of the falling factorials of $X$. These are all polynomials in $X$, so they can be used to find any of the raw moments or central moments by appropriate arithmetic. In your particular case you want the variance, so you will want to look at the expected values of the falling factorials up to $r=2$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered 5 hours ago









        BenBen

        24.6k226117




        24.6k226117






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Cross Validated!


            • 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%2fstats.stackexchange.com%2fquestions%2f391792%2fcalculating-variance-of-poisson-distributed-random-variable%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

            How to label and detect the document text images

            Vallis Paradisi

            Tabula Rosettana