{"id":4351,"date":"2009-12-20T15:28:57","date_gmt":"2009-12-20T15:28:57","guid":{"rendered":"http:\/\/scienceblogs.com\/principles\/2009\/12\/20\/quantization-of-books-2-what-d\/"},"modified":"2009-12-20T15:28:57","modified_gmt":"2009-12-20T15:28:57","slug":"quantization-of-books-2-what-d","status":"publish","type":"post","link":"http:\/\/chadorzel.com\/principles\/2009\/12\/20\/quantization-of-books-2-what-d\/","title":{"rendered":"Quantization of Books 2: What Does One Sale Get You?"},"content":{"rendered":"<p>I&#8217;ve been playing around with the <a href=\"http:\/\/www.mbeckler.org\/dog_physics\/\">spiffy sales rank tracker Matthew Beckler wrote<\/a>, because I&#8217;m a great big dork, and enjoy playing with graphs. Here&#8217;s a graph of the sales rank vs. time through 2pm EST today (plotted in Excel from the data table at the bottom of the page):<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/wp-content\/blogs.dir\/467\/files\/2012\/04\/i-0161ea59165fb0e4149e757362742da9-sales_rank_122009.jpg\" alt=\"i-0161ea59165fb0e4149e757362742da9-sales_rank_122009.jpg\" \/><\/p>\n<p>As I noted in <a href=\"http:\/\/scienceblogs.com\/principles\/2009\/12\/quantization_of_books.php\">my previous post on this<\/a>, the downward-going jumps are striking, and probably indicate discrete book purchase events. There also seems to be a clear trend that jumps starting at higher numbers are larger than jumps starting at lower numbers. If we assume that&#8217;s the case, what does that tell us about the relationship between number of sales and sales rank?<\/a><\/p>\n<p><!--more--><\/p>\n<p>Here&#8217;s a graph of the size of the downward-going jump as a function of the sales rank at the time of the jump (I took the absolute value, so all the axes increase in the normal directions):<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/wp-content\/blogs.dir\/467\/files\/2012\/04\/i-ff39944edb1bd85ce24739966bbc395e-sales_delta_122009.jpg\" alt=\"i-ff39944edb1bd85ce24739966bbc395e-sales_delta_122009.jpg\" \/><\/p>\n<p>That&#8217;s remarkably linear for such dodgy data&#8211; astronomers and social scientists would kill for graphs this clean. If you fit a line to the whole set, the slope is around 0.42; if you throw out the four really small points in the 70,000 range, it&#8217;s 0.48. So the sale of a single book (assuming those jumps are individual sales) changes a book&#8217;s ranking by about 400 spots for every 1,000 places in the initial ranking. The two outliers above the line turn out to be glitches in the file, places where one point didn&#8217;t get read in properly (2 errors out of 160-odd points is pretty good for Excel).<\/p>\n<p>Of course, this model predicts the effect of a single sale should go to zero at a rank of about 14,000 (18,000 if you throw out the outliers), so it&#8217;s obviously not perfect, but I&#8217;m amazed that it looks that linear.<\/p>\n<p>What about the other direction? Here&#8217;s a plot of the change in rank for an hour with no sales, as a function of the rank at that time:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/wp-content\/blogs.dir\/467\/files\/2012\/04\/i-6feb18479b565859bec9e6d129e4d1fb-no_sales_delta_122009.jpg\" alt=\"i-6feb18479b565859bec9e6d129e4d1fb-no_sales_delta_122009.jpg\" \/><\/p>\n<p>That&#8217;s much messier, but I wouldn&#8217;t expect it to be very good. Looking at the data, some sort of exponential decay with a time constant of 8-12 hours is probably a better model. That sort of data massage is not something I know an easy way to do in Excel, though, so it&#8217;ll have to wait until I&#8217;m at work and have access to SigmaPlot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been playing around with the spiffy sales rank tracker Matthew Beckler wrote, because I&#8217;m a great big dork, and enjoy playing with graphs. Here&#8217;s a graph of the sales rank vs. time through 2pm EST today (plotted in Excel from the data table at the bottom of the page): As I noted in my&hellip; <a class=\"more-link\" href=\"http:\/\/chadorzel.com\/principles\/2009\/12\/20\/quantization-of-books-2-what-d\/\">Continue reading <span class=\"screen-reader-text\">Quantization of Books 2: What Does One Sale Get You?<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67,18,9,7,51,61,37,132,11,52,56],"tags":[],"class_list":["post-4351","post","type-post","status-publish","format-standard","hentry","category-book_writing","category-books","category-math","category-physics","category-physics_books","category-physics_with_emmy","category-pop_culture","category-publicity","category-science","category-science_books","category-technology","entry"],"_links":{"self":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/4351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/comments?post=4351"}],"version-history":[{"count":0,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/4351\/revisions"}],"wp:attachment":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/media?parent=4351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/categories?post=4351"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/tags?post=4351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}