<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "JATS-journalpublishing1.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">JDS</journal-id>
<journal-title-group><journal-title>Journal of Data Science</journal-title></journal-title-group>
<issn pub-type="epub">1683-8602</issn><issn pub-type="ppub">1680-743X</issn><issn-l>1680-743X</issn-l>
<publisher>
<publisher-name>School of Statistics, Renmin University of China</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">JDS1256</article-id>
<article-id pub-id-type="doi">10.6339/26-JDS1256</article-id>
<article-categories><subj-group subj-group-type="heading">
<subject>Statistical Data Science</subject></subj-group></article-categories>
<title-group>
<article-title>Analysis of Popular Songs Through Statistical Embeddings</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0003-2889-5857</contrib-id>
<name><surname>Esmaili Mallory</surname><given-names>Matthew</given-names></name><email xlink:href="mailto:matthewmallory@fas.harvard.edu">matthewmallory@fas.harvard.edu</email><xref rid="j_jds1256_aff_001" ref-type="aff">1</xref><xref rid="cor1" ref-type="corresp">∗</xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Glickman</surname><given-names>Mark E.</given-names></name><xref rid="j_jds1256_aff_001" ref-type="aff">1</xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Brown</surname><given-names>Jason I.</given-names></name><xref rid="j_jds1256_aff_002" ref-type="aff">2</xref>
</contrib>
<aff id="j_jds1256_aff_001"><label>1</label>Department of Statistics, <institution>Harvard University</institution>, Cambridge, MA, <country country="US">United States</country></aff>
<aff id="j_jds1256_aff_002"><label>2</label>Department of Mathematics &amp; Statistics, <institution>Dalhousie University</institution>, Halifax, NS, <country country="CA">Canada</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>∗</label>Corresponding author. Email: <ext-link ext-link-type="uri" xlink:href="matthewmallory@fas.harvard.edu">matthewmallory@fas.harvard.edu</ext-link>.</corresp>
</author-notes>
<pub-date pub-type="ppub"><year>2026</year></pub-date><pub-date pub-type="epub"><day>24</day><month>11</month><year>2026</year></pub-date><volume content-type="ahead-of-print">0</volume><issue>0</issue><fpage>1</fpage><lpage>17</lpage><supplementary-material id="S1" xlink:href="https://doi.org/10.7910/DVN/XPUQCL">
<caption>
<title>Supplementary Material</title>
<p>The supplementary material for this article is available on the official website of the Journal of Data Science at <ext-link ext-link-type="uri" xlink:href="https://jds-online.org/" xlink:type="simple">https://jds-online.org/</ext-link>. It may include additional results, appendices, tables, figures, code, and data.</p>
</caption>
</supplementary-material><history><date date-type="received"><day>23</day><month>4</month><year>2026</year></date><date date-type="accepted"><day>9</day><month>11</month><year>2026</year></date></history>
<permissions><copyright-statement>© 2026 The Author(s). Published by the School of Statistics and the Center for Applied Statistics, Renmin University of China.</copyright-statement><copyright-year>2026</copyright-year>
<license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>Open access article under the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">CC BY</ext-link> license.</license-p></license></permissions>
<abstract>
<p>Statistical modeling of popular music presents a unique challenge due to the complexity of song structures, which cannot be easily analyzed using conventional statistical tools. However, recent advances in data science have shown that converting non-standard data objects into real vector-valued embeddings enables meaningful statistical analysis. In this work, we develop an approach based on logistic principal component analysis to construct embeddings from vectors of binary musical features, allowing the use of standard multivariate methods on data that are otherwise difficult to model. The method is general, applying to any corpus in which songs are represented as binary indicators of musical features. As an illustrative application, we analyze a corpus of Lennon and McCartney songs from 1962–1966, using embeddings derived from chords, melodic notes, chord and pitch transitions, and melodic contours. Our analysis explores how these song embeddings cluster by Beatles album, how songwriting styles evolved over time, and whether Lennon and McCartney’s compositions exhibited convergence or divergence. All reported patterns are conditional on this corpus and on the fixed set of binary features used to construct the embeddings. This embedding-based approach offers a general framework for statistically examining musical structure and stylistic development in popular music.</p>
</abstract>
<kwd-group>
<label>Keywords</label>
<kwd>feature representation</kwd>
<kwd>Lennon and McCartney</kwd>
<kwd>logistic PCA</kwd>
<kwd>popular music</kwd>
<kwd>song structure</kwd>
</kwd-group>
<funding-group><funding-statement>Esmaili Mallory is supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE 2140743.</funding-statement></funding-group>
</article-meta>
</front>
<body/>
<back>
<ref-list id="j_jds1256_reflist_001">
<title>References</title>
<ref id="j_jds1256_ref_001">
<mixed-citation publication-type="other">Bergomi MG (2015). Dynamical and topological tools for (modern) music analysis, Ph.D. thesis, University of Milan, Milan, Italy.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_002">
<mixed-citation publication-type="book"><string-name><surname>Boehmke</surname> <given-names>B</given-names></string-name>, <string-name><surname>Greenwell</surname> <given-names>BM</given-names></string-name> (<year>2019</year>). <source>Hands-on Machine Learning with R</source>. <publisher-name>Chapman &amp; Hall/CRC</publisher-name>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_003">
<mixed-citation publication-type="journal"><string-name><surname>Breiman</surname> <given-names>L</given-names></string-name> (<year>2001</year>). <article-title>Random forests</article-title>. <source>Machine Learning</source>, <volume>45</volume>(<issue>1</issue>): <fpage>5</fpage>–<lpage>32</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1023/A:1010933404324">https://doi.org/10.1023/A:1010933404324</ext-link></mixed-citation>
</ref>
<ref id="j_jds1256_ref_004">
<mixed-citation publication-type="chapter"><string-name><surname>Brown</surname> <given-names>TB</given-names></string-name>, <string-name><surname>Mann</surname> <given-names>B</given-names></string-name>, <string-name><surname>Ryder</surname> <given-names>N</given-names></string-name>, <string-name><surname>Subbiah</surname> <given-names>M</given-names></string-name>, <string-name><surname>Kaplan</surname> <given-names>JD</given-names></string-name>, …, <string-name><surname>Amodei</surname> <given-names>D</given-names></string-name> (<year>2020</year>). <chapter-title>Language models are few-shot learners</chapter-title>. In: <source>Advances in Neural Information Processing Systems</source> (<string-name><given-names>H</given-names> <surname>Larochelle</surname></string-name>, <string-name><given-names>M</given-names> <surname>Ranzato</surname></string-name>, <string-name><given-names>R</given-names> <surname>Hadsell</surname></string-name>, <string-name><given-names>MF</given-names> <surname>Balcan</surname></string-name>, <string-name><given-names>H</given-names> <surname>Lin</surname></string-name>, eds.), volume <volume>33</volume>, <fpage>1877</fpage>–<lpage>1901</lpage>. <publisher-name>Curran Associates, Inc.</publisher-name></mixed-citation>
</ref>
<ref id="j_jds1256_ref_005">
<mixed-citation publication-type="chapter"><string-name><surname>Burgoyne</surname> <given-names>JA</given-names></string-name>, <string-name><surname>Wild</surname> <given-names>J</given-names></string-name>, <string-name><surname>Fujinaga</surname> <given-names>I</given-names></string-name> (<year>2013</year>). <chapter-title>Compositional data analysis of harmonic structures in popular music</chapter-title>. In: <source>Mathematics and Computation in Music</source> (<string-name><given-names>J</given-names> <surname>Yust</surname></string-name>, <string-name><given-names>J</given-names> <surname>Wild</surname></string-name>, <string-name><given-names>JA</given-names> <surname>Burgoyne</surname></string-name>, eds.), volume <volume>7937</volume> of <series><italic>Lecture Notes in Computer Science</italic></series>, <fpage>52</fpage>–<lpage>63</lpage>. <publisher-name>Springer Berlin Heidelberg</publisher-name>, <publisher-loc>Berlin, Heidelberg</publisher-loc>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_006">
<mixed-citation publication-type="chapter"><string-name><surname>Collins</surname> <given-names>M</given-names></string-name>, <string-name><surname>Dasgupta</surname> <given-names>S</given-names></string-name>, <string-name><surname>Schapire</surname> <given-names>RE</given-names></string-name> (<year>2001</year>). <chapter-title>A generalization of principal components analysis to the exponential family</chapter-title>. In: <source>Advances in Neural Information Processing Systems</source> (<string-name><given-names>TG</given-names> <surname>Dietterich</surname></string-name>, <string-name><given-names>S</given-names> <surname>Becker</surname></string-name>, <string-name><given-names>Z</given-names> <surname>Ghahramani</surname></string-name>, eds.), volume <volume>14</volume>, <fpage>617</fpage>–<lpage>624</lpage>. <publisher-name>MIT Press</publisher-name>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_007">
<mixed-citation publication-type="journal"><string-name><surname>de Leeuw</surname> <given-names>J</given-names></string-name> (<year>2006</year>). <article-title>Principal component analysis of binary data by iterated singular value decomposition</article-title>. <source>Computational Statistics &amp; Data Analysis</source>, <volume>50</volume>(<issue>1</issue>): <fpage>21</fpage>–<lpage>39</lpage>. <comment>2nd Special issue on Matrix Computations and Statistics</comment>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_008">
<mixed-citation publication-type="chapter"><string-name><surname>Devlin</surname> <given-names>J</given-names></string-name>, <string-name><surname>Chang</surname> <given-names>MW</given-names></string-name>, <string-name><surname>Lee</surname> <given-names>K</given-names></string-name>, <string-name><surname>Toutanova</surname> <given-names>K</given-names></string-name> (<year>2019</year>). <chapter-title>BERT: Pre-training of deep bidirectional transformers for language understanding</chapter-title>. In: <source>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source> (<string-name><given-names>J</given-names> <surname>Burstein</surname></string-name>, <string-name><given-names>C</given-names> <surname>Doran</surname></string-name>, <string-name><given-names>T</given-names> <surname>Solorio</surname></string-name>, eds.), volume <volume>1</volume>, <fpage>4171</fpage>–<lpage>4186</lpage>. <publisher-name>Association for Computational Linguistics</publisher-name>, <publisher-loc>Minneapolis, Minnesota</publisher-loc>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_009">
<mixed-citation publication-type="journal"><string-name><surname>Glickman</surname> <given-names>M</given-names></string-name>, <string-name><surname>Brown</surname> <given-names>J</given-names></string-name>, <string-name><surname>Song</surname> <given-names>R</given-names></string-name> (<year>2019</year>). <article-title>A data in the life: Authorship attribution in Lennon–McCartney songs</article-title>. <source>Harvard Data Science Review</source>, <volume>1</volume>(<issue>1</issue>).</mixed-citation>
</ref>
<ref id="j_jds1256_ref_010">
<mixed-citation publication-type="other">Harris J (2013). The Beatles—all these years. Volume one: Tune in by Mark Lewisohn—review. The Guardian.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_011">
<mixed-citation publication-type="journal"><string-name><surname>Landgraf</surname> <given-names>AJ</given-names></string-name>, <string-name><surname>Lee</surname> <given-names>Y</given-names></string-name> (<year>2020</year>). <article-title>Dimensionality reduction for binary data through the projection of natural parameters</article-title>. <source>Journal of Multivariate Analysis</source>, <volume>180</volume>: <elocation-id>104668</elocation-id>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1016/%5Cprotect%20%5Cpenalty%20%5Cz@%20j.jmva.2020.104668">https://doi.org/10.1016/j.jmva.2020.104668</ext-link></mixed-citation>
</ref>
<ref id="j_jds1256_ref_012">
<mixed-citation publication-type="journal"><string-name><surname>Lee</surname> <given-names>S</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>JZ</given-names></string-name>, <string-name><surname>Hu</surname> <given-names>J</given-names></string-name> (<year>2010</year>). <article-title>Sparse logistic principal components analysis for binary data</article-title>. <source>Annals of Applied Statistics</source>, <volume>4</volume>(<issue>3</issue>): <fpage>1579</fpage>–<lpage>1601</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1214/10-AOAS327" xlink:type="simple">https://doi.org/10.1214/10-AOAS327</ext-link></mixed-citation>
</ref>
<ref id="j_jds1256_ref_013">
<mixed-citation publication-type="book"><string-name><surname>Lennon</surname> <given-names>J</given-names></string-name>, <string-name><surname>Sheff</surname> <given-names>D</given-names></string-name>, <string-name><surname>Ono</surname> <given-names>Y</given-names></string-name> (<year>2020</year>). <source>All We Are Saying: The Last Major Interview with John Lennon and Yoko Ono</source>. <publisher-name>Pan Macmillan</publisher-name>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_014">
<mixed-citation publication-type="chapter"><string-name><surname>Mikolov</surname> <given-names>T</given-names></string-name>, <string-name><surname>Chen</surname> <given-names>K</given-names></string-name>, <string-name><surname>Corrado</surname> <given-names>G</given-names></string-name>, <string-name><surname>Dean</surname> <given-names>J</given-names></string-name> (<year>2013</year>). <chapter-title>Efficient estimation of word representations in vector space</chapter-title>. In: <source>1st International Conference on Learning Representations, ICLR 2013, Workshop Track Proceedings</source> (<string-name><given-names>Y</given-names> <surname>Bengio</surname></string-name>, <string-name><given-names>Y</given-names> <surname>LeCun</surname></string-name>, eds.), <publisher-loc>Scottsdale, Arizona</publisher-loc>. <comment><ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1301.3781" xlink:type="simple">arXiv:1301.3781</ext-link></comment>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_015">
<mixed-citation publication-type="book"><string-name><surname>Miles</surname> <given-names>B</given-names></string-name> (<year>1997</year>). <source>Paul McCartney: Many Years from Now</source>. <publisher-name>Henry Holt &amp; Co.</publisher-name></mixed-citation>
</ref>
<ref id="j_jds1256_ref_016">
<mixed-citation publication-type="chapter"><string-name><surname>Nagano</surname> <given-names>H</given-names></string-name>, <string-name><surname>Kashino</surname> <given-names>K</given-names></string-name>, <string-name><surname>Murase</surname> <given-names>H</given-names></string-name> (<year>2002</year>). <chapter-title>Fast music retrieval using polyphonic binary feature vectors</chapter-title>. In: <source>Proceedings of the 2002 IEEE International Conference on Multimedia and Expo (ICME 2002)</source>, volume <volume>1</volume>, <fpage>101</fpage>–<lpage>104</lpage>. <publisher-name>IEEE</publisher-name>, <publisher-loc>Lausanne, Switzerland</publisher-loc>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_017">
<mixed-citation publication-type="journal"><string-name><surname>Pannell</surname> <given-names>DJ</given-names></string-name> (<year>2023</year>). <article-title>Quantitative analysis of the evolution of The Beatles’ releases for EMI, 1962–1970</article-title>. <source>Journal of Beatles Studies</source>, <volume>2023</volume>(<issue>Spring/Autumn</issue>): <fpage>65</fpage>–<lpage>90</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.3828/jbs.2023.5">https://doi.org/10.3828/jbs.2023.5</ext-link></mixed-citation>
</ref>
<ref id="j_jds1256_ref_018">
<mixed-citation publication-type="chapter"><string-name><surname>Schein</surname> <given-names>AI</given-names></string-name>, <string-name><surname>Saul</surname> <given-names>LK</given-names></string-name>, <string-name><surname>Ungar</surname> <given-names>LH</given-names></string-name> (<year>2003</year>). <chapter-title>A generalized linear model for principal component analysis of binary data</chapter-title>. In: <source>Proceedings of the Ninth International Workshop on Artificial Intelligence and Statistics</source> (<string-name><given-names>CM</given-names> <surname>Bishop</surname></string-name>, <string-name><given-names>BJ</given-names> <surname>Frey</surname></string-name>, eds.), volume <volume>R4</volume> of <series><italic>Proceedings of Machine Learning Research</italic></series>, <fpage>240</fpage>–<lpage>247</lpage>. <publisher-name>PMLR</publisher-name>. <comment>Reissued by PMLR on 01 April 2021</comment>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_019">
<mixed-citation publication-type="other">Team G (2024). Gemini: A family of highly capable multimodal models. arXiv preprint: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2312.11805">https:// arxiv.org/abs/2312.11805</ext-link>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_020">
<mixed-citation publication-type="book"><string-name><surname>The Beatles</surname></string-name> (<year>2000</year>). <source>The Beatles Anthology</source>. <publisher-name>Cassell</publisher-name>, <publisher-loc>London</publisher-loc>.</mixed-citation>
</ref>
<ref id="j_jds1256_ref_021">
<mixed-citation publication-type="chapter"><string-name><surname>Thickstun</surname> <given-names>J</given-names></string-name>, <string-name><surname>Harchaoui</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Kakade</surname> <given-names>S</given-names></string-name> (<year>2017</year>). <chapter-title>Learning features of music from scratch</chapter-title>. In: <source>5th International Conference on Learning Representations, ICLR 2017, Conference Track Proceedings</source>. <publisher-name>OpenReview.net</publisher-name>, <publisher-loc>Toulon, France</publisher-loc>.</mixed-citation>
</ref>
</ref-list>
</back>
</article>
