{"id":13597,"date":"2015-12-22T00:55:26","date_gmt":"2015-12-22T00:55:26","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=13597"},"modified":"2018-02-24T18:59:43","modified_gmt":"2018-02-24T18:59:43","slug":"statistics-proof-of-vxex%c2%b2-ex%c2%b2","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/statistics-proof-of-vxex%c2%b2-ex%c2%b2\/","title":{"rendered":"Statistics:  Proof of V(X)=E(X\u00b2)-[E(X)]\u00b2"},"content":{"rendered":"<h1>The tutor offers proof of a formula he recalls from Stats.<\/h1>\n<p>In my university Stats courses, a formula referred to often was<\/p>\n<p>V(X)=E(X^2)-(E(X))^2<\/p>\n<p>in which<\/p>\n<p>V(X)=population variance<\/p>\n<p>E(X^2)=expected value of X^2<\/p>\n<p>E(X)=expected value of X<\/p>\n<p>Here&#8217;s how I believe one might prove it:<\/p>\n<p>By definition,<\/p>\n<p>V(X)=&#931;<sub>i=0<\/sub><sup>n<\/sup>(x<sub>i<\/sub>-&#956;)^2\/n<\/p>\n<p>By expansion,<\/p>\n<p>(x<sub>i<\/sub>-&#956;)^2 = x<sub>i<\/sub>^2-2x<sub>i<\/sub>&#956;+&#956;^2<\/p>\n<p>Therefore,<\/p>\n<p>V(X)=&#931;<sub>i=0<\/sub><sup>n<\/sup>(x<sub>i<\/sub>^2-2x<sub>i<\/sub>&#956;+&#956;^2)\/n<\/p>\n<p>which further equals, by taking separate sums,<\/p>\n<p>V(X)=&#931;<sub>i=0<\/sub><sup>n<\/sup>x<sub>i<\/sub>^2\/n-2&#931;<sub>i=0<\/sub><sup>n<\/sup>x<sub>i<\/sub>&#956;\/n+&#931;<sub>i=0<\/sub><sup>n<\/sup>&#956;^2\/n<\/p>\n<p>Now, using summation rules, we can rewrite the above as<\/p>\n<p>V(X)=&#931;<sub>i=0<\/sub><sup>n<\/sup>x<sub>i<\/sub>^2\/n-2&#956;&#931;<sub>i=0<\/sub><sup>n<\/sup>x<sub>i<\/sub>\/n+n&#956;^2\/n<\/p>\n<p>Of course, by definition, E(X)=&#956;<\/p>\n<p>Furthermore, since we are calculating for the entire population,<\/p>\n<p>E(X^2)=&#931;<sub>i=0<\/sub><sup>n<\/sup>x<sub>i<\/sub>^2\/n<\/p>\n<p>and also<\/p>\n<p>E(X)=&#931;<sub>i=0<\/sub><sup>n<\/sup>x<sub>i<\/sub>\/n<\/p>\n<p>Substituting the above definitions into our expanded, then simplified, formula, we arrive at<\/p>\n<p>V(X)=E(X^2)-2E(X)*E(X)+(E(X))^2<\/p>\n<p>and then<\/p>\n<p>V(X)=E(X^2)-2(E(X))^2+(E(X))^2<\/p>\n<p>then finally<\/p>\n<p>V(X)=E(X^2)-(E(X))^2<\/p>\n<p>I&#8217;ll be verifying this variance formula with an actual list of values in a coming post.<\/p>\n<p>HTH:)<\/p>\n<p>Source:<\/p>\n<p>Ross, Sheldon A.  <u>A First Course in Probability<\/u>, 3rd ed.  New York:  Macmillan, 1988.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor offers proof of a formula he recalls from Stats. In my university Stats courses, a formula referred to often was V(X)=E(X^2)-(E(X))^2 in which V(X)=population variance E(X^2)=expected value of X^2 E(X)=expected value of X Here&#8217;s how I believe one &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/statistics-proof-of-vxex%c2%b2-ex%c2%b2\/\"> <span class=\"screen-reader-text\">Statistics:  Proof of V(X)=E(X\u00b2)-[E(X)]\u00b2<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[1286,1287,1285,1284],"class_list":["post-13597","post","type-post","status-publish","format-standard","hentry","category-statistics","tag-definition-of-variance-using-expected-values","tag-proof-of-variance-formula","tag-variance-formula","tag-variance-of-random-variable"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/13597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=13597"}],"version-history":[{"count":35,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/13597\/revisions"}],"predecessor-version":[{"id":30462,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/13597\/revisions\/30462"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=13597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=13597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=13597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}