{"id":11074,"date":"2019-01-21T19:14:11","date_gmt":"2019-01-21T18:14:11","guid":{"rendered":"http:\/\/djalil.chafai.net\/blog\/?p=11074"},"modified":"2019-04-25T21:41:44","modified_gmt":"2019-04-25T19:41:44","slug":"law-of-large-numbers","status":"publish","type":"post","link":"https:\/\/djalil.chafai.net\/blog\/2019\/01\/21\/law-of-large-numbers\/","title":{"rendered":"Law of large numbers"},"content":{"rendered":"\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" class=\"wp-image-9520\" src=\"http:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2017\/07\/Omega-1030x916.png\" alt=\"\" width=\"308\" height=\"274\" srcset=\"https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2017\/07\/Omega-1030x916.png 1030w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2017\/07\/Omega-300x267.png 300w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2017\/07\/Omega-768x683.png 768w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2017\/07\/Omega-150x133.png 150w, https:\/\/djalil.chafai.net\/blog\/wp-content\/uploads\/2017\/07\/Omega.png 2000w\" sizes=\"(max-width: 308px) 100vw, 308px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>This post is devoted to a quick proof of a version of the law of large numbers for <strong>non-negative<\/strong> random variables in $\\mathrm{L}^2$. It does not require independence or same distribution. It is a variant of the famous one for independent random variables bounded in $\\mathrm{L}^4$.<\/p>\r\n\r\n\r\n\r\n<p><strong>The statement.<\/strong> If $X_1,X_2,\\ldots$ are non-negative $\\mathrm{L}^2$ random variables on $(\\Omega,\\mathcal{A},\\mathbb{P})$ such that $\\lim_{n\\to\\infty}\\frac{1}{n}\\mathbb{E}(S_n)=\\ell\\in\\mathbb{R}$, and $\\mathrm{Var}(S_n)=\\mathcal{O}(n)$ where $S_n:=X_1+\\cdots+X_n$, then $$\\lim_{n\\to\\infty}\\frac{S_n}{n}=\\ell\\text{ almost surely}.$$<\/p>\r\n\r\n\r\n\r\n<p><strong>A proof.<\/strong> We have $$\\mathbb{E}\\Bigr(\\sum_n\\Bigr(\\frac{S_{n^2}-\\mathbb{E}(S_{n^2})}{n^2}\\Bigr)^2\\Bigr)=\\sum_n\\frac{\\mathrm{Var}(S_{n^2})}{n^4}=\\mathcal{O}\\Bigr(\\sum_n\\frac{1}{n^2}\\Bigr)&lt;\\infty.$$ It follows that $\\sum_n\\Bigr(\\frac{S_{n^2}-\\mathbb{E}(S_{n^2})}{n^2}\\Bigr)^2&lt;\\infty$ almost surely, which implies that $\\frac{S_{n^2}-\\mathbb{E}(S_{n^2})}{n^2}\\to0$ almost surely. This gives that $\\frac{1}{n^2}S_{n^2}\\to\\ell$ almost surely. It remains to use the sandwich$$\\frac{S_{n^2}}{n^2}\\frac{n^2}{(n+1)^2}\\leq\\frac{S_k}{k}\\leq\\frac{S_{(n+1)^2}}{(n+1)^2}\\frac{(n+1)^2}{n^2}$$ valid if $k$ is such that $n^2\\leq k\\leq (n+1)^2$ (here we use the non-negative nature of the $X$'s).<\/p>\r\n\r\n\r\n\r\n<p><strong>Note and further reading.<\/strong> I have learnt this proof recently from my friend <a href=\"http:\/\/djalil.chafai.net\/scripts\/search.php?q=Arnaud+Guyader+mathematics\">Arnaud Guyader<\/a> who found it in a <a href=\"https:\/\/arxiv.org\/abs\/1806.00989v2\">paper<\/a> (Theorem 5) by <a href=\"http:\/\/djalil.chafai.net\/scripts\/search.php?q=Bernard+Delyon+mathematics\">Bernard Delyon<\/a> and <a href=\"http:\/\/djalil.chafai.net\/scripts\/search.php?q=Fran%C3%A7ois+Portier+mathematics\">Fran\u00e7ois Portier<\/a>. It is probably a classic however. It is possible to drop the assumption of being non-negative by using $X=X_+-X_-$, but this would require to modify the remaining assumptions, increasing the complexity, see for instance Theorem 6.2 in Chapter 3 of <a href=\"\/scripts\/search.php?q=Erhan+Cinlar+mathematics\">Erhan \u00c7inlar<\/a> <a href=\"https:\/\/mathscinet.ams.org\/mathscinet-getitem?mr=2767184\">book<\/a> (and the blog post comments below). The proof above has the advantage of being quick and beautiful.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>This post is devoted to a quick proof of a version of the law of large numbers for non-negative random variables in $\\mathrm{L}^2$. It does&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/djalil.chafai.net\/blog\/2019\/01\/21\/law-of-large-numbers\/\">Continue reading<span class=\"screen-reader-text\">Law of large numbers<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":235},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/11074"}],"collection":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/comments?post=11074"}],"version-history":[{"count":84,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/11074\/revisions"}],"predecessor-version":[{"id":11464,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/posts\/11074\/revisions\/11464"}],"wp:attachment":[{"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/media?parent=11074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/categories?post=11074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/djalil.chafai.net\/blog\/wp-json\/wp\/v2\/tags?post=11074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}