{"id":390949,"date":"2025-03-02T22:17:29","date_gmt":"2025-03-03T04:17:29","guid":{"rendered":"https:\/\/win-vector.com\/?p=18147"},"modified":"2025-03-02T22:17:29","modified_gmt":"2025-03-03T04:17:29","slug":"best-before-dates-by-bass","status":"publish","type":"post","link":"https:\/\/www.r-bloggers.com\/2025\/03\/best-before-dates-by-bass\/","title":{"rendered":"Best Before Dates by Bass"},"content":{"rendered":"<!-- \r\n<div style=\"min-height: 30px;\">\r\n[social4i size=\"small\" align=\"align-left\"]\r\n<\/div>\r\n-->\r\n\r\n<div style=\"border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;\">\r\n[This article was first published on  <strong><a href=\"https:\/\/win-vector.com\/2025\/03\/02\/best-before-dates-by-bass\/\"> R \u2013 Win Vector LLC<\/a><\/strong>, and kindly contributed to <a href=\"https:\/\/www.r-bloggers.com\/\" rel=\"nofollow\">R-bloggers<\/a>].  (You can report issue about the content on this page <a href=\"https:\/\/www.r-bloggers.com\/contact-us\/\">here<\/a>)\r\n<hr>Want to share your content on R-bloggers?<a href=\"https:\/\/www.r-bloggers.com\/add-your-blog\/\" rel=\"nofollow\"> click here<\/a> if you have a blog, or <a href=\"http:\/\/r-posts.com\/\" rel=\"nofollow\"> here<\/a> if you don't.\r\n<\/div>\n<p>I was searching for one last real world example for my upcoming video talk March 13th on time series forecasting.<\/p>\n<p><center><br \/>\n<a href=\"https:\/\/app.aiplus.training\/courses\/Time-Series-Mastery\" rel=\"nofollow\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/i0.wp.com\/win-vector.com\/wp-content\/uploads\/2025\/03\/ts_note.png?resize=600%2C294&#038;ssl=1\" alt=\"Ts note\" title=\"ts_note.png\" border=\"0\" width=\"450\" \/><\/p>\n<p\/>\n<p>Hope to see you there! Or reach out to Win Vector LLC for custom training!<br \/>\n<\/a><br \/>\n<\/center><\/p>\n<p>I had the seemingly harmless thought: \u201cLet\u2019s look at <a href=\"https:\/\/stackoverflow.blog\/2017\/05\/09\/introducing-stack-overflow-trends\/\" rel=\"nofollow\" target=\"_blank\">Stack Overflow trends<\/a>\u201c. In particular their pre-built \u201cdata science and big data trends\u201d query seemed fun.<\/p>\n<p><img loading=\"lazy\" data-recalc-dims=\"1\" decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/i0.wp.com\/win-vector.com\/wp-content\/uploads\/2025\/03\/ds_2018.png?resize=656%2C398&#038;ssl=1\" alt=\"Ds 2018\" title=\"ds_2018.png\" border=\"0\" width=\"450\" \/><\/p>\n<p>This is a graph of the percentage of Stack Overflow questions tagged with data science terms such as R, Pandas, and so on. It seems to show exploding interest in R and Pandas, and maybe even Tensorflow. Pandas was likely chosen as a proxy for interest in Python for data science (versus a general interest in Python). I\u2019d prefer view counts over question percentages as a proxy of interest, but it is what it is.<\/p>\n<p>Then I thought, let\u2019s see if they have newer data. They do, and it is horrifying (though not unexpected to those of us in the industry).<\/p>\n<p><img loading=\"lazy\" data-recalc-dims=\"1\" decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/i0.wp.com\/win-vector.com\/wp-content\/uploads\/2025\/03\/ds_2025_sm.png?resize=656%2C418&#038;ssl=1\" alt=\"Ds 2025 sm\" title=\"ds_2025_sm.png\" border=\"0\" width=\"450\" \/><\/p>\n<p>The graph appears to show interest in R and Pandas rapidly falling. I know there are alternatives to Pandas (such as Polars), but my spot checks didn\u2019t show any of them taking Pandas\u2019s place. Likely we are seeing a big replacement of data science courses with LLM course work and projects. A relevant point is that ChatGPT was released in November of 2022.<\/p>\n<p>For laughs I digitized the results from the graph into numbers and used <a href=\"https:\/\/srdas.github.io\/MLBook\/productForecastingBassModel.html\" rel=\"nofollow\" target=\"_blank\">Sanjiv Ranjan Das\u2019s excellent book chapter \u201cProduct Market Forecasting using the Bass Model\u201d<\/a> to fit a good old Bass product diffusion model onto the data. The joke is that the Bass model assumes all products die. That isn\u2019t so much the prediction of the Bass model, but one of the assumptions of the model. The idea is: products go obsolete, and Bass helps estimate when.<\/p>\n<p>The Bass methodology gave me the following graph. Keep in mind: it forces this paraboloid like shape no matter what the data.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/i0.wp.com\/win-vector.com\/wp-content\/uploads\/2025\/03\/unnamed-chunk-4-1.png?resize=656%2C469&#038;ssl=1\" alt=\"Unnamed chunk 4 1\" title=\"unnamed-chunk-4-1.png\" border=\"0\" width=\"450\" \/><\/p>\n<p>As dire as the Bass curves are, they are not that far off yet. I did the analysis in R, so I am pleased it chose R (itself) to outlast the other systems :). All jokes aside: forecasting helps you plan and adapt.<\/p>\n\n<div style=\"border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;\">\r\n<div style=\"text-align: center;\">To <strong>leave a comment<\/strong> for the author, please follow the link and comment on their blog: <strong><a href=\"https:\/\/win-vector.com\/2025\/03\/02\/best-before-dates-by-bass\/\"> R \u2013 Win Vector LLC<\/a><\/strong>.<\/div>\r\n<hr \/>\r\n<a href=\"https:\/\/www.r-bloggers.com\/\" rel=\"nofollow\">R-bloggers.com<\/a> offers <strong><a href=\"https:\/\/feedburner.google.com\/fb\/a\/mailverify?uri=RBloggers\" rel=\"nofollow\">daily e-mail updates<\/a><\/strong> about <a title=\"The R Project for Statistical Computing\" href=\"https:\/\/www.r-project.org\/\" rel=\"nofollow\">R<\/a> news and tutorials about <a title=\"R tutorials\" href=\"https:\/\/www.r-bloggers.com\/how-to-learn-r-2\/\" rel=\"nofollow\">learning R<\/a> and many other topics. <a title=\"Data science jobs\" href=\"https:\/\/www.r-users.com\/\" rel=\"nofollow\">Click here if you're looking to post or find an R\/data-science job<\/a>.\r\n\r\n<hr>Want to share your content on R-bloggers?<a href=\"https:\/\/www.r-bloggers.com\/add-your-blog\/\" rel=\"nofollow\"> click here<\/a> if you have a blog, or <a href=\"http:\/\/r-posts.com\/\" rel=\"nofollow\"> here<\/a> if you don't.\r\n<\/div>","protected":false},"excerpt":{"rendered":"<div style = \"width:60%; display: inline-block; float:left; \"> I was searching for one last real world example for my upcoming video talk March 13th on time series forecasting. Hope to see you there! Or reach out to Win Vector LLC for custom training! I had the seemingly harmless thought: \u201cLet\u2019s look at Stack Overflow trends\u201c. In particular &#8230;<\/div>\n<div style = \"width: 40%; display: inline-block; float:right;\"><\/div>\n<div style=\"clear: both;\"><\/div>\n","protected":false},"author":293,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"aioseo_notices":[],"jetpack-related-posts":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/390949"}],"collection":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/users\/293"}],"replies":[{"embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/comments?post=390949"}],"version-history":[{"count":5,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/390949\/revisions"}],"predecessor-version":[{"id":393165,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/390949\/revisions\/393165"}],"wp:attachment":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/media?parent=390949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/categories?post=390949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/tags?post=390949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}