How to show $operatornameCov(b_0,b_1)=-fracsigmabarxS_xx$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












Consider the equation $y_i=beta_0+beta_1x_i+epsilon_i$ for $i=1, dotsc, n$.



We have unbiased estimators $b_0$ and $b_1$ for $beta_0$ and $beta_1$ respectively, where $b_0=bary-b_1barx$ and $b_1= S_xy / S_xx$.



How does one show that $operatornameCov(b_0,b_1)=-fracsigmabarxS_xx$



I tried using $operatornameCov(b_0,b_1)=E(b_0b_1)-E(b_0)E(b_1)$ to no avail as it just equals $0$ when I try and do that. Thanks!










share|cite|improve this question



























    up vote
    2
    down vote

    favorite
    1












    Consider the equation $y_i=beta_0+beta_1x_i+epsilon_i$ for $i=1, dotsc, n$.



    We have unbiased estimators $b_0$ and $b_1$ for $beta_0$ and $beta_1$ respectively, where $b_0=bary-b_1barx$ and $b_1= S_xy / S_xx$.



    How does one show that $operatornameCov(b_0,b_1)=-fracsigmabarxS_xx$



    I tried using $operatornameCov(b_0,b_1)=E(b_0b_1)-E(b_0)E(b_1)$ to no avail as it just equals $0$ when I try and do that. Thanks!










    share|cite|improve this question

























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      Consider the equation $y_i=beta_0+beta_1x_i+epsilon_i$ for $i=1, dotsc, n$.



      We have unbiased estimators $b_0$ and $b_1$ for $beta_0$ and $beta_1$ respectively, where $b_0=bary-b_1barx$ and $b_1= S_xy / S_xx$.



      How does one show that $operatornameCov(b_0,b_1)=-fracsigmabarxS_xx$



      I tried using $operatornameCov(b_0,b_1)=E(b_0b_1)-E(b_0)E(b_1)$ to no avail as it just equals $0$ when I try and do that. Thanks!










      share|cite|improve this question















      Consider the equation $y_i=beta_0+beta_1x_i+epsilon_i$ for $i=1, dotsc, n$.



      We have unbiased estimators $b_0$ and $b_1$ for $beta_0$ and $beta_1$ respectively, where $b_0=bary-b_1barx$ and $b_1= S_xy / S_xx$.



      How does one show that $operatornameCov(b_0,b_1)=-fracsigmabarxS_xx$



      I tried using $operatornameCov(b_0,b_1)=E(b_0b_1)-E(b_0)E(b_1)$ to no avail as it just equals $0$ when I try and do that. Thanks!







      probability probability-theory statistics regression






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Sep 2 at 12:21









      Bernard

      112k635104




      112k635104










      asked Sep 2 at 12:17









      Programmer

      392112




      392112




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You have not defined your symbols, so presumably $$S_xx=sum (x_i-bar x)^2 quadtext and quad S_xy=sum (x_i-bar x)(y_i-bar y)$$



          Use the bilinearity of covariance.



          We have



          beginalign
          operatornameCov(b_0,b_1)&=operatornameCov(bar y-b_1bar x,b_1)
          \&=operatornameCov(bar y,b_1)-bar xoperatornameVar(b_1)
          endalign



          Recall that $bar y$ and $b_1$ are independently distributed, so their covariance vanishes.



          Moreover, the exact distribution of $b_1$ is $$b_1simmathcal Nleft(beta_1,fracsigma^2S_xxright)$$



          Hence you finally get as the covariance between the least square estimates $$operatornameCov(b_0,b_1)=-fracbar xsigma^2S_xx$$






          share|cite|improve this answer




















          • Thanks so much! And sorry for not defining the sum of squares!
            – Programmer
            Sep 2 at 13:07










          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2902663%2fhow-to-show-operatornamecovb-0-b-1-frac-sigma-barxs-xx%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          You have not defined your symbols, so presumably $$S_xx=sum (x_i-bar x)^2 quadtext and quad S_xy=sum (x_i-bar x)(y_i-bar y)$$



          Use the bilinearity of covariance.



          We have



          beginalign
          operatornameCov(b_0,b_1)&=operatornameCov(bar y-b_1bar x,b_1)
          \&=operatornameCov(bar y,b_1)-bar xoperatornameVar(b_1)
          endalign



          Recall that $bar y$ and $b_1$ are independently distributed, so their covariance vanishes.



          Moreover, the exact distribution of $b_1$ is $$b_1simmathcal Nleft(beta_1,fracsigma^2S_xxright)$$



          Hence you finally get as the covariance between the least square estimates $$operatornameCov(b_0,b_1)=-fracbar xsigma^2S_xx$$






          share|cite|improve this answer




















          • Thanks so much! And sorry for not defining the sum of squares!
            – Programmer
            Sep 2 at 13:07














          up vote
          1
          down vote



          accepted










          You have not defined your symbols, so presumably $$S_xx=sum (x_i-bar x)^2 quadtext and quad S_xy=sum (x_i-bar x)(y_i-bar y)$$



          Use the bilinearity of covariance.



          We have



          beginalign
          operatornameCov(b_0,b_1)&=operatornameCov(bar y-b_1bar x,b_1)
          \&=operatornameCov(bar y,b_1)-bar xoperatornameVar(b_1)
          endalign



          Recall that $bar y$ and $b_1$ are independently distributed, so their covariance vanishes.



          Moreover, the exact distribution of $b_1$ is $$b_1simmathcal Nleft(beta_1,fracsigma^2S_xxright)$$



          Hence you finally get as the covariance between the least square estimates $$operatornameCov(b_0,b_1)=-fracbar xsigma^2S_xx$$






          share|cite|improve this answer




















          • Thanks so much! And sorry for not defining the sum of squares!
            – Programmer
            Sep 2 at 13:07












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          You have not defined your symbols, so presumably $$S_xx=sum (x_i-bar x)^2 quadtext and quad S_xy=sum (x_i-bar x)(y_i-bar y)$$



          Use the bilinearity of covariance.



          We have



          beginalign
          operatornameCov(b_0,b_1)&=operatornameCov(bar y-b_1bar x,b_1)
          \&=operatornameCov(bar y,b_1)-bar xoperatornameVar(b_1)
          endalign



          Recall that $bar y$ and $b_1$ are independently distributed, so their covariance vanishes.



          Moreover, the exact distribution of $b_1$ is $$b_1simmathcal Nleft(beta_1,fracsigma^2S_xxright)$$



          Hence you finally get as the covariance between the least square estimates $$operatornameCov(b_0,b_1)=-fracbar xsigma^2S_xx$$






          share|cite|improve this answer












          You have not defined your symbols, so presumably $$S_xx=sum (x_i-bar x)^2 quadtext and quad S_xy=sum (x_i-bar x)(y_i-bar y)$$



          Use the bilinearity of covariance.



          We have



          beginalign
          operatornameCov(b_0,b_1)&=operatornameCov(bar y-b_1bar x,b_1)
          \&=operatornameCov(bar y,b_1)-bar xoperatornameVar(b_1)
          endalign



          Recall that $bar y$ and $b_1$ are independently distributed, so their covariance vanishes.



          Moreover, the exact distribution of $b_1$ is $$b_1simmathcal Nleft(beta_1,fracsigma^2S_xxright)$$



          Hence you finally get as the covariance between the least square estimates $$operatornameCov(b_0,b_1)=-fracbar xsigma^2S_xx$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Sep 2 at 12:55









          StubbornAtom

          4,09511135




          4,09511135











          • Thanks so much! And sorry for not defining the sum of squares!
            – Programmer
            Sep 2 at 13:07
















          • Thanks so much! And sorry for not defining the sum of squares!
            – Programmer
            Sep 2 at 13:07















          Thanks so much! And sorry for not defining the sum of squares!
          – Programmer
          Sep 2 at 13:07




          Thanks so much! And sorry for not defining the sum of squares!
          – Programmer
          Sep 2 at 13:07

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2902663%2fhow-to-show-operatornamecovb-0-b-1-frac-sigma-barxs-xx%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

          Why am i infinitely getting the same tweet with the Twitter Search API?

          Amount of Number Combinations to Reach a Sum of 10 With Integers 1-9 Using 2 or More Integers [closed]