<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Purple State Statistics on Medium]]></title>
        <description><![CDATA[Stories by Purple State Statistics on Medium]]></description>
        <link>https://medium.com/@purplestatestat?source=rss-b9a7874b9eb7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sq-XRKP2QgcMKio1qi3Q7A.jpeg</url>
            <title>Stories by Purple State Statistics on Medium</title>
            <link>https://medium.com/@purplestatestat?source=rss-b9a7874b9eb7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:20:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@purplestatestat/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why do songs get stuck in our heads?]]></title>
            <link>https://medium.com/@purplestatestat/why-do-songs-get-stuck-in-our-heads-210e82e93f5a?source=rss-b9a7874b9eb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/210e82e93f5a</guid>
            <category><![CDATA[music]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[psychology]]></category>
            <dc:creator><![CDATA[Purple State Statistics]]></dc:creator>
            <pubDate>Fri, 04 Nov 2016 23:04:11 GMT</pubDate>
            <atom:updated>2016-11-05T00:12:24.969Z</atom:updated>
            <content:encoded><![CDATA[<p>A new paper by an international group has a fascinating answer. Here’s the citation; the hyperlink takes you straight to the PDF:</p><p><a href="http://www.apa.org/pubs/journals/releases/aca-aca0000090.pdf">Jakubowski, K., Finkel, S., Stewart, L., &amp; Müllensiefen, D. (2016, November 3). Dissecting an Earworm: Melodic Features and Song Popularity Predict Involuntary Musical Imagery. <em>Psychology of Aesthetics, Creativity, and the Arts</em>. Advance online publication.</a></p><p>The New York Times — Science has <a href="http://nyti.ms/2fgF3y5">an article about it</a>. The article has some great background and tangential information, but doesn’t actually explain the paper! Which is frustrating. So I’ll do it for them.</p><p>Jakubowski and her colleagues used a machine learning technique called <a href="https://en.wikipedia.org/wiki/Random_forest">random forest</a> (I won’t go into details for two reasons: A) I don’t actually know how this works, and B) the details don’t matter). Machine learning, simply put, is all about <em>classification</em>: given a whole bunch of information about something, which category (usually out of a small number of choices) does it belong to? Classification by machine learning has tons of applications. For example, given a whole bunch of information about a pregnant Zika patient’s medical history, <a href="http://www.healthcareitnews.com/news/mit-professors-quick-primer-two-types-machine-learning-healthcare">is she likely to have a baby with birth defects</a>? Given a whole bunch of information about a cancer patient’s demographics and lifestyle, <a href="http://www.omicsonline.org/using-three-machine-learning-techniques-for-predicting-breast-cancer-2157-7420.1000124.php?aid=13087">is she likely to have a recurrence</a>? Given a whole bunch of information about someone’s brain activity, <a href="https://www.theguardian.com/science/2010/feb/03/vegetative-state-patient-communication">is he more likely to be thinking about a house or about playing tennis (this is important, because it might be a way to communicate with unresponsive patients)</a>. Given a whole bunch of information on someone’s shopping and internet browsing habits, <a href="http://www.forbes.com/sites/kashmirhill/2012/02/16/how-target-figured-out-a-teen-girl-was-pregnant-before-her-father-did/#3de984f734c6">can you figure out if she’s pregnant or not</a>? In all of these cases, you need a lot of information, from a lot of different people or things. The “learning” part is when a computer figures out <em>which pieces of information are important</em>, and <em>what they tell us</em>. The “classification” part is when the computer takes what it’s learned and applies it to a new case, like a new patient or a new brain scan.</p><p>Jakubowski and colleagues used a platform called FANTASTIC to turn 14,063 different songs into data points. For each song, FANTASTIC extracted <em>features</em>, or individual pieces of information. For example, is the song in a major or minor key? How high does the pitch go? How low does the pitch go? Then, for every song, they also collected data about how likely it was to get stuck in someone’s head, to become an earworm, or as they dryly call it, “involuntary musical imagery”. It’s like taking thousands of cancer patients and keeping track of what they eat, how much they exercise, whether they smoke, and so on, in order to predict their health outcomes. But here, they were looking at all sorts of musical features, trying to predict <em>how likely is this song to get stuck in my head?</em></p><p>What’s awesome about this study? <em>They narrowed it down to three things</em>.</p><p>First of all, they disposed of obvious things like how recently you heard the songs or how often you’ve heard it. Those obviously predict whether a song gets stuck in your head, but it’s not <em>interesting</em>, because it’s not something <em>inherent</em> about the song.</p><h3>1. Tempo</h3><p>Faster songs were more likely to be earworms! The effect was only marginally significant though, and might have more to with being entrained to rhythms in our lives, like hearing a song while you’re walking. That’s interesting in its own right, but still doesn’t tell us about intrinsic properties of songs that get stuck in your head.</p><h3>2. Global Contour</h3><p>This refers to the overall “shape” of a melodic phrase; how it rises and falls over the course of a few seconds. Songs with more common contours were more likely to become earworms. One common contour is the “melodic arch”, where a melody gradually rises and then comes back down.</p><blockquote><em>Example (from the paper): </em><a href="https://www.youtube.com/watch?v=zUwEIt9ez7M">Smoke on the Water</a><em> by Deep Purple</em></blockquote><blockquote><em>Example (from me)*: </em><a href="https://www.youtube.com/watch?v=Wod-MudLNPA">Ode to Joy</a><em> by Ludwig van Beethoven</em></blockquote><p>An uncommon global contour might be a series of ascending melodic lines that don’t come back down.</p><blockquote><em>Example (from the paper): </em><a href="https://www.youtube.com/watch?v=vpIduDaggVA">Owner of a Lonely Heart</a> <em>by Yes</em></blockquote><h3>3. Gradient of melodic lines between contour turning points</h3><p>This one takes a little more unpacking. A<em> turning point</em> in a melody occurs when the pitch changes direction, for example, when “pitches were ascending and then switch to a descending patter or vice versa”. The gradient of a melodic line measures how far up or down the melody jumps. Unlike with global contours, <em>uncommon</em> gradients are more likely to become earworms than common ones. Common gradients, that are less likely to become earworms, tend to be smaller, such as stepwise motion…</p><blockquote><em>Example (from the paper): </em><a href="https://www.youtube.com/watch?v=MH6TJU0qWoY">Lucky Man</a> <em>by the Verve</em></blockquote><blockquote><em>Example (from me)*: </em><a href="https://www.youtube.com/watch?v=sxSEW3sUitA">Why Don’t you Get a Job</a><em> by The Offspring (lyrics start at 0:15 sec and are NOT safe for work)</em></blockquote><p>…or even no motion at all.</p><blockquote><em>Example (from the paper): </em><a href="https://www.youtube.com/watch?v=ilnnMzK_m8w">Intergalactic </a><em>by the Beastie Boys (the stationary but awesome droning starts at 0:37 sec)</em></blockquote><p>Songs that are more likely to become earworms have uncommon gradients, often taking the form of melodic “leaps”. Either lots of small leaps…</p><blockquote><em>Example (from the paper): </em><a href="https://www.youtube.com/watch?v=_CI-0E_jses">In the Mood</a> <em>by Glenn Miller</em></blockquote><p>…or a few very large leaps</p><blockquote><em>Example (from the paper): </em><a href="https://www.youtube.com/watch?v=g1T71PGd-J0">My Sharona</a><em> by The Knack (the bass line has lots of jumps, but the melody is super stationary. Hmmm)</em></blockquote><blockquote><em>Example (from me)*: </em><a href="https://www.youtube.com/watch?v=mDJ7oYX4FY4">Me and the Moon</a> <em>by Something Corporate (the chorus with the large leaps starts at 1:16)</em></blockquote><p>That’s it! You can decide whether or not you agree with the conclusions, but this is a great example of the data speaking for <a href="http://www.quickanddirtytips.com/education/grammar/is-data-singular-or-plural?page=1">itself</a>. Science!</p><p>*I’m not totally sure that, mathematically, my examples would have come out the way I think they would. So take it with a grain of salt, as an example of each musical concept.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=210e82e93f5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>