Calculating variance of given formula [closed]












-1












$begingroup$


Let $D_i$ be indicators, $iin{1, 2 ... k}$.



I am interested in calculating variance of $$Y = frac {sum_{i=1}^k x_iD_i}{sum_{i=1}^k n_iD_i}$$ where $x_i$ and $n_i$ are given real numbers, $i in {1, 2 ... k}$.



Exactly m of k indicators is equal to 1 and all possible combinations are equally possible.



Also, probability for each combination of choosing these m indicators is $frac {1}{k choose m}$










share|cite|improve this question











$endgroup$



closed as off-topic by Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste Dec 29 '18 at 21:24


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste

If this question can be reworded to fit the rules in the help center, please edit the question.





















    -1












    $begingroup$


    Let $D_i$ be indicators, $iin{1, 2 ... k}$.



    I am interested in calculating variance of $$Y = frac {sum_{i=1}^k x_iD_i}{sum_{i=1}^k n_iD_i}$$ where $x_i$ and $n_i$ are given real numbers, $i in {1, 2 ... k}$.



    Exactly m of k indicators is equal to 1 and all possible combinations are equally possible.



    Also, probability for each combination of choosing these m indicators is $frac {1}{k choose m}$










    share|cite|improve this question











    $endgroup$



    closed as off-topic by Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste Dec 29 '18 at 21:24


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste

    If this question can be reworded to fit the rules in the help center, please edit the question.



















      -1












      -1








      -1





      $begingroup$


      Let $D_i$ be indicators, $iin{1, 2 ... k}$.



      I am interested in calculating variance of $$Y = frac {sum_{i=1}^k x_iD_i}{sum_{i=1}^k n_iD_i}$$ where $x_i$ and $n_i$ are given real numbers, $i in {1, 2 ... k}$.



      Exactly m of k indicators is equal to 1 and all possible combinations are equally possible.



      Also, probability for each combination of choosing these m indicators is $frac {1}{k choose m}$










      share|cite|improve this question











      $endgroup$




      Let $D_i$ be indicators, $iin{1, 2 ... k}$.



      I am interested in calculating variance of $$Y = frac {sum_{i=1}^k x_iD_i}{sum_{i=1}^k n_iD_i}$$ where $x_i$ and $n_i$ are given real numbers, $i in {1, 2 ... k}$.



      Exactly m of k indicators is equal to 1 and all possible combinations are equally possible.



      Also, probability for each combination of choosing these m indicators is $frac {1}{k choose m}$







      probability statistics variance






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 25 '18 at 18:01







      dkutlesic

















      asked Dec 25 '18 at 9:24









      dkutlesicdkutlesic

      11




      11




      closed as off-topic by Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste Dec 29 '18 at 21:24


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste

      If this question can be reworded to fit the rules in the help center, please edit the question.







      closed as off-topic by Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste Dec 29 '18 at 21:24


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Kavi Rama Murthy, Lee David Chung Lin, StubbornAtom, NCh, Namaste

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          begin{align*}
          textrm{Var} left( frac{sum x_i D_i}{sum n_i D_i}right) &= frac{1}{{kchoose m}}sum_{sigma} left{mathbb{E}left[
          frac{sum x_i D_i}{sum n_i D_i} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2 \\
          &= frac{1}{{kchoose m}}sum_{sigma} left{frac{1}{{kchoose m}} sum_{sigma'} left[
          frac{sum x_i D_i^{(sigma')}}{sum n_i D_i^{(sigma')}} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2
          end{align*}



          where the $sigma$ and $sigma'$ sum over all valid combinations of values of indicators.






          share|cite|improve this answer









          $endgroup$




















            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1












            $begingroup$

            begin{align*}
            textrm{Var} left( frac{sum x_i D_i}{sum n_i D_i}right) &= frac{1}{{kchoose m}}sum_{sigma} left{mathbb{E}left[
            frac{sum x_i D_i}{sum n_i D_i} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2 \\
            &= frac{1}{{kchoose m}}sum_{sigma} left{frac{1}{{kchoose m}} sum_{sigma'} left[
            frac{sum x_i D_i^{(sigma')}}{sum n_i D_i^{(sigma')}} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2
            end{align*}



            where the $sigma$ and $sigma'$ sum over all valid combinations of values of indicators.






            share|cite|improve this answer









            $endgroup$


















              1












              $begingroup$

              begin{align*}
              textrm{Var} left( frac{sum x_i D_i}{sum n_i D_i}right) &= frac{1}{{kchoose m}}sum_{sigma} left{mathbb{E}left[
              frac{sum x_i D_i}{sum n_i D_i} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2 \\
              &= frac{1}{{kchoose m}}sum_{sigma} left{frac{1}{{kchoose m}} sum_{sigma'} left[
              frac{sum x_i D_i^{(sigma')}}{sum n_i D_i^{(sigma')}} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2
              end{align*}



              where the $sigma$ and $sigma'$ sum over all valid combinations of values of indicators.






              share|cite|improve this answer









              $endgroup$
















                1












                1








                1





                $begingroup$

                begin{align*}
                textrm{Var} left( frac{sum x_i D_i}{sum n_i D_i}right) &= frac{1}{{kchoose m}}sum_{sigma} left{mathbb{E}left[
                frac{sum x_i D_i}{sum n_i D_i} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2 \\
                &= frac{1}{{kchoose m}}sum_{sigma} left{frac{1}{{kchoose m}} sum_{sigma'} left[
                frac{sum x_i D_i^{(sigma')}}{sum n_i D_i^{(sigma')}} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2
                end{align*}



                where the $sigma$ and $sigma'$ sum over all valid combinations of values of indicators.






                share|cite|improve this answer









                $endgroup$



                begin{align*}
                textrm{Var} left( frac{sum x_i D_i}{sum n_i D_i}right) &= frac{1}{{kchoose m}}sum_{sigma} left{mathbb{E}left[
                frac{sum x_i D_i}{sum n_i D_i} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2 \\
                &= frac{1}{{kchoose m}}sum_{sigma} left{frac{1}{{kchoose m}} sum_{sigma'} left[
                frac{sum x_i D_i^{(sigma')}}{sum n_i D_i^{(sigma')}} right] - frac{sum x_i D_i^{(sigma)}}{sum n_i D_i^{(sigma)}} right}^2
                end{align*}



                where the $sigma$ and $sigma'$ sum over all valid combinations of values of indicators.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 25 '18 at 18:43









                Nikola SamardzicNikola Samardzic

                111




                111















                    Popular posts from this blog

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix