<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data Science on LittleBiggler</title><link>https://littlebiggler.com/tag/data_science/</link><description>Recent content in Data Science on LittleBiggler</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 29 Sep 2025 16:49:35 +0000</lastBuildDate><atom:link href="https://littlebiggler.com/tag/data_science/index.xml" rel="self" type="application/rss+xml"/><item><title>Regularization</title><link>https://littlebiggler.com/regularization/</link><pubDate>Mon, 29 Sep 2025 16:48:04 +0000</pubDate><guid>https://littlebiggler.com/regularization/</guid><description>&lt;p&gt;In hindsight, I was able to suss out a handful of insane outliers (like 25 sigma outliers) that were probably typos, and were most likely causing the regression line to whip back and forth like the infamous 2016 NYTimes election needle.&lt;/p&gt;&lt;p&gt;I thought I was dealing with multi-collinearity and simplex group problems only, but lurking in the data the entire time were some special surprises. It took me way too long to figure out what was going on I will never look at a box plot the same way again.&lt;/p&gt;</description></item><item><title>Bayes: Odds Vector Form</title><link>https://littlebiggler.com/bayes-the-cool-way/</link><pubDate>Thu, 14 Nov 2024 20:31:00 +0000</pubDate><guid>https://littlebiggler.com/bayes-the-cool-way/</guid><description>&lt;p&gt;Regardless of whether you subscribe to the view of causality as the ur-metaphor, the OVF will help you learn Bayes in a way that prepares you for more sophisticated pattern recognition.&lt;/p&gt;&lt;p&gt;Specifically, I hope to show how the &lt;strong&gt;Odds Vector Form &lt;/strong&gt;(hereinafter also referred to as the OVF) of Bayes Theorem yields better Bayes formulas than the most commonly used &lt;strong&gt;Probability Form&lt;/strong&gt;. The visual elegance of the vector form commits itself better to memory. Stripped of clunky redunancies, OVF Bayes allows one to add many more variable dimensions easily (by hand, even). A relatively junior coder could write a classification formula that doesn't rely on a library, or even use pencil and paper to calculate the posterior probability of complex scenarios. &lt;/p&gt;</description></item><item><title>When Is Now? A Secular Proof of the Existence of God</title><link>https://littlebiggler.com/a-secular-proof-of-the-existence-of-god/</link><pubDate>Wed, 11 Sep 2024 18:24:00 +0000</pubDate><guid>https://littlebiggler.com/a-secular-proof-of-the-existence-of-god/</guid><description>&lt;p&gt;At first glance, this post has nothing to do with data science. I hope that by the time you finish, you will understand why it has everything to do with data science. The connection is the distinction between objective reality (being an object) vs. being a trace of an object.&lt;/p&gt;</description></item><item><title>Your Own Personal Loss Function</title><link>https://littlebiggler.com/atax-atb/</link><pubDate>Wed, 29 May 2024 17:30:00 +0000</pubDate><guid>https://littlebiggler.com/atax-atb/</guid><description>&lt;p&gt;For me, heaven is a place where I can take every mathematics class that Professor Gilbert Strange ever taught. Most of the time, I find the pedestal narratives applied to professors at big research universities to be farcical. Why? In graduate school at UChicago, I found many of the tenured professors (who shall remain unnamed of course) to be pompous and not only uninterested in teaching, but actually contemptuous of it. Not Gil Strang, though. Gil Strang wanted to teach, and did it well. He deserves to be lionized, misogynistic jokes about Monica Lewinsky notwithstanding (it's a fallen world, after all). Last year, Professor Strang gave his &lt;a href="https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/pages/final-1806-lecture-2023/"&gt;final lecture&lt;/a&gt;. I expect he will not even know what a legend he truly is until Judgment Day.&lt;/p&gt;</description></item><item><title>Baking With Math: Bootstrapping</title><link>https://littlebiggler.com/baking-with-math-bootstrapping/</link><pubDate>Fri, 01 Mar 2024 19:54:40 +0000</pubDate><guid>https://littlebiggler.com/baking-with-math-bootstrapping/</guid><description>&lt;p&gt;Bootstrapping is an option you take when the data in hand is kind of shitty, so you shuffle it, and resample it to clone more data, and pray that the clone represents reality (the population).&lt;/p&gt;&lt;p&gt;Standard deviation, if you recall from our Baking With Math series, is a measure of how well mixed your batter, which represents, portentously, reality, is. If you take a bunch of spoonful's of your batter, in other words, the mean mixed-upness of those spoonfuls is fairly likely to represent how mixed up the data is in the population. You could get one spoonful that is mostly egg vs not-egg, and get one spoonful that is mostly sugar vs not-sugar, and still your mixed-upness gauge could still be accurate with respect to the overall population.&lt;/p&gt;</description></item><item><title>Counter-Factual Universe</title><link>https://littlebiggler.com/hypothesis-wresting/</link><pubDate>Mon, 29 Jan 2024 15:31:17 +0000</pubDate><guid>https://littlebiggler.com/hypothesis-wresting/</guid><description>&lt;p&gt;"The Null Hypothesis" is a theoretical alternate universe, used to measure statistical significance. The standard deviation and mean are quantitative measures, used to bootstrap or simulate the probability distribution of a given facet of your alternate universe. &lt;/p&gt;&lt;p&gt;If the piece of evidence you encountered, were it found your alternate universe, would be super super super super super super super &lt;em&gt;duper&lt;/em&gt; unlikely, then your alternate universe probably isn't reality, which means your null hypothesis should probably be rejected.&lt;/p&gt;</description></item><item><title>A New Way to Visualize Bayes</title><link>https://littlebiggler.com/how-to-visualize-bayes/</link><pubDate>Mon, 02 Oct 2023 19:23:00 +0000</pubDate><guid>https://littlebiggler.com/how-to-visualize-bayes/</guid><description>&lt;p&gt;A lot of instructional resources go into visualizing Bayes Theorem, to help the visual learners out there. This post is about how I was ultimately able to wrap my head around Bayes. I hope it is helpful to you!&lt;/p&gt;&lt;h2 id="you-wanna-bet-you-can-derive-bayes"&gt;You Wanna Bet You Can Derive Bayes?&lt;/h2&gt;&lt;p&gt;First of all, as we proceed through this exercise, I want everyone to understand that Bayes Theorem is nothing special. Don't get me wrong!!! The Bayes formula is elegant because of its almost infantile &lt;em&gt;simplicity.&lt;/em&gt; Bayes distills the quintessential formula by which humans learn about the world. And compute power unleashed by modern semiconductors has enabled machines to crunch countless parameters very quickly, so as to yield highly accurate predictions. None of this is unimpressive... But let's not lose sight, in spite of all of the hype, of how simple and mundane the core idea of Bayes' Theorem is.&lt;/p&gt;</description></item><item><title>Labor Force Participation and "Disability"</title><link>https://littlebiggler.com/labor-force-participation-and-social-security-disability/</link><pubDate>Wed, 20 Sep 2023 14:39:46 +0000</pubDate><guid>https://littlebiggler.com/labor-force-participation-and-social-security-disability/</guid><description>&lt;figure class="kg-card kg-image-card kg-card-hascaption"&gt;&lt;img src="https://littlebiggler.com/content/images/2023/09/Screenshot-2023-09-19-at-1.55.11-PM.png" class="kg-image" alt loading="lazy" width="1136" height="888" srcset="https://littlebiggler.com/content/images/size/w600/2023/09/Screenshot-2023-09-19-at-1.55.11-PM.png 600w, https://littlebiggler.com/content/images/size/w1000/2023/09/Screenshot-2023-09-19-at-1.55.11-PM.png 1000w, https://littlebiggler.com/content/images/2023/09/Screenshot-2023-09-19-at-1.55.11-PM.png 1136w" sizes="(min-width: 720px) 720px"&gt;&lt;figcaption&gt;Data Source: Bureau of Labor Statistics - Labor Force Participation&lt;/figcaption&gt;&lt;/figure&gt;&lt;p&gt;In &lt;a href="https://littlebiggler.com/labor-force-participation-vs-fertility/"&gt;another post&lt;/a&gt; I explored the relationship between labor force participation for women, versus fertility rates. In that analysis, I stumbled upon the fact that women's labor force participation in the United States peaked around 2008, and has only declined since then. Initially, I thought this could be due to millennial women dropping out of the labor force to raise babies, since the fertility data shows that women in their thirties are having more babies now than they did in decades past.&lt;/p&gt;</description></item><item><title>Women's Labor Force Participation vs. Fertility</title><link>https://littlebiggler.com/labor-force-participation-vs-fertility/</link><pubDate>Wed, 30 Aug 2023 16:35:16 +0000</pubDate><guid>https://littlebiggler.com/labor-force-participation-vs-fertility/</guid><description>&lt;figure class="kg-card kg-image-card kg-card-hascaption"&gt;&lt;img src="https://littlebiggler.com/content/images/2023/09/Screenshot-2023-09-19-at-1.19.40-PM.png" class="kg-image" alt loading="lazy" width="1862" height="888" srcset="https://littlebiggler.com/content/images/size/w600/2023/09/Screenshot-2023-09-19-at-1.19.40-PM.png 600w, https://littlebiggler.com/content/images/size/w1000/2023/09/Screenshot-2023-09-19-at-1.19.40-PM.png 1000w, https://littlebiggler.com/content/images/size/w1600/2023/09/Screenshot-2023-09-19-at-1.19.40-PM.png 1600w, https://littlebiggler.com/content/images/2023/09/Screenshot-2023-09-19-at-1.19.40-PM.png 1862w" sizes="(min-width: 720px) 720px"&gt;&lt;figcaption&gt;Data Sources: United Nations Population Division and US Bureau of Labor Statistics&lt;/figcaption&gt;&lt;/figure&gt;&lt;p&gt;In his excellent book, &lt;em&gt;The Decadent Society&lt;/em&gt;, Ross Douthat observes that women tend to go on strike, when society expects them to have children &lt;em&gt;and&lt;/em&gt; a career. And they go on strike, not by demanding better working conditions, which might be more conducive to having children. They go on strike by refusing to have children. &lt;/p&gt;</description></item><item><title>Big Data Public School Rankings</title><link>https://littlebiggler.com/what-makes-schools-great/</link><pubDate>Thu, 29 Sep 2022 17:23:03 +0000</pubDate><guid>https://littlebiggler.com/what-makes-schools-great/</guid><description>&lt;p&gt;&lt;/p&gt;&lt;h2 id="who-cares-about-good-schools"&gt;Who cares about "Good Schools"?&lt;/h2&gt;&lt;p&gt;Do me a favor: Pull up a real estate listing online... Maybe it's the dream house you have saved on Zillow, or a starter apartment near your job. Maybe you were not previously aware that &lt;em&gt;every single real estate listing&lt;/em&gt; displays public school rankings. Go ahead, find the school rating on that property listing. It is there, and if you are a parent, it's often the first thing you scroll down for.&lt;/p&gt;</description></item></channel></rss>