{"id":1062,"date":"2012-03-04T20:42:17","date_gmt":"2012-03-04T19:42:17","guid":{"rendered":"http:\/\/kudzia.eu\/b\/?p=1062"},"modified":"2013-10-05T11:52:29","modified_gmt":"2013-10-05T10:52:29","slug":"benfords-law","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2012\/03\/benfords-law\/","title":{"rendered":"Benford&#8217;s law"},"content":{"rendered":"<p>by a coincidence [process well described in <a href=\"http:\/\/xkcd.com\/214\/\">this<\/a> xkcd&#8217;s comics] i&#8217;ve stumbled on the definition of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Benford's_law\">Benford&#8217;s law<\/a>. since i have access to quite a lot of different <a href=\"http:\/\/www.macrobond.com\">economic &#038; financial data<\/a> i&#8217;ve decided to check if that law applies also to it.<br \/>\n<!--more--><br \/>\ni&#8217;ve run small php script that checked over 6M of the time series, 2.8 billion data points and got following results:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n0       *******************                             393035420\r\n1       ****************************************        790481134\r\n2       ********************                            405428774\r\n3       **************                                  277812594 \r\n4       ***********                                     226251500 \r\n5       *********                                       189978617 \r\n6       *******                                         154348863 \r\n7       ******                                          128284078 \r\n8       *****                                           113745540 \r\n9       ******                                          128609876 \r\n<\/pre>\n<p>pretty neat. the data i have access to is well behaved and obeys that law [except observations starting with 9] <\/p>\n","protected":false},"excerpt":{"rendered":"<p>by a coincidence [process well described in this xkcd&#8217;s comics] i&#8217;ve stumbled on the definition of Benford&#8217;s law. since i have access to quite a lot of different economic &#038; financial data i&#8217;ve decided to check if that law applies also to it.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-1062","post","type-post","status-publish","format-standard","hentry","category-non-tech"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/1062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=1062"}],"version-history":[{"count":8,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/1062\/revisions"}],"predecessor-version":[{"id":1930,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/1062\/revisions\/1930"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=1062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=1062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=1062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}