Relationship between normal sample variance (mean known or unknown) and Chi-squared












0












$begingroup$


I know that $(n-1)s^2/sigma^2$ is Chi-squared with $n-1$ degrees freedom. I'm currently working on a question where the population mean $mu$ is known, i.e. $s^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$.



My textbook states: "Clearly, $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$ is a Chi-squared random variable with $n$ degrees of freedom". I know that in this problem, it holds that $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$=$frac{ns^2}{sigma^2}$.



To me, this makes it seem like $frac{qs^2}{sigma^2}$ is chi squared with $q$ degrees of freedom, for any integer $q$, but I'm relatively positive that this is untrue. Can someone help me understand this discrepancy?










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    I know that $(n-1)s^2/sigma^2$ is Chi-squared with $n-1$ degrees freedom. I'm currently working on a question where the population mean $mu$ is known, i.e. $s^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$.



    My textbook states: "Clearly, $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$ is a Chi-squared random variable with $n$ degrees of freedom". I know that in this problem, it holds that $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$=$frac{ns^2}{sigma^2}$.



    To me, this makes it seem like $frac{qs^2}{sigma^2}$ is chi squared with $q$ degrees of freedom, for any integer $q$, but I'm relatively positive that this is untrue. Can someone help me understand this discrepancy?










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      I know that $(n-1)s^2/sigma^2$ is Chi-squared with $n-1$ degrees freedom. I'm currently working on a question where the population mean $mu$ is known, i.e. $s^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$.



      My textbook states: "Clearly, $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$ is a Chi-squared random variable with $n$ degrees of freedom". I know that in this problem, it holds that $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$=$frac{ns^2}{sigma^2}$.



      To me, this makes it seem like $frac{qs^2}{sigma^2}$ is chi squared with $q$ degrees of freedom, for any integer $q$, but I'm relatively positive that this is untrue. Can someone help me understand this discrepancy?










      share|cite|improve this question











      $endgroup$




      I know that $(n-1)s^2/sigma^2$ is Chi-squared with $n-1$ degrees freedom. I'm currently working on a question where the population mean $mu$ is known, i.e. $s^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$.



      My textbook states: "Clearly, $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$ is a Chi-squared random variable with $n$ degrees of freedom". I know that in this problem, it holds that $frac{sum_{i=1}^n(X_i-mu)^2}{sigma^2}$=$frac{ns^2}{sigma^2}$.



      To me, this makes it seem like $frac{qs^2}{sigma^2}$ is chi squared with $q$ degrees of freedom, for any integer $q$, but I'm relatively positive that this is untrue. Can someone help me understand this discrepancy?







      probability random-variables






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 9 '18 at 13:51









      GNUSupporter 8964民主女神 地下教會

      12.8k72445




      12.8k72445










      asked Dec 9 '18 at 13:49









      DavidDavid

      337210




      337210






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          So let's be more explicit here. Let me "abuse" the notation a bit and do the following:



          $$s_n^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$$



          Now, divide/ multiply by the variance $sigma^2$ as
          $$s_n^2=n^{-1}sigma^2sum_{i=1}^nfrac{(X_i-mu)^2}{sigma^2}$$
          The part $frac{(X_i-mu)^2}{sigma^2}$ is Chi-square with $n$ d.o.f. (degrees of freedom) this is correct. Let's denote this Chi-square as $chi_n^2$ with mean $n$ and variance $2n$. We have
          $$s_n^2=n^{-1}sigma^2chi_n^2$$
          where $n^{-1}sigma^2$ is a constant. To characterize it more we have
          begin{align}
          E s_n^2 &= n^{-1}sigma^2Echi_n^2 = n^{-1}sigma^2 (n) = sigma^2\
          text{var } s_n^2 &= n^{-1}sigma^2text{var } chi_n^2 = n^{-1}sigma^2 (2n) = 2sigma^2
          end{align}



          so addressing your question $frac{qs_n^2}{sigma^2}$ is Chi-square with $n$ d.o.f. with mean and variances as
          begin{align}
          E frac{qs_n^2}{sigma^2} &= frac{q}{sigma^2}Es_n^2 = q\
          text{var } frac{qs_n^2}{sigma^2} &=frac{q}{sigma^2}text{var } chi_n^2 = frac{q}{sigma^2}(2sigma^2) =2q
          end{align}

          In case you meant $frac{qs_q^2}{sigma^2}$, nothing changes except the d.o.f, i.e. we will have $q$ instead of $n$ d.o.f. That is why I insisted on $s_n$ instead of just $s$.






          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%2f3032392%2frelationship-between-normal-sample-variance-mean-known-or-unknown-and-chi-squa%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









            1












            $begingroup$

            So let's be more explicit here. Let me "abuse" the notation a bit and do the following:



            $$s_n^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$$



            Now, divide/ multiply by the variance $sigma^2$ as
            $$s_n^2=n^{-1}sigma^2sum_{i=1}^nfrac{(X_i-mu)^2}{sigma^2}$$
            The part $frac{(X_i-mu)^2}{sigma^2}$ is Chi-square with $n$ d.o.f. (degrees of freedom) this is correct. Let's denote this Chi-square as $chi_n^2$ with mean $n$ and variance $2n$. We have
            $$s_n^2=n^{-1}sigma^2chi_n^2$$
            where $n^{-1}sigma^2$ is a constant. To characterize it more we have
            begin{align}
            E s_n^2 &= n^{-1}sigma^2Echi_n^2 = n^{-1}sigma^2 (n) = sigma^2\
            text{var } s_n^2 &= n^{-1}sigma^2text{var } chi_n^2 = n^{-1}sigma^2 (2n) = 2sigma^2
            end{align}



            so addressing your question $frac{qs_n^2}{sigma^2}$ is Chi-square with $n$ d.o.f. with mean and variances as
            begin{align}
            E frac{qs_n^2}{sigma^2} &= frac{q}{sigma^2}Es_n^2 = q\
            text{var } frac{qs_n^2}{sigma^2} &=frac{q}{sigma^2}text{var } chi_n^2 = frac{q}{sigma^2}(2sigma^2) =2q
            end{align}

            In case you meant $frac{qs_q^2}{sigma^2}$, nothing changes except the d.o.f, i.e. we will have $q$ instead of $n$ d.o.f. That is why I insisted on $s_n$ instead of just $s$.






            share|cite|improve this answer











            $endgroup$


















              1












              $begingroup$

              So let's be more explicit here. Let me "abuse" the notation a bit and do the following:



              $$s_n^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$$



              Now, divide/ multiply by the variance $sigma^2$ as
              $$s_n^2=n^{-1}sigma^2sum_{i=1}^nfrac{(X_i-mu)^2}{sigma^2}$$
              The part $frac{(X_i-mu)^2}{sigma^2}$ is Chi-square with $n$ d.o.f. (degrees of freedom) this is correct. Let's denote this Chi-square as $chi_n^2$ with mean $n$ and variance $2n$. We have
              $$s_n^2=n^{-1}sigma^2chi_n^2$$
              where $n^{-1}sigma^2$ is a constant. To characterize it more we have
              begin{align}
              E s_n^2 &= n^{-1}sigma^2Echi_n^2 = n^{-1}sigma^2 (n) = sigma^2\
              text{var } s_n^2 &= n^{-1}sigma^2text{var } chi_n^2 = n^{-1}sigma^2 (2n) = 2sigma^2
              end{align}



              so addressing your question $frac{qs_n^2}{sigma^2}$ is Chi-square with $n$ d.o.f. with mean and variances as
              begin{align}
              E frac{qs_n^2}{sigma^2} &= frac{q}{sigma^2}Es_n^2 = q\
              text{var } frac{qs_n^2}{sigma^2} &=frac{q}{sigma^2}text{var } chi_n^2 = frac{q}{sigma^2}(2sigma^2) =2q
              end{align}

              In case you meant $frac{qs_q^2}{sigma^2}$, nothing changes except the d.o.f, i.e. we will have $q$ instead of $n$ d.o.f. That is why I insisted on $s_n$ instead of just $s$.






              share|cite|improve this answer











              $endgroup$
















                1












                1








                1





                $begingroup$

                So let's be more explicit here. Let me "abuse" the notation a bit and do the following:



                $$s_n^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$$



                Now, divide/ multiply by the variance $sigma^2$ as
                $$s_n^2=n^{-1}sigma^2sum_{i=1}^nfrac{(X_i-mu)^2}{sigma^2}$$
                The part $frac{(X_i-mu)^2}{sigma^2}$ is Chi-square with $n$ d.o.f. (degrees of freedom) this is correct. Let's denote this Chi-square as $chi_n^2$ with mean $n$ and variance $2n$. We have
                $$s_n^2=n^{-1}sigma^2chi_n^2$$
                where $n^{-1}sigma^2$ is a constant. To characterize it more we have
                begin{align}
                E s_n^2 &= n^{-1}sigma^2Echi_n^2 = n^{-1}sigma^2 (n) = sigma^2\
                text{var } s_n^2 &= n^{-1}sigma^2text{var } chi_n^2 = n^{-1}sigma^2 (2n) = 2sigma^2
                end{align}



                so addressing your question $frac{qs_n^2}{sigma^2}$ is Chi-square with $n$ d.o.f. with mean and variances as
                begin{align}
                E frac{qs_n^2}{sigma^2} &= frac{q}{sigma^2}Es_n^2 = q\
                text{var } frac{qs_n^2}{sigma^2} &=frac{q}{sigma^2}text{var } chi_n^2 = frac{q}{sigma^2}(2sigma^2) =2q
                end{align}

                In case you meant $frac{qs_q^2}{sigma^2}$, nothing changes except the d.o.f, i.e. we will have $q$ instead of $n$ d.o.f. That is why I insisted on $s_n$ instead of just $s$.






                share|cite|improve this answer











                $endgroup$



                So let's be more explicit here. Let me "abuse" the notation a bit and do the following:



                $$s_n^2=n^{-1}sum_{i=1}^n(X_i-mu)^2$$



                Now, divide/ multiply by the variance $sigma^2$ as
                $$s_n^2=n^{-1}sigma^2sum_{i=1}^nfrac{(X_i-mu)^2}{sigma^2}$$
                The part $frac{(X_i-mu)^2}{sigma^2}$ is Chi-square with $n$ d.o.f. (degrees of freedom) this is correct. Let's denote this Chi-square as $chi_n^2$ with mean $n$ and variance $2n$. We have
                $$s_n^2=n^{-1}sigma^2chi_n^2$$
                where $n^{-1}sigma^2$ is a constant. To characterize it more we have
                begin{align}
                E s_n^2 &= n^{-1}sigma^2Echi_n^2 = n^{-1}sigma^2 (n) = sigma^2\
                text{var } s_n^2 &= n^{-1}sigma^2text{var } chi_n^2 = n^{-1}sigma^2 (2n) = 2sigma^2
                end{align}



                so addressing your question $frac{qs_n^2}{sigma^2}$ is Chi-square with $n$ d.o.f. with mean and variances as
                begin{align}
                E frac{qs_n^2}{sigma^2} &= frac{q}{sigma^2}Es_n^2 = q\
                text{var } frac{qs_n^2}{sigma^2} &=frac{q}{sigma^2}text{var } chi_n^2 = frac{q}{sigma^2}(2sigma^2) =2q
                end{align}

                In case you meant $frac{qs_q^2}{sigma^2}$, nothing changes except the d.o.f, i.e. we will have $q$ instead of $n$ d.o.f. That is why I insisted on $s_n$ instead of just $s$.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Dec 9 '18 at 14:03

























                answered Dec 9 '18 at 13:57









                Ahmad BazziAhmad Bazzi

                8,0012724




                8,0012724






























                    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%2f3032392%2frelationship-between-normal-sample-variance-mean-known-or-unknown-and-chi-squa%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

                    Wiesbaden

                    Marschland

                    Dieringhausen