<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Steven V. Miller</title>
    <description>I&apos;m a political scientist at Stockholm University with research interests in international conflict and political behavior. Topics on my site include my teaching interests, R, LaTeX, and professional development.
</description>
    <link>http://svmiller.com/</link>
    <atom:link href="http://svmiller.com/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Mon, 30 Mar 2026 07:18:28 +0000</pubDate>
    <lastBuildDate>Mon, 30 Mar 2026 07:18:28 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>Every Proper Noun is a Case of a Common Noun; Every Case is a Case of Something More General</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 400px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/2018-rt-moscow.jpg&quot; alt=&quot;Europe banned (or has &apos;tried&apos; to ban) RT in light of Russia&apos;s invasion of Ukraine. There are proper nouns everywhere. What&apos;s the common noun, then? (Mladen Antonov / AFP via Getty Images file).&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Europe banned (or has &apos;tried&apos; to ban) RT in light of Russia&apos;s invasion of Ukraine. There are proper nouns everywhere. What&apos;s the common noun, then? (Mladen Antonov / AFP via Getty Images file).&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;This is a (hopefully) quick hitter based on stuff that I’ve been repeating to students for a while and have been meaning to flesh out a little bit in a blog post.&lt;/p&gt;

&lt;p&gt;One challenge I’ve encountered for students since I’ve been here is trying to get them to see more general patterns or concepts. It’s not something I remember having to think about in a past life in the United States. In that past life, I had a bit more agency over the curriculum, could structure topics more generally, and encourage students to think of examples. Students here instead express a passing interest in some current event or something that happened and, gulp, want to shoehorn that in one of the big -isms even when &lt;a href=&quot;https://svmiller.com/blog/2024/05/assorted-tips-for-student-theses/#pickatheory&quot;&gt;I don’t think it’s a good idea&lt;/a&gt;. I keep expressing a confusion as to what the point is and, importantly, &lt;a href=&quot;https://svmiller.com/blog/2024/05/assorted-tips-for-student-theses/#question&quot;&gt;what’s the question&lt;/a&gt;. I end up circling back to two things, both related, that I keep having to repeat. &lt;strong&gt;1) Every proper noun is a case of a common noun. 2) Every case is a case of something more general.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s one quite common example I keep encountering. On March 2, 2022, the European Council issued an &lt;a href=&quot;https://www.consilium.europa.eu/en/press/press-releases/2022/03/02/eu-imposes-sanctions-on-state-owned-outlets-rtrussia-today-and-sputnik-s-broadcasting-in-the-eu/&quot;&gt;“urgent suspension”&lt;/a&gt; of RT in light of Russia’s ongoing invasion of Ukraine. My students keep saying this is a “ban”, though I don’t quite understand &lt;a href=&quot;https://www.rferl.org/a/russia-rt-sputnik-eu-access-bans-propaganda-ukraine-war/32803929.html&quot;&gt;how that’s ever been the case&lt;/a&gt;. No matter, every semester I encounter a student at the BA-level saying they want to write about this. Proper nouns are everywhere in the paragraph’s second sentence (e.g. “European Council”, “RT, “Russia”, “Ukraine”), but there are common nouns lurking underneath that surface that I want the student to identify and bring into greater detail. What are they? The “EU banned RT”. Okay, but that is a specific manifestation of something more general. What is it?&lt;/p&gt;

&lt;p&gt;I keep repeating this because my battle-weary hobby horses for students here is pleading with them to read scholarship on a topic and not lean on intro-level textbooks, podcasts, think tank reports, or news reports to do that for them. Toward that end, I need to know to more about a stated interest in something like the EU “ban” on RT and what exactly is the broader thing for which that is a specific and capital-case manifestation. Is “the EU ‘bans’ RT” (the proper nouns[s]) a case of censorship? If so, I want the student immediately consulting the broader academic literature on the politics of censorship and identifying what’s missing in what we know about that common noun (“censorship”) for which the proper noun(s) (“EU ‘bans’ RT”) would be informative. Is this a policy response to so-called &lt;a href=&quot;https://www.nato.int/en/what-we-do/deterrence-and-defence/countering-hybrid-threats&quot;&gt;“hybrid warfare?”&lt;/a&gt; If so, I want the student reading about that to better identify how this thing fits in the bigger picture of things like it. The European Union states may have to deal with this vis-a-vis Russia and even Vietnam has to think about it with respect to China. How do these proper nouns fit with respect to the common noun? To answer that, you need to read more about the common noun.&lt;/p&gt;

&lt;p&gt;Likewise, students that express an interest in international conflict express an interest in the ongoing Russia-Ukraine War. Perfectly legitimate interest, but that’s a proper noun. It’s a case. What is its common noun? What is it a case of? How exactly you answer these questions will condition the literature you review that is not just the background information about the case in question. Certainly, the Russia-Ukraine War is a case of an inter-state war. If that’s the more general case for which the Russia-Ukraine War is an exemplar, then there is &lt;a href=&quot;https://posc3610.svmiller.com/syllabus/posc3610-spring2022-syllabus.pdf&quot;&gt;ample scholarship in the Correlates of War tradition to read&lt;/a&gt;. I’m even in &lt;a href=&quot;https://www.bloomsbury.com/us/what-do-we-know-about-war-9781538193150/&quot;&gt;one of those books you should definitely read&lt;/a&gt; at the BA-level. Is it a case of an “absolute war”, &lt;a href=&quot;https://doi.org/10.2307/2669259&quot;&gt;like the kind R. Harrison Wagner would write about&lt;/a&gt;? If so, give him a read and follow some of his citations (and those that cite him). Do you intend to think of this as a “great power intervention?” I’m not sure how well that fits, given &lt;a href=&quot;https://doi.org/10.1093/isq/sqad003&quot;&gt;how Scott Wolford describes it&lt;/a&gt;, but you could do worse than reading Wolford’s stuff. He’ll give more focused language to what you see. In the process, he’ll better focus what you want to get out of looking at this case in particular. I’ve said before that students need to &lt;a href=&quot;https://svmiller.com/blog/2024/05/assorted-tips-for-student-theses/#question&quot;&gt;go from having topics to having questions&lt;/a&gt;. Understanding what your case of interest is a case of and reading scholarship on that will help bring into greater relief what question you ultimately intend to ask.&lt;/p&gt;

&lt;p&gt;I try to plead with students to read and read widely and to better contextualize the things they see. They see some event and are interested in it. To get the most out of that interest, the student has to take that proper noun and identify the common noun that informs it. The student has to identify what their case is a case of. From that, read and read widely to better understand what question is important to ask about this case, given what we know (or don’t know) about it more generally.&lt;/p&gt;
</description>
        <pubDate>Thu, 19 Mar 2026 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2026/03/common-noun-proper-noun/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2026/03/common-noun-proper-noun/</guid>
        
        
        <category>Teaching</category>
        
      </item>
    
      <item>
        <title>War and the State: An Appreciation</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 250px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/war-state-cover.jpg&quot; alt=&quot;War and the State: The Theory of International Politics&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;War and the State: The Theory of International Politics&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;I’m going through a phase where I’m re-reading books that shaped me in graduate school. Some of this is because of a professional rut, post-upheaval in the move to Sweden. It’s one way I’m trying to get my groove back. Another is because I commute about 45-55 minutes to the office by way of pendeltåg. This not something I’ve ever had to do, but it’s a fact of life for Europeans. It does mean I have more time on my hands, and my hands get to be on my phone or a book instead of a steering wheel. Of the phone and the book, the book seems like a better option.&lt;/p&gt;

&lt;p&gt;There are books that had more of an effect on my intellectual trajectory. My orientation toward international politics is deeply indebted to John Vasquez, especially &lt;a href=&quot;https://www.cambridge.org/core/books/war-puzzle/AB43B594A6814E448D7E09C94D738033&quot;&gt;&lt;em&gt;The War Puzzle&lt;/em&gt;&lt;/a&gt;. John is my “grand-adviser”, if you will, and still one of the most wonderfully curious people I’ve had the good fortune of knowing in the profession. My framework toward thinking about the nexus of domestic politics and conflict has a clear link to classics from &lt;a href=&quot;https://www.cambridge.org/core/books/economic-origins-of-dictatorship-and-democracy/3F29DF90519971B183CAA16ED0203507&quot;&gt;Acemoglu and Robinson (2006)&lt;/a&gt; and especially &lt;a href=&quot;https://www.cambridge.org/core/books/democracy-and-redistribution/ACB818ADD9174249D028E64634627626&quot;&gt;Boix (2003)&lt;/a&gt;. I came across both because my adviser was citing them for his work on territorial peace. The year was 2006 and 2007, peak years highlighting the incompetence of the Bush Administration and the deleterious consequences of fiscal policies that upwardly redistribute wealth. Neither of those were the point of either book, and neither were the slight references in both books to how groups co-opt/purchase the military as insurances against the redistributive demands of the poor. Yet all inform my broader academic worldview. Some of the discrepancies not neatly implied by minimal models of redistributive demands lead to appeals to &lt;a href=&quot;https://www.amazon.se/-/en/Escape-Freedom-Erich-Fromm/dp/0805031499&quot;&gt;Fromm (1941)&lt;/a&gt;.&lt;sup id=&quot;fnref:sm&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sm&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; You should read &lt;em&gt;Escape From Freedom&lt;/em&gt; too.&lt;/p&gt;

&lt;p&gt;I only discovered Wagner’s (2007) &lt;em&gt;War and the State&lt;/em&gt; much later in graduate school, after comprehensives. It has since become one of my absolute favorite books in international relations. I still return to passages of it and just completed a full re-read of it. We live in a world that we think has become more “realist”, but &lt;a href=&quot;https://carnegieendowment.org/europe/strategic-europe/2023/11/the-blind-spots-of-realism?lang=en&quot;&gt;we are popularizing approaches that were never informative&lt;/a&gt;. They were just the center of gravity during the formation of the discipline as we know it. We are giving increasing intellectual real estate to some people of that tradition &lt;a href=&quot;https://svmiller.com/blog/2025/04/stephen-a-smith-ir-scholarship/&quot;&gt;that have never had an answer to questions we should care to ask&lt;/a&gt;. Thus, I think appreciating R. Harrison Wagner’s work is critical today given what the general public consumes, thinks is happening, and what people (students) expect they need to know. &lt;em&gt;War and the State&lt;/em&gt; is a necessary read and an important corrective to what students are typically asked to engage with a straight face. Students should read that book in its entirety and complement it with &lt;a href=&quot;https://www.cambridge.org/core/journals/international-theory/issue/D73BC57A04D7E6777EB59DB016FBFA68&quot;&gt;the 2010 symposium in &lt;em&gt;International Theory&lt;/em&gt;&lt;/a&gt; along with some of his other stuff.&lt;/p&gt;

&lt;h2 id=&quot;a-synopsis&quot;&gt;A Synopsis&lt;/h2&gt;

&lt;p&gt;If nothing else, students should read Chapter 1. Herein, Wagner retraces the intellectual legacy of the largest -isms, prominently so-called “realism” as the center of these -isms. All, prominently “realism”, are offered as explanations of international conflict largely on the basis of arguments with premises that do not imply the hypotheses offered. Questions aren’t answered as much as they are begged. The foundation of the discipline owes to a need to separate the war that happens between states as happening under conditions of “anarchy” that are not applicable to the “hierarchy” of domestic politics. But this obscures more than it reveals. War has never required sovereign states, just groups capable of killing on scale. States might be unique institutions born from war for the cause of killing on scale, but they are neither necessary nor sufficient for war. States are not simply hapless agents under an exogenously given anarchy; they are the organizational solution to a world without a sovereign. This tradition is too eager to misread what it says it reads (c.f. Hobbes and Rousseau), misuse tools (e.g. stag hunt, prisoner’s dilemma) to evaluate perspectives/”approaches” masquerading as theories (see: &lt;a href=&quot;https://svmiller.com/blog/2024/10/absolute-gains-relative-gains-ir-theory/&quot;&gt;the relative/absolute gains debate&lt;/a&gt;), poorly define what must be properly stated (e.g. &lt;a href=&quot;https://www.cambridge.org/core/journals/international-organization/article/abs/what-was-bipolarity/DA9DF542DE678DCAB2EEAAAD02708530&quot;&gt;“what was bipolarity?”&lt;/a&gt;), and assume what needs to be explained (i.e. why war happens at all).&lt;/p&gt;

&lt;p&gt;Chapter 2 continues the theme of misreading what it purports to have read (c.f. Herz and Carr’s treatment of idealism/utopianism) by situating realism in a tradition of &lt;em&gt;raison d’état&lt;/em&gt;. The treatment here is largely historical and philosophical. Students may find this informative for how much realism takes from Rousseau than Hobbes, per se, how Kant is not that different from Hobbes or Rousseau in how they think about political order and international politics, and how much you’re probably thinking of &lt;a href=&quot;https://en.wikipedia.org/wiki/Charles-Ir%C3%A9n%C3%A9e_Castel_de_Saint-Pierre&quot;&gt;Charles-Irénée Castel de Saint-Pierre&lt;/a&gt; even if you don’t know it yet. However, it concludes by emphasizing international relations arguments that start with a world of sovereign states to explain violence are starting in the wrong place. Sovereign states are outcomes of an early modern (European) period in which people were free to organize themselves in any fashion in order to profit from the use of force. The structure is an outcome of violence, and a hard bifurcation of the domestic from the international won’t get you far. It’s also not the rigid bifurcation discussed in some of these classics from early modern philosophers.&lt;/p&gt;

&lt;p&gt;Chapter 3 is as much the argument chapter as any in the book. Here, Wagner brings in &lt;a href=&quot;https://svmiller.com/blog/2021/09/rationalist-explanations-war/&quot;&gt;the bargaining approach&lt;/a&gt; that pervades a lot of the scholarship I like to discuss. Rather than conceptualize a world of sovereign states under systemic anarchy, Wagner conceptualizes a world where states emerge as institutions of roving predators in the protection business selling protection from other predators and from themselves. Violence is ideally the thing to avoid, but violence is the mechanism by which individuals/predators manipulate expectations about the disagreement outcome in a bargaining situation (i.e. what actors would expect to happen if they could not reach an agreement). Thus we emphasize what we know from &lt;a href=&quot;https://en.wikipedia.org/wiki/Carl_von_Clausewitz&quot;&gt;Carl von Clausewitz&lt;/a&gt;. Violence (war) is politics (bargaining) by other means. The Weberian state is the institutional agreement creating that effective monopoly on force. The monopoly is granted by members of the organization who consent and cooperate, in some form, in granting it.&lt;/p&gt;

&lt;p&gt;Chapters 4, 5, and 6 extend this framework into an exploration of the conditions for which competing predators may make agreements, when they are enforceable, what capability aggregation implies for questions of opportunistic predation or collective defense (c.f. balancing/bandwagoning), pre-emptive war, and, of course, what this means for different wrinkles in the type of state in question. Perhaps democracies are a class of territorially-satisfied former predators in which leaders are agents and not principals. Even here, hypotheses we put under the democratic peace umbrella come with caveats suggested by the bargaining framework. Great Britain and the Weimar Republic did not fight a war, but the Weimar Republic made Nazi Germany possible. The democracy cannot credibly commit to not degenerating into a non-democracy.&lt;sup id=&quot;fnref:american&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:american&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; There is no reason to dismiss, necessarily, that a world of territorially-satisfied democratic states can’t find something else to fight about. It’s sometimes hard to wrap our head around how public goods are supplied at all given the collective action required in providing them (let alone efficiently). That has implications for questions of war and what it means for democracy.&lt;/p&gt;

&lt;h2 id=&quot;for-students&quot;&gt;For Students&lt;/h2&gt;

&lt;p&gt;Wagner is a boon for students who have only known explanations of international relations in the most abstract terms possible. It is convenient to think of a Hobbesian world where life is “solitary, poor, nasty, brutish, and short” absent a Leviathan to “overawe them all.” But, that’s the post hoc philosophical justification for the realist worldview that is much more derivative of Rousseau. Waltz’ inspiration is Rousseau, not Hobbes, and an argument that war happens because nothing stops it from happening is not a convincing argument. It sounds cool, but it’s not convincing. The prisoner’s dilemma is a useful way of getting at cooperation problems, but any game in which players might be eliminated in a repeated prisoner’s dilemma is no longer a prisoner’s dilemma. The prisoner’s dilemma is still nice to know, it can only tell you so much. “Ontology” sounds cool but, oh man, read pages 44 and 45 to see Wagner’s treatment of that term and its use in international relations. Mearsheimer’s five assumptions sound provocative and insightful when stated with the authority with which he states them, but no hypothesis is implied by that whatsoever. Ignore the issue of internal consistency, which were complaints from the likes of Bruce Bueno de Mesquita and John Vasquez in some of their critiques of realism. Arguments should be consistent, but they should be &lt;em&gt;valid&lt;/em&gt; as well. The prediction must follow from the hypothesis, but those five assumptions get you nowhere. They barely get you out the starting block. You think they do when you’re beginning in the field, but they don’t get you where you want to go. Students would benefit from reading Wagner to better cut through the noise around them.&lt;/p&gt;

&lt;p&gt;Like most things for students who are starting out, following the citations reveal some hidden gems. Wagner is citing some interesting things I’d welcome students to explore. &lt;a href=&quot;https://archive.org/details/politicalrealism0000john&quot;&gt;Herz (1951)&lt;/a&gt; is nice background for some of the classics, as are &lt;a href=&quot;https://www.amazon.com/Power-International-Relations-Inis-Claude/dp/0394301331&quot;&gt;Claude (1962)&lt;/a&gt;, &lt;a href=&quot;https://www.cambridge.org/core/journals/world-politics/article/abs/idealistinternationalism-and-the-security-dilemma/7094783665386FD81A25DF98C7EEC223&quot;&gt;Herz (1950)&lt;/a&gt;, &lt;a href=&quot;https://www.cambridge.org/core/journals/american-political-science-review/article/abs/rousseau-on-war-and-peace/5C71439876670EAD04DEF304A6A4658E&quot;&gt;Hoffman (1963)&lt;/a&gt;, and &lt;a href=&quot;https://www.amazon.se/-/en/Kindleberger/dp/0520055926&quot;&gt;Kindleberger (1973)&lt;/a&gt;. I discovered &lt;a href=&quot;https://books.google.se/books/about/The_Problem_of_Order.html?id=gHdkAAAAIAAJ&amp;amp;redir_esc=y&quot;&gt;Wrong (1994)&lt;/a&gt; through this book, which featured in &lt;a href=&quot;https://svmiller.com/research/economic-threats-or-societal-turmoil-understanding-preferences-for-authoritarian-political-systems/&quot;&gt;one of my publications&lt;/a&gt; dealing with the specifics of the Hobbesian argument.&lt;/p&gt;

&lt;p&gt;His citations go beyond the strictly, boilerplate IR (or stuff that I’ve used for scholarship). Wagner’s footnotes are a treasure trove of information. &lt;a href=&quot;https://www.amazon.se/Rule-Road-International-History-Practice/dp/0313252491&quot;&gt;Kincaid’s (1986)&lt;/a&gt; &lt;em&gt;The Rule of the Road&lt;/em&gt; is the inspiration at the start of his second chapter, though it is primarily about the history of left-hand or right-hand driving. &lt;a href=&quot;https://www.routledge.com/Mohammed-and-Charlemagne/Pirenne/p/book/9780415440936&quot;&gt;Pirenne (2001)&lt;/a&gt; is an interesting explanation of the transition to feudal Europe as a result of the rise of Islam (and not the Barbarian conquest of Rome). &lt;a href=&quot;https://www.amazon.com/Yankee-Leviathan-Origins-Authority-1859-1877/dp/0521398177&quot;&gt;Bensel (1990)&lt;/a&gt; has a fascinating historical account for the rise of the modern American administrative state for the cause of war against the separatist South. The Confederates may not have had the advantages of the North, but they too needed to evolve beyond a simple plantation system to mobilize for war against the North. &lt;a href=&quot;https://link.springer.com/article/10.1007/s101010050002&quot;&gt;Grossman (2000)&lt;/a&gt; offers a nice academic citation toward conceptualizing a state’s leadership as principal or agent, and the implications of that. &lt;a href=&quot;https://www.cambridge.org/core/books/abs/bringing-the-state-back-in/war-making-and-state-making-as-organized-crime/7A7B3B6577A060D76224F54A4DD0DA4C&quot;&gt;Tilly (1985)&lt;/a&gt; developed an idea of a state as a protection racket, like a mafia, with a logic that echoes in classics of mafias and racketeer gangs like &lt;a href=&quot;https://www.amazon.se/Sicilian-Mafia-Business-Private-Protection/dp/0674807413&quot;&gt;Gambetta (1993)&lt;/a&gt;, &lt;a href=&quot;https://www.amazon.com/Russian-Mafia-Private-Protection-Economy/dp/019829736X&quot;&gt;Varese (2001)&lt;/a&gt;, &lt;a href=&quot;https://www.jstor.org/stable/40971408&quot;&gt;Volkov (2000)&lt;/a&gt;. Finally, &lt;a href=&quot;https://www.hup.harvard.edu/books/9780674002111&quot;&gt;Berlin (1998)&lt;/a&gt; offers an analysis of the contours of slavery through its evolution in North America. Included in it is a consideration of the agency of the enslaved in shaping this evolution, analogous to the bargaining framework Wagner describes. Wagner’s citations offer plenty of avenues to explore, directly related to international relations or indirectly informative of important frameworks for understanding international relations.&lt;/p&gt;

&lt;p&gt;One major obstacle to reading &lt;em&gt;War and the State&lt;/em&gt; is that it’s a book that must be re-read as much as it’s read. It’s a challenging read even when English is native. &lt;a href=&quot;https://www.cambridge.org/core/journals/international-theory/article/abs/comments-on-r-harrison-wagners-war-and-the-state-the-theory-of-international-politics/30CC4E3F0952894C72C23671D139DEEC&quot;&gt;Fearon’s contribution to the 2010 symposium&lt;/a&gt; makes a related point that the book is often clearer on what it rejects than what it offers in its place. Likewise, I had to re-read the book to better appreciate the framework Wagner offers. But that does come with a slight apprehension about what questions he’s ultimately asking and answering. I won’t know for sure, but I read this book as if they were expanded lecture notes from a class one might have taken with him at the University of Texas. For students, that’s wonderful. Further along the developmental path, you’re looking harder for the red thread. It’s in there, but the reader needs to search for it. The student will definitely benefit from it.&lt;/p&gt;

&lt;p&gt;These comments don’t undercut my plea for students to read and wrestle with this book. R. Harrison Wagner is a pedant after my own heart, but also a scholar with valuable contributions to the bargaining framework of war. The pressing questions of international politics are too important to be begged, and yet we give so much time and energy to those who beg the question they poorly state. Wagner will make that much clear, especially when you have to deal with those people making those claims on television or in print. He’ll also give you information to get you closer to the answers. You should read him.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:sm&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Fromm might be biting off too much from the Freud apple and I’m sure there are psychological correctives to Freud (who was invariably more influential at the time of publication than he is now). Even then, my goodness, the relation of Freud-derivative understandings of sadism and masochism to the petite bourgeoisie in 1930s Germany definitely echo today. &lt;a href=&quot;#fnref:sm&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:american&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Yes, I’m aware I’m an American. I’m also aware the United States cannot credibly past the next phone call. The U.S.—and by extension the world that operates around it—is in a very precarious situation. &lt;a href=&quot;#fnref:american&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/12/war-and-the-state-r-harrison-wagner/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/12/war-and-the-state-r-harrison-wagner/</guid>
        
        
        <category>Political Science</category>
        
      </item>
    
      <item>
        <title>Find Something to Do with the Quality of Government (Cross-Section) Data</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 400px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/protectors-of-our-industries.jpg&quot; alt=&quot;Bernhard Gilliam&apos;s &apos;Protector of our Industries&apos; (1883) is one of many political cartoons of this time decrying the Gilded Age in the United States.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Bernhard Gilliam&apos;s &apos;Protector of our Industries&apos; (1883) is one of many political cartoons of this time decrying the Gilded Age in the United States.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;This is yet another tutorial for students in my quantitative methods courses, this time at the BA-level. I sense a kind of panic from students as they approach a final paper in which I ask them to ask their own question and answer it with quantitative methods. They feel they don’t know where to look. I’ve made a few guides available to them. I have an example paper I provide to them where I do a simple analysis of Swedish respondents in the World Values Survey on attitudes toward democracy. I’ve given them some inspiration for &lt;a href=&quot;https://svmiller.com/blog/2024/10/inequality-insurgency-south-vietnam-1968-statistical-analysis/&quot;&gt;the kinds of analysis they can do&lt;/a&gt;, and how you can &lt;a href=&quot;https://svmiller.com/blog/2024/10/make-simple-cross-sectional-world-bank-data-wdi/&quot;&gt;use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{WDI}&lt;/code&gt; to do these types of papers as well&lt;/a&gt;. I also make a copy of the Quality of Government (QoG) data from &lt;a href=&quot;https://www.gu.se/en/quality-government&quot;&gt;the Quality of Government Institute&lt;/a&gt; available to them. However, I don’t offer them a particular example with these data. I thought I would do that here to hopefully dissuade them from further panic about this assignment and from biting off more they can chew on conflict data. I laud the initiative to do spatial analyses or TSCS models of conflict fatalities, or digging into the correlates of various UN peacekeeping operations, but doing those well requires &lt;em&gt;a lot&lt;/em&gt; of guidance about &lt;a href=&quot;https://svmiller.com/blog/2021/01/a-tutorial-on-the-join-family-in-r/&quot;&gt;joins&lt;/a&gt;, &lt;a href=&quot;https://svmiller.com/blog/2021/01/a-tutorial-on-state-classification-systems/&quot;&gt;state systems&lt;/a&gt;, and &lt;a href=&quot;https://svmiller.com/peacesciencer/&quot;&gt;the myriad things you can do in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{peacesciencer}&lt;/code&gt;&lt;/a&gt;. &lt;a href=&quot;https://ir3-2.svmiller.com/&quot;&gt;This class has just three lectures and seven labs&lt;/a&gt; and students have to &lt;a href=&quot;https://www.reddit.com/r/pics/comments/d3zhx/how_to_draw_an_owl/&quot;&gt;draw an owl&lt;/a&gt; under those constraints. I can only do so much and I can only ask for so much. I don’t want students trying to do too much, and doing it poorly under considerable stress. I’d rather a very simple exercise be done confidently at this stage than see students try to slay a dragon with a fork and dinner plate.&lt;/p&gt;

&lt;p&gt;Here are the R packages I’ll be using.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tidyverse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stevemisc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stevethemes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;modelsummary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here’s a table of contents.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;#data&quot;&gt;(Download) Load the Data, (Download) Read the Codebook&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#dv&quot;&gt;Find Something That Interests You&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#ivs&quot;&gt;Look for Some “Causes”&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#controls&quot;&gt;Getting Some Other Stuff&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#descriptive&quot;&gt;Some Descriptive Statistics&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#lm&quot;&gt;A Basic Analysis&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#diagnostics&quot;&gt;Very Basic Diagnostics&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On with the show…&lt;/p&gt;

&lt;h2 id=&quot;data&quot;&gt;(Download) Load the Data, (Download) Read the Codebook&lt;/h2&gt;

&lt;p&gt;Students should &lt;a href=&quot;https://www.gu.se/en/quality-government/qog-data/data-downloads/standard-dataset&quot;&gt;download the “standard” data set&lt;/a&gt; made available by the Quality of Government Institute. This is an intro-level, one-month-long quantitative methods course and I cannot expect students to get into the weeds of cross-section time-series (panel) data. Download the “Cross-Section” version of the data in any format and save it to your hard drive.&lt;/p&gt;

&lt;p&gt;Load it into R as follows. The file path obviously suggests that I make these available to my students (in Stata’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.dta&lt;/code&gt; format). Students should adjust their file path to wherever the data are on their hard drive.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;haven&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;read_dta&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;~/Koofr/teaching/eh1903-ir3/2/data/qog/qog_std_cs_jan24_stata14.dta&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 194 × 1,652&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    ccode cname     ccode_qog cname_qog ccodealp ccodecow version aii_acc aii_aio&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;         &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;     &amp;lt;chr&amp;gt;       &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;     &amp;lt;dbl&amp;gt;   &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1     4 Afghanis…         4 Afghanis… AFG           700 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2     8 Albania           8 Albania   ALB           339 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3    12 Algeria          12 Algeria   DZA           615 QoGStd…    6.25       5&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4    20 Andorra          20 Andorra   AND           232 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5    24 Angola           24 Angola    AGO           540 QoGStd…   18.8       10&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6    28 Antigua …        28 Antigua … ATG            58 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7    31 Azerbaij…        31 Azerbaij… AZE           373 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8    32 Argentina        32 Argentina ARG           160 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9    36 Australia        36 Australia AUS           900 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10    40 Austria          40 Austria   AUT           305 QoGStd…   NA         NA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 184 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 1,643 more variables: aii_cilser &amp;lt;dbl&amp;gt;, aii_elec &amp;lt;dbl&amp;gt;, aii_pubm &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   aii_q01 &amp;lt;dbl&amp;gt;, aii_q02 &amp;lt;dbl&amp;gt;, aii_q03 &amp;lt;dbl&amp;gt;, aii_q04 &amp;lt;dbl&amp;gt;, aii_q05 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   aii_q06 &amp;lt;dbl&amp;gt;, aii_q07 &amp;lt;dbl&amp;gt;, aii_q08 &amp;lt;dbl&amp;gt;, aii_q09 &amp;lt;dbl&amp;gt;, aii_q10 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   aii_q11 &amp;lt;dbl&amp;gt;, aii_q12 &amp;lt;dbl&amp;gt;, aii_q13 &amp;lt;dbl&amp;gt;, aii_q14 &amp;lt;dbl&amp;gt;, aii_q17 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   aii_q18 &amp;lt;dbl&amp;gt;, aii_q19 &amp;lt;dbl&amp;gt;, aii_q20 &amp;lt;dbl&amp;gt;, aii_q21 &amp;lt;dbl&amp;gt;, aii_q22 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   aii_q23 &amp;lt;dbl&amp;gt;, aii_q24 &amp;lt;dbl&amp;gt;, aii_q25 &amp;lt;dbl&amp;gt;, aii_q26 &amp;lt;dbl&amp;gt;, …&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The data I have are from 2024 and have 194 rows with 1,652 columns. The number of rows (and the information displayed in the first few columns) are clear signals this is a cross-section of sovereign states/territorial entities in the world. The staggering number of columns communicates some information about them that might interest us. There really is not a way of proceeding through this exercise without also downloading the codebook. Have it open and be prepared to search it (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl-F&lt;/code&gt;) for information you might find interesting. However, that would require having an idea of something you may want to locate, because it interests you.&lt;/p&gt;

&lt;h2 id=&quot;dv&quot;&gt;Find Something That Interests You&lt;/h2&gt;

&lt;p&gt;This might be the biggest challenge I’ve encountered so far in teaching students about quantitative methods. I impress the importance of finding something that interests the student that they may want to better explain. Contingent on the thing in question, you could find a reasonable quantitative measurement of it and fit a statistical model to explain variation in it. Whether students have qualitative or quantitative aims at heart for their thesis (often the former), there’s no honest consideration of a body of scholarship on the topic without also giving consideration to those who do what the student wants to do, but quantitatively. That doesn’t make it any the less difficult to get started on this and it is more difficult when students still don’t have an idea what they want to do for their thesis in the next course. Often, the student has no idea what they want to do and thus cannot proceed from there. This is obviously a problem, because I can’t (and won’t) gives topics of interest to students. Students need to start asking their own questions and answering them.&lt;/p&gt;

&lt;p&gt;I don’t have much recourse other than to plead with the student to read, read widely, and embrace a hobby horse that they care about on some level. It’s quite likely that a measurement is available in the Quality of Government data related to this interest. In this case, I elected to do an analysis that’s focused on the current discussion of extreme wealth concentration and its implications for democracy and the current international order. In particular, I’m interested in the language we use about wealth concentration in the “top 1%”. Sure enough, the Quality of Government has an indicator (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;top_top1_income_share&lt;/code&gt;) measuring the pre-tax income share of the top 1% of the population. I found it searching for “top 1%” in the codebook having a hunch that QoG would have these data from Piketty, Saez and company available from &lt;a href=&quot;https://wid.world/&quot;&gt;the World Inequality Database&lt;/a&gt;. They do. See:&lt;/p&gt;

&lt;dl class=&quot;wp-caption aligncenter&quot; style=&quot;max-width: 1200px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/top1-qog.png&quot; alt=&quot;Information about the &apos;top 1%&apos; variable in Quality of Government&apos;s cross-sectional data set.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Information about the &apos;top 1%&apos; variable in Quality of Government&apos;s cross-sectional data set.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;Observe the codebook helpfully communicates temporal reach and, importantly, cross-sectional coverage. For cross-sectional data with a global aim, we want as many observations as possible (knowing we have just 194 as a maximum). In this case, the codebook is advertising that 88.6% of countries have a measure of the “top 1%”’s share of pre-tax national income.&lt;/p&gt;

&lt;p&gt;The measure itself &lt;a href=&quot;https://www.jstor.org/stable/4625575?seq=1&quot;&gt;correlates highly&lt;/a&gt; with other standard measures of “inequality” even if it &lt;a href=&quot;https://ciaotest.cc.columbia.edu/wps/cato/0026818/f_0026818_21908.pdf&quot;&gt;may not be an optimum measure of the thing in question&lt;/a&gt; when better alternatives are available.&lt;sup id=&quot;fnref:cato&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cato&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; No matter, the language of the “top 1%” still resonates in how we link issues of wealth concentration with the current trajectory of democracy in the international system. Modeling its variation and what we know about where extreme wealth concentrates is not a bad exercise for a student at this stage. I would obviously expect more of a literature review than what I’m doing here even if I’m not asking for much on the assignment.&lt;/p&gt;

&lt;p&gt;For now, though, let’s see the variation in this measure. First, a summary by way of R’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;summary()&lt;/code&gt; function.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA&apos;s &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  0.0706  0.1195  0.1530  0.1570  0.1937  0.3111      22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then, a histogram. Behind the scenes, the students should also ask for a density plot that better smooths out the histogram’s basic limitation (i.e. the arbitrary number of bins and how that might deceive about issues of bimodality).&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ggplot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;aes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_histogram&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;black&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fill&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;g_c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;su_water&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;alpha&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;.8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;scale_x_continuous&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labels&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;scales&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;percent_format&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;A Histogram of Wealth Concentration in the Top 1%&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Percent Income Share in Top 1%&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Count&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;The distribution does have the smallest right skew for those states with extreme wealth concentration.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;caption&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Data: Quality of Government Standard Dataset, 2024 (Cross-Section)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/quality-of-government-example/unnamed-chunk-3-1.png&quot; alt=&quot;plot of chunk unnamed-chunk-3&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Having seen both, presenting the histogram, and consulting the basic measures of the range and central tendency of the measure, the rough takeaway is the typical country’s wealth concentration in the top 1% is about 15%. The mean and median don’t disagree with each other much at all though it looks like there is a small tail for a select few countries where as much as 31% of the pre-tax national income is held in the top 1% of the population. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;filter()&lt;/code&gt; and some hackery with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;row_number()&lt;/code&gt; can identify the top five and bottom five in this measure.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;arrange&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;na.omit&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# cheesing this because of missing data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;row_number&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%in%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;168&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;172&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rank&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;168&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;172&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 10 × 3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    cname                          top_top1_income_share  rank&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;chr&amp;gt;                                          &amp;lt;dbl&amp;gt; &amp;lt;int&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1 Mozambique                                    0.311      1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2 Central African Republic (the)                0.310      2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3 Peru                                          0.280      3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4 Mexico                                        0.268      4&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5 Angola                                        0.260      5&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6 Slovenia                                      0.0793   168&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7 Montenegro                                    0.0769   169&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8 Netherlands (the)                             0.0767   170&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9 Slovakia                                      0.0764   171&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10 North Macedonia                               0.0706   172&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;ivs&quot;&gt;Look for Some “Causes”&lt;/h2&gt;

&lt;p&gt;Social science likes to tug on pretty little causal levers when it can, though this isn’t available to us in a cross-sectional data set like this for a class that lasts a month and has three lectures. Thus, we’ll do our best to conceptualize some “causes” of the variation in the “top 1%” income share measure and just hope we don’t get hounded by someone asking for an instrumental variable or difference-in-difference estimator or whatever. The best I can encourage students to do at this stage after identifying a dependent variable of interest is to search for analyses that have used this exact measure as a dependent variable. See what they did. Get some inspiration from that.&lt;/p&gt;

&lt;p&gt;This led me to &lt;a href=&quot;https://doi.org/10.1093/ser/mwx027&quot;&gt;this 2019 article from Huber et al. in &lt;em&gt;Socio-Economic Review&lt;/em&gt;&lt;/a&gt; where this measure features as a dependent variable. Their main argument is the causes of variation in this measure are largely political and less economic. In particular, they argue we can understand variation in this measure as largely a function of tax rates, the power/prevalence of unions, and the control of government by the political right. This finding emerges even controlling for various economic indicators.&lt;/p&gt;

&lt;p&gt;I want to echo their argument about the prevalence of the bargaining power of the labor force as important correlate of this measure. I could spin a ball of yarn that the general flattening of income distributions is a triumph of organized labor in the early-to-mid 20th century and we should expect to see the legacy of that today.&lt;sup id=&quot;fnref:more&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:more&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; One thinks/hopes this argument would resonate with a Swedish audience that I teach. Let’s see if we can find something related to this by searching for things like “union”, “bargain[ing]”, “worker”, or “labo[u]r”.&lt;/p&gt;

&lt;p&gt;Great, I found something.&lt;/p&gt;

&lt;dl class=&quot;wp-caption aligncenter&quot; style=&quot;max-width: 1200px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/worker-qog.png&quot; alt=&quot;Information about worker&apos;s rights in Quality of Government&apos;s cross-sectional data set.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Information about worker&apos;s rights in Quality of Government&apos;s cross-sectional data set.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;We can work with this. I wish it had a greater cross-sectional reach (beyond the 63% coverage we have), but it has enough global coverage to proceed. We’re further not limiting ourselves to an analysis of OECD countries. There would be nothing wrong with this, but that is a small population of countries. I don’t want the analysis to be so under-powered and limited in the population it describes.&lt;/p&gt;

&lt;p&gt;A basic scatterplot will illustrate what bivariate relationship emerges before further consideration of partial effects in a linear model. We’ll also get an informal warning about the distribution of the worker’s rights measure.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wef_wr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ggplot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;aes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wef_wr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_point&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_smooth&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;method&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;lm&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;scale_y_continuous&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labels&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;scales&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;percent_format&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;The Bivariate Relationship Between Worker&apos;s Rights and Wealth Concentration in the Top 1%&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;An intuitively negative relationship emerges in the data, along with a caution about the distribution of the worker&apos;s rights index.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Worker&apos;s RIghts Index [1 = worst, 100 = best]&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Percent Income Share in Top 1%&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;caption&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Data: Quality of Government Standard Dataset, 2024 (Cross-Section)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/quality-of-government-example/unnamed-chunk-5-1.png&quot; alt=&quot;plot of chunk unnamed-chunk-5&quot; /&gt;&lt;/p&gt;

&lt;h3 id=&quot;controls&quot;&gt;Getting Some Other Stuff&lt;/h3&gt;

&lt;p&gt;I will say up front we cannot possibly do everything that the authors did with this data set because some measures will just not be available or will be super limited in its cross-sectional reach. I permit some flexibility in doing an analysis like this for the sake of the final assignment. No matter, we’ll try our best to approximate what Huber et al. did with the following information that’s also available in the QoG data. We have to “control” for the relationship we’re arguing exists between worker’s rights and the wealth concentration measure. In Hubet et al.’s analysis, there’s a convenient frame pitting the economic vs. the political. Let’s consider both.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[bmr_dem]&lt;/code&gt;: We really need a measure of democracy of some kind but don’t have the more granular measurements the authors use. We’ll use a dummy indicator by way of &lt;a href=&quot;https://journals.sagepub.com/doi/10.1177/0010414012463905&quot;&gt;Boix et al. (2013)&lt;/a&gt;. Boix, incidentally, has one of my favorite analyses of &lt;a href=&quot;https://www.cambridge.org/core/books/democracy-and-redistribution/ACB818ADD9174249D028E64634627626&quot;&gt;the nexus between democracy and redistribution&lt;/a&gt; that I have ever read.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[wdi_expedu]&lt;/code&gt;: government expenditure on education (as a percentage of GDP). We need some kind of human capital/education measure, and this is the one I chose. Word to the wise (students): prefices of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;wdi_&lt;/code&gt; generally signal greater cross-sectional coverage as it comes from the World Bank’s DataBank.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[fi_sog]&lt;/code&gt;: the QoG data do not appear to have the kind of marginal tax rate variable that I would want, but a search for “tax rate” found this measure. It’s an index from the “Economic Freedom Dataset” on the size of government by way of the Fraser Institute. Higher values signal, among other things, “low marginal tax rates and high income thresholds”. I’ll say this now to get it out of the way; &lt;a href=&quot;https://www.huffpost.com/archive/ca/entry/koch-brothers-tea-party-billionaires-donated-to-right-wing-fra_n_1456223&quot;&gt;the Fraser Institute is not serious&lt;/a&gt; and &lt;a href=&quot;https://www.healthcoalition.ca/past-time-to-stop-platforming-the-fraser-institute-canada-can-afford-public-health-care/&quot;&gt;anything they do should not be taken seriously&lt;/a&gt; &lt;a href=&quot;https://link.springer.com/article/10.1007/s12134-013-0305-5&quot;&gt;as a scientific initiative&lt;/a&gt;. Even acknowledging that the sources of their financial support are not sufficient to be making these claims, the institute &lt;a href=&quot;https://pressprogress.ca/professional-educators-dont-take-the-fraser-institutes-school-rankings-seriously-neither-should-you/&quot;&gt;does not seem that interested in beating the allegations&lt;/a&gt;. Alas, it’s here and there’s not (I think?) a better one at the moment in the data I have. Perhaps the charitable interpretation from this forfeits a causal effect and asserts it’s just going to find a (positive) partial association between its measure and what these people hope to achieve (i.e. the upward redistribution of wealth). So, there’s that, I guess.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[wdi_gdpcapcon2015]&lt;/code&gt;: Gotta have GDP per capita. Will log-transform this.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[wdi_fdiout]&lt;/code&gt;: Foreign direct investment, net outflows (as percentage of GDP). This is a case where I needed to search for “foreign direct” and not “FDI” to better find what I wanted.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[wdi_gdpgr]&lt;/code&gt;: GDP growth (as an annual percentage). Huber et al. have it included in their paper, or at least a working paper that was easier to obtain.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let’s get everything we want. Importantly, let’s also get the country name and three-character ISO code for potential diagnostic purposes. It would also be useful in case we wanted to &lt;a href=&quot;https://svmiller.com/blog/2025/01/create-your-panel-or-state-year-data/&quot;&gt;add some World Bank group indicators&lt;/a&gt; to these data.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;QoG&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccodealp&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wef_wr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_expedu&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fi_sog&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;bmr_dem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_gdpcapcon2015&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_fdiout&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_gdpgr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# go ahead and do this now...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ln_gdppc&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_gdpcapcon2015&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# A nuclear option to get complete cases. Use with caution.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Do so only if your data are fully inclusive of everything you want and&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# doesn&apos;t have anything you don&apos;t want.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;na.omit&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 105 × 11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    cname         ccodealp top_top1_income_share wef_wr wdi_expedu fi_sog bmr_dem&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;chr&amp;gt;         &amp;lt;chr&amp;gt;                    &amp;lt;dbl&amp;gt;  &amp;lt;dbl&amp;gt;      &amp;lt;dbl&amp;gt;  &amp;lt;dbl&amp;gt;   &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1 Albania       ALB                     0.0800     79       3.34   7.83       1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2 Algeria       DZA                     0.0991     57       7.04   4.36       0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3 Angola        AGO                     0.260      71       2.74   7.58       0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4 Argentina     ARG                     0.138      73       5.28   6.09       1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5 Australia     AUS                     0.0991     82       5.61   6.03       1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6 Bahrain       BHR                     0.243      63       2.55   7.05       0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7 Bangladesh    BGD                     0.162      61       1.77   8.33       0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8 Belgium       BEL                     0.0831     89       6.81   4.32       1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9 Bolivia (Plu… BOL                     0.198      72       8.44   5.95       1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10 Botswana      BWA                     0.227      71       8.06   6.54       1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 95 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 4 more variables: wdi_gdpcapcon2015 &amp;lt;dbl&amp;gt;, wdi_fdiout &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   wdi_gdpgr &amp;lt;dbl&amp;gt;, ln_gdppc &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Cool? Cool.&lt;/p&gt;

&lt;h2 id=&quot;descriptive&quot;&gt;Some Descriptive Statistics&lt;/h2&gt;

&lt;p&gt;From here, you can do some basic descriptive statistics like the kind I introduce to students in my class. This will lean on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{modelsummary}&lt;/code&gt; and, in particular, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;datasummary_skim()&lt;/code&gt; function it has. This is my go-to for teaching students how to effortlessly create a descriptive statistics table that they can copy-paste into their Word document. I wish I had time to teach them R Markdown, but that’s a different conversation. Doing this in R Markdown would also make the title appear as a caption. Students can manually insert that themselves. However, it won’t show for my purposes given &lt;a href=&quot;https://svmiller.com/categories/#Jekyll&quot;&gt;my relatively archaic setup&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccodealp&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_gdpcapcon2015&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# omit country name/info and the un-logged GDP per capita&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;datasummary_skim&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;kableExtra&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                   &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Descriptive Statistics for Our Analysis&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                   &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;align&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;c&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div id=&quot;modelsummary&quot;&gt;

&lt;table class=&quot;table&quot; style=&quot;width: auto !important; margin-left: auto; margin-right: auto;&quot;&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt;   &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Unique &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Missing Pct. &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Mean &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; SD &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Min &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Median &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Max &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Top 1% income share &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 96 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.3 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Workers&apos; rights. 1-100 (best) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 39 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 73.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 18.8 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 3.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 73.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 100.0 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Government expenditure on education, total (% of GDP) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.4 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 9.3 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Size of Government: Expenditures, Taxes and Enterprises (current) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 6.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.3 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 6.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 9.2 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Dichotomous democracy measure &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.5 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.0 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Foreign direct investment, net outflows (% of GDP) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 102 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 11.2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −31.8 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.3 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 104.7 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; GDP growth (annual %) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −4.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.5 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −21.4 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −3.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 6.2 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; GDP per capita (constant 2015 US$) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 8.9 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.4 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 5.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 8.8 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 11.3 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;/div&gt;

&lt;p&gt;One thing I’ve discovered that I think(?) is a relatively new feature of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;datasummary_skim()&lt;/code&gt; in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{modelsummary}&lt;/code&gt; is its ability to process variable labels. It really isn’t worth belaboring these things in the limited time I have with students. Students can also just as well fix these things in their Word document. For now, it might be nice to know you can find where these things are stored in the data frame. You might also find an Easter egg from the Quality of Government Institute in the data referencing a Spiderman movie.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; tibble [105 × 11] (S3: tbl_df/tbl/data.frame)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ cname                : chr [1:105] &quot;Albania&quot; &quot;Algeria&quot; &quot;Angola&quot; &quot;Argentina&quot; ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Country name ISO&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%58s&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ ccodealp             : chr [1:105] &quot;ALB&quot; &quot;DZA&quot; &quot;AGO&quot; &quot;ARG&quot; ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;3-letter Country Code&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%3s&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ top_top1_income_share: num [1:105] 0.08 0.0991 0.2598 0.1382 0.0991 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Top 1% income share&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%9.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ wef_wr               : num [1:105] 79 57 71 73 82 63 61 89 72 71 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Workers&apos; rights. 1-100 (best)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ wdi_expedu           : num [1:105] 3.34 7.04 2.74 5.28 5.61 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Government expenditure on education, total (% of GDP)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ fi_sog               : num [1:105] 7.83 4.36 7.58 6.09 6.03 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Size of Government: Expenditures, Taxes and Enterprises (current)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ bmr_dem              : num [1:105] 1 0 0 1 1 0 0 1 1 1 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Dichotomous democracy measure&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%9.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ wdi_gdpcapcon2015    : num [1:105] 4419 3874 2347 11341 58116 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;GDP per capita (constant 2015 US$)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ wdi_fdiout           : num [1:105] 0.33 0.01 0.18 0.305 0.625 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;Foreign direct investment, net outflows (% of GDP)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ wdi_gdpgr            : num [1:105] -3.3021 -5.1 -5.6382 -9.9432 -0.0509 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;GDP growth (annual %)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  $ ln_gdppc             : num [1:105] 8.39 8.26 7.76 9.34 10.97 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;label&quot;)= chr &quot;GDP per capita (constant 2015 US$)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;format.stata&quot;)= chr &quot;%10.0g&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  - attr(*, &quot;label&quot;)= chr &quot;Quality of Government Standard dataset 2024 - Cross-Section&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  - attr(*, &quot;notes&quot;)= chr [1:2] &quot;\&quot;Everyone keeps telling me how my story is supposed to go. Nah, Imma do my own thing.\&quot;&quot; &quot;1&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  - attr(*, &quot;na.action&quot;)= &apos;omit&apos; Named int [1:89] 1 4 6 7 10 11 14 15 17 19 ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ..- attr(*, &quot;names&quot;)= chr [1:89] &quot;1&quot; &quot;4&quot; &quot;6&quot; &quot;7&quot; ...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;attr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ln_gdppc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;label&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] &quot;GDP per capita (constant 2015 US$)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Let’s overwrite a few things to show how this works. You’ll obviously want to tailor this to your particular data set.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nf&quot;&gt;attr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ln_gdppc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;label&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Logged GDP per Capita (2015 USD)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;attr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fi_sog&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;label&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Size of Government (Fraser Institute, which, yeah...)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;attr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_fdiout&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;label&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;FDI, net outflows (% of GDP)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now, let’s do it again. Again, I’m aware the title won’t come through formatting to Markdown as I do it but it will in other outputs. Students can also insert it into their Word document manually.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccodealp&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_gdpcapcon2015&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# omit country name/info and the un-logged GDP per capita&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;datasummary_skim&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;kableExtra&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                   &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Descriptive Statistics for Our Analysis&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                   &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;align&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;c&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div id=&quot;modelsummary&quot;&gt;

&lt;table class=&quot;table&quot; style=&quot;width: auto !important; margin-left: auto; margin-right: auto;&quot;&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt;   &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Unique &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Missing Pct. &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Mean &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; SD &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Min &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Median &lt;/th&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt; Max &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Top 1% income share &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 96 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.3 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Workers&apos; rights. 1-100 (best) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 39 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 73.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 18.8 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 3.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 73.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 100.0 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Government expenditure on education, total (% of GDP) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.4 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 9.3 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Size of Government (Fraser Institute, which, yeah...) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 6.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.3 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 6.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 9.2 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Dichotomous democracy measure &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.5 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.0 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; FDI, net outflows (% of GDP) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 102 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 11.2 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −31.8 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0.3 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 104.7 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; GDP growth (annual %) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −4.1 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 4.5 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −21.4 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; −3.7 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 6.2 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Logged GDP per Capita (2015 USD) &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 105 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 0 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 8.9 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 1.4 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 5.6 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 8.8 &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; 11.3 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;



&lt;/div&gt;

&lt;p&gt;The descriptive statistics imply, if not necessarily demonstrate, that the FDI net outflows variable is going to have a gaudy distribution. These distributions typically do, &lt;a href=&quot;https://svmiller.com/blog/2024/01/linear-model-diagnostics-by-ir-example/&quot;&gt;from experience&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;lm&quot;&gt;A Basic Analysis&lt;/h2&gt;

&lt;p&gt;You can do a basic linear model and summarize the results. For readability, I’m going to multiply the dependent variable by 100 (i.e. it’s a proportion and students may find percentages easier to understand).&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;dv&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;top_top1_income_share&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;dv&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;bmr_dem&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_expedu&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wef_wr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fi_sog&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 
           &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ln_gdppc&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_fdiout&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;wdi_gdpgr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;modelsummary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Model 1&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
             &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stars&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;TRUE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
             &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;kableExtra&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
             &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;The Correlates of Wealth Concentration (QoG, 2024)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
             &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;coef_map&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;bmr_dem&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Democracy Dummy (BMR)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;wdi_expedu&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Education Expenditures&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;wef_wr&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Worker&apos;s Rights Index&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;fi_sog&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Size of Government (Fraser Institute, I know...)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ln_gdppc&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Logged (GDP per Capita)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;wdi_fdiout&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Net FDI Outflows&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;wdi_gdpgr&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;GDP Growth (Annual %)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                          &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;(Intercept)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Intercept&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
             &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;gof_map&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;adj.r.squared&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;nobs&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div id=&quot;modelsummary&quot;&gt;

&lt;table style=&quot;NAborder-bottom: 0; width: auto !important; margin-left: auto; margin-right: auto;&quot; class=&quot;table&quot;&gt;
&lt;caption&gt;The Correlates of Wealth Concentration (QoG, 2024)&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt;   &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; Model 1 &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Democracy Dummy (BMR) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −1.981+ &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (1.122) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Education Expenditures &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.381 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (0.327) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Worker&apos;s Rights Index &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.044+ &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (0.025) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Size of Government (Fraser Institute, I know...) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1.503** &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (0.474) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Logged (GDP per Capita) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.498 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (0.376) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Net FDI Outflows &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.012 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (0.038) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; GDP Growth (Annual %) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.173+ &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (0.100) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intercept &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 12.500* &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;box-shadow: 0px 1.5px&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (5.860) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; R2 Adj. &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.237 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Num.Obs. &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 105 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;&lt;tr&gt;&lt;td style=&quot;padding: 0; &quot; colspan=&quot;100%&quot;&gt;
&lt;sup&gt;&lt;/sup&gt; + p &amp;lt; 0.1, * p &amp;lt; 0.05, ** p &amp;lt; 0.01, *** p &amp;lt; 0.001&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;
&lt;/table&gt;




&lt;/div&gt;

&lt;p&gt;The results identify statistically significant effects for the democracy measure, the worker’s rights measure, the size of government variable, and GDP growth. The size of government variable from the Fraser Institute is easily the most precisely estimated effect. The others, by comparison, are significant at only the .10 level. The statistically significant effects we identify are not log-transformed, so we don’t have to &lt;a href=&quot;https://svmiller.com/blog/2023/01/what-log-variables-do-for-your-ols-model/&quot;&gt;sweat that detail&lt;/a&gt;. We can note, in the case of our hypothesis, that a one-unit change in the Worker’s Rights Index decreases the percentage of wealth concentration in the top 1% by .04 percentage points. It’s significant at the .10 level (p = .082). The model itself accounts for about 23% of the variation in the wealth concentration measure.&lt;/p&gt;

&lt;h2 id=&quot;diagnostics&quot;&gt;Very Basic Diagnostics&lt;/h2&gt;

&lt;p&gt;Do some basic diagnostics too. There’s more I’d like students to consider, but there just isn’t time to wring hands about them all. Do the fitted-residual plot, for one. This is the most bang-for-your-buck linear model diagnostic. It can alert you to non-linearity in the model, non-constant error variance, and send a clear signal about discreteness or repeating patterens in the dependent variable.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;broom&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;augment&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ggplot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;aes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.fitted&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.resid&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_point&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pch&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;21&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_hline&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;yintercept&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;linetype&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;dashed&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;red&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_smooth&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;method&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;loess&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;A Fitted-Residual Plot of Our Model&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;There are a few tail observations and some movement in the smoother, but it&apos;s tough to say much from this regarding linearity.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Fitted Values&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Residuals&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;caption&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;I am pleasantly surprised this passed the Breusch-Pagan test.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/quality-of-government-example/unnamed-chunk-15-1.png&quot; alt=&quot;plot of chunk unnamed-chunk-15&quot; /&gt;&lt;/p&gt;

&lt;p&gt;My &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;linloess_plot()&lt;/code&gt; function might say more about these relationships. This a component-plus-residual plot function that explores the relationship between all independent variables and the residuals, comparing the flat line at 0 with a LOESS smoother. From this, we get an idea that perhaps the size of government variable merits a square term, should we conceptualize about wealth concentration peculiarities at the tails of the spectrum vis-a-vis the middle. That FDI outflow variable is, well, what it is. I knew what to expect and was not surprised.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;linloess_plot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;se&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;FALSE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;no_dummies&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;TRUE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;A Component-Residual (Lin-LOESS) Plot of Our Model&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;I suspected there&apos;d be weirdness in that FDI variable. The weirdness in the main IV doesn&apos;t seem to matter too much for linearity assumptions.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Value&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Residual&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/quality-of-government-example/unnamed-chunk-16-1.png&quot; alt=&quot;plot of chunk unnamed-chunk-16&quot; /&gt;&lt;/p&gt;

&lt;p&gt;You can humor the normality assumption (of the residuals) in a few ways. For example, here’s Shapiro-Wilk.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;shapiro.test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;resid&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 	Shapiro-Wilk normality test&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; data:  resid(M1)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; W = 0.98291, p-value = 0.196&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here’s my residual density plot function (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rd_plot()&lt;/code&gt;). Before practitioners I know pounce on me for teaching students this, I do emphasize this assumption is the least important of OLS’ assumptions. In real world applications, normality is reasonably approximated if never truly achieved for a model with a large number of observations and any peculiarities whatsoever. However, students can easily get the intuition behind this even as I belabor that it’s a conditional assumption that wants to imply something about the dependent variable in question.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;rd_plot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;A Density Plot of our Model&apos;s Residuals&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;We already passed Shapiro-Wilk. In a lot of real world applications, the normality assumption is reasonably approximated&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Residuals&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Density&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/quality-of-government-example/unnamed-chunk-18-1.png&quot; alt=&quot;plot of chunk unnamed-chunk-18&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Students: find something to do in the QoG data if you want to make your life easier for your final papers. It will involve finding a topic of interest, finding relevant variables included in the data, and being mindful about cross-sectional coverage. This resource is nice for students to learn quantitative methods around a relatively simple (but still information-rich) data set.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:cato&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Of course this would be a Cato working paper but it’s a fair point to make. &lt;a href=&quot;#fnref:cato&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:more&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Students of mine, I’m asking for a bit more than this. You can see my examples on the course module. &lt;a href=&quot;#fnref:more&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Sat, 25 Oct 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/10/quality-of-government-example/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/10/quality-of-government-example/</guid>
        
        
        <category>Teaching</category>
        
        <category>R</category>
        
      </item>
    
      <item>
        <title>Simulate Time Series Diagnostics with {sTSD}</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 400px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/mel-brooks-old-testament-crop.jpg&quot; alt=&quot;You don&apos;t have to treat critical values from non-standard distributions as gospel in this day and age. See them for yourself.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;You don&apos;t have to treat critical values from non-standard distributions as gospel in this day and age. See them for yourself.&lt;/dd&gt;
&lt;/dl&gt;

&lt;!-- *Last updated: 28 October 2025.*  --&gt;

&lt;p&gt;I’m writing this for an advanced quantitative methods class I teach in our Master’s program in the Department of Economic History and International Relations. A department of two somewhat disparate disciplines, the curriculum we have at the Master’s level endeavors to teach students interested in both basic disciplines at a foundation level. That concerns the quantitative methods sequences (in which I feature prominently) and concerns time series topics (which feature more in quantitative economic history and not international relations as much). Thus, moving here meant I needed to teach myself some things I had never needed to learn before as either part of my methods training or as a tool for some project I was doing.&lt;/p&gt;

&lt;p&gt;Enter the wonderful world of unit root testing, a common procedure for time series analyses where a vector (time series) does not hover around some constant mean. If this describes your data—and it sure as hell describes just about any series that you might be watching on &lt;a href=&quot;https://finance.yahoo.com/&quot;&gt;Yahoo Finance&lt;/a&gt;—then a failure to adequately diagnose it could lead you down a path to a slew of errors. You have multiple options for how you might diagnose so-called “non-stationarity” or “unit roots”,&lt;sup id=&quot;fnref:int&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:int&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; but the classic one is the Dickey-Fuller test. There is no shortage of packages available for doing unit root tests in R. The familiar &lt;a href=&quot;https://cran.r-project.org/web/packages/tseries/index.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{tseries}&lt;/code&gt;&lt;/a&gt; will do it, as will &lt;a href=&quot;https://cran.r-project.org/web/packages/urca/index.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{urca}&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://cran.r-project.org/web/packages/aTSA/index.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{aTSA}&lt;/code&gt;&lt;/a&gt; (among many others, I’m sure). All work for what they’re intended to do, but all will make evident one of the more whimsical/frustrating things about this procedure. It’s a test that produces a &lt;em&gt;p&lt;/em&gt;-value, for which there is a null hypothesis, but it references a non-standard distribution whose critical values themselves were once simulated over 50 years ago on a Canadian super computer of its time. The end result leaves the baffled student and the professor teaching himself this procedure imagining themselves in the crowd while Moses returns with &lt;a href=&quot;https://www.youtube.com/watch?v=-8ihcq4hzR4&quot;&gt;the 10 (or 15) commandments&lt;/a&gt;. “Interesting. Makes sense? But you’re leaving me wanting to see this for myself.”&lt;/p&gt;

&lt;p&gt;When you understand what it’s doing, it really takes no effort to do this yourself. The R package I wrote to do this, &lt;a href=&quot;https://svmiller.com/sTSD/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{sTSD}&lt;/code&gt;&lt;/a&gt;, handles the (Augmented) Dickey-Fuller test and related &lt;a href=&quot;https://doi.org/10.1093%2Fbiomet%2F75.2.335&quot;&gt;Phillips-Perron&lt;/a&gt; and &lt;a href=&quot;https://doi.org/10.1016/0304-4076(92)90104-Y&quot;&gt;Kwiatkowski et al. (KPSS)&lt;/a&gt; procedures in the same way.&lt;sup id=&quot;fnref:null&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:null&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; It takes an assumed time series you give it and simulates some user-specified number of time series that matches it description, either stationary or non-stationary.&lt;/p&gt;

&lt;p&gt;Here are the R packages that will appear in this post.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tidyverse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for most things...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stevethemes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for my themes/themeing elements&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sTSD&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# the star of the show&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ggh4x&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;       &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for a more flexible nested plot element in {ggplot2}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here’s a table of contents.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;#intuition&quot;&gt;What Are These Unit Root Tests Trying to Accomplish?&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#about&quot;&gt;About That t-Statistic, Though…&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#stsd&quot;&gt;What {sTSD} Does&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#example&quot;&gt;See It For Yourself, with an Applied Example&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;intution&quot;&gt;What Are These Unit Root Tests Trying to Accomplish?&lt;/h2&gt;

&lt;p&gt;I get the basis of this question from watching &lt;a href=&quot;https://purl.stanford.edu/hj183nm6372&quot;&gt;an interview with Bradley Efron in 2014&lt;/a&gt;, where he discusses the origin of the bootstrap as a question about what its predecessor (the jackknife) was trying to accomplish. Every statistical procedure is trying to accomplish something with some question or problem in mind. The Dickey-Fuller test, its augmented form, and its successors (Phillips-Perron, KPSS) are no different.&lt;/p&gt;

&lt;p&gt;We know that non-stationarity poses considerable problems for statistical inference and joint non-stationarity may even lead to problems of &lt;a href=&quot;http://www.fsb.miamioh.edu/lij14/672_2014_s8.pdf&quot;&gt;spurious regression&lt;/a&gt;. What procedure might warn us of these potential issues? Consider the case of the simple random walk, where the observation of &lt;em&gt;y&lt;/em&gt; at time point &lt;em&gt;t&lt;/em&gt; is a function of its previous value and some random shock/error. We’d express this form as follows.&lt;/p&gt;

\[y_{t} = \rho y_{t-1} + e_{t}\]

&lt;p&gt;This coefficient (\(\rho\)) communicates the kind of memory in the series and has an assumed bound between 0 and 1. If \(\rho\) is 0, there is no memory whatsoever in the series and the series itself becomes basic noise over time. If \(\rho\) is 1, there is lasting memory in the series. Sometimes likened to a “drunkard’s walk”, the series has a critical path dependence like a drunkard stumbling out of the bar and toward nowhere in particular. There is randomness, but each “step” along the way is maximally dependent on the steps (and previous randomness) before it.&lt;/p&gt;

&lt;p&gt;Conceptualizing a way out of this doesn’t take too much effort. It only takes a simple pen and the nearest available piece of paper or napkin. Start by subtracting the previous observation (\(y_{t-1}\)) from the current observation (\(y_t\)) and you get the familiar difference term (\(\Delta y_t\)). If you understand that the previous observation (\(y_{t-1}\)) is unweighted with a value of 1, you get this derivation and the introduction of a new coefficient (\(\gamma\)) to summarize this relationship.&lt;/p&gt;

\[\begin{aligned} 

y_{t} &amp;amp;= \rho y_{t-1} + e_{t} \\
y_{t} - y_{t-1} &amp;amp;= \rho y_{t-1} - (1)(y_{t-1}) + e_{t} \\
y_{t} - y_{t-1} &amp;amp;= (\rho - 1) y_{t-1} + e_{t} \\
\Delta y_t &amp;amp;= \gamma y_{t-1} + e_{t}
\end{aligned}\]

&lt;p&gt;The formula syntax may not be welcome for beginners, but the principle is pretty straightforward. A maximally autoregressive series (\(\rho\) = 1) is, we would say, first-difference stationary on paper. When this is true, \(\gamma\) (or \(\rho - 1\)) is 0 and the previous value should tell you absolutely nothing about the change in the current value from the previous value. Only \(e_t\) remains to account for the difference in a series with total information retention.&lt;/p&gt;

&lt;p&gt;Simulation by way of fake data shows how this works. After setting a reproducible seed, we’ll create a simple series of 500 time units. Then, we’ll generate random noise (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;e&lt;/code&gt;) and allow the outcome (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;y&lt;/code&gt;) to be the cumulative sum of this random noise. Whereas the cumulative sum maximally weights the previous observation, and by extension all those before it, this is the pure random walk. The first difference of this (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;d_y&lt;/code&gt;) returns us just the noise at the expense of the first observation in the series.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;set.seed&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;8675309&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Jenny, I got your number...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tibble&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;t&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# 500 time units&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rnorm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# 500 random numbers&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;cumsum&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# the random walk, then...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# the first difference.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;d_y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lag&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# let&apos;s see the data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 500 × 4&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;        t       e      y     d_y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;int&amp;gt;   &amp;lt;dbl&amp;gt;  &amp;lt;dbl&amp;gt;   &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1     1 -0.997  -0.997 NA     &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2     2  0.722  -0.275  0.722 &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3     3 -0.617  -0.892 -0.617 &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4     4  2.03    1.14   2.03  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5     5  1.07    2.20   1.07  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6     6  0.987   3.19   0.987 &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7     7  0.0275  3.22   0.0275&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8     8  0.673   3.89   0.673 &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9     9  0.572   4.46   0.572 &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10    10  0.904   5.37   0.904 &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 490 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here’s what a plot of these data would look like.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/simulate-time-series-diagnostics-stsd/random-walk-first-difference-1.png&quot; alt=&quot;plot of chunk random-walk-first-difference&quot; /&gt;&lt;/p&gt;

&lt;p&gt;What happens when we lose this kind of “memory” in the series? In any instance where \(\rho\) &amp;lt; 1, \(\gamma\) in the above equation is necessarily negative. Thus, the past observation starts to tell you something about the next period’s change through a correction mechanism or mean reversion. Past values above the mean in \(y\) get “corrected” and pull down to the mean of the overall series. Past values below the mean in \(y\) get corrected and pull up to the mean of the overall series. Again, referenced to the above formula, \(\gamma\) is negative. Referenced to some kind of linear model of this mechanism, the &lt;em&gt;t&lt;/em&gt;-statistic you get predicting the current period’s change with the last observed value will come back &lt;em&gt;more&lt;/em&gt; negative than it would in the pure random walk. There’s a correction, and we can feel more “confident” predicting such a correction in the presence of even partial memory. Observe in the case where \(\gamma\) is -.5 (i.e. \(\rho\) in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;arima.sim()&lt;/code&gt; is .5).&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;tibble&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;t&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;as.vector&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;arima.sim&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ar&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0.5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sd&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;d_y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lag&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeAR&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Compare the pure random walk...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;d_y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lag&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;coefficients&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;            Estimate  Std. Error     t value  Pr(&amp;gt;|t|)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; lag(y) 3.886658e-05 0.004867894 0.007984272 0.9936327&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ...with one that has partial memory.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;d_y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lag&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeAR&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;coefficients&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;          Estimate Std. Error   t value     Pr(&amp;gt;|t|)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; lag(y) -0.4842694 0.03804168 -12.72997 2.457904e-32&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The past value tells you nothing of the current value’s change in the random walk, but it tells you a lot in the case where memory is just partial and the series corrects to its mean. That predictive power is communicated in the &lt;em&gt;t&lt;/em&gt;-statistic of a simple linear model.&lt;/p&gt;

&lt;h2 id=&quot;about&quot;&gt;About That t-Statistic, Though…&lt;/h2&gt;

&lt;p&gt;It would be ideal if that &lt;em&gt;t&lt;/em&gt;-statistic of the model were sufficient for making inferential claims, but it isn’t. That is indeed the test statistic of note, but the statistic doesn’t follow the inferential process of the simple linear model because the test is over the residual term and not the raw data of the series. Instead, we need some other set of critical values for making inferential claims about non-stationarity in the time series. Enter the following table, which first appeared in either Fuller (1976) or Dickey (1976). I have Dickey’s (1976) dissertation, if not Fuller’s (1976) textbook, so I’ll present the Dickey (1976) version.&lt;/p&gt;

&lt;dl class=&quot;wp-caption aligncenter&quot; style=&quot;max-width: 659px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/dickey1976tab53-full.png&quot; alt=&quot;Critical Values of the Dickey-Fuller Test, by Way of Dickey (1976)&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Critical Values of the Dickey-Fuller Test, by Way of Dickey (1976)&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;For added context, these values are the product of an extensive Monte Carlo simulation carried out with assistance from a supercomputer at McGill University at the time (“Super Duper”). Assume a standard normal distribution (with a mean of 0 and a standard deviation of 1). Now, prepare (in the table’s case) a vector of length 25, 50, 100, 250, 500, 750, and \(\infty\).&lt;sup id=&quot;fnref:inf&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:inf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; Further assume the pure random walk from the aforementioned standard normal distribution and related data-generating processes for which there is a &lt;em&gt;y&lt;/em&gt;-intercept (i.e. a “drift”, in time series parlance) and a linear time trend that increments by 1 across the length of the vector. For each of those vectors corresponding with those data-generating processes, replicate the procedure on these vectors anywhere from 10,000 to 100,000 times. Get the &lt;em&gt;t&lt;/em&gt;-statistics for each of those as a kind of distribution of test statistics under the assumption of a non-stationary time series (because they’re random walks). Break those into percentiles corresponding with anywhere from 1% to the 99%. Recall that the test statistics are intended to come back negative for real-world cases, so we should focus our attention on those magic numbers like .05 or .10 corresponding with the left tail.&lt;/p&gt;

&lt;p&gt;Enter one of the first frustrating features of this procedure: the null hypothesis. This is one of those procedures. The null hypothesis here is clumsily stated as equivalent to “problem”, in contrast with other diagnostic tests like Breusch-Pagan, Breusch-Godfrey, and Durbin-Watson (in which the null hypothesis is “no problem”). If the test statistic is less than (“more negative than”) one of those critical values of your choice, you can reject the null hypothesis of “problem” (i.e. non-stationarity) and instead accept the alternative hypothesis of “no problem” (i.e. stationarity). If you cannot reject the null hypothesis, you have a problem. However, you’re making a statement of compatibility or incompatibility of the null hypothesis referencing various distributions that are almost assuredly not your own. You’re further making assessments of your ability to reject the null hypothesis against a distribution that is somewhat parked only when the time series you have is not stationary. That’d be the rationale for “problem” as the null hypothesis. If your time series is stationary, the distribution of plausible statistics moves contingent on \(\rho\) and how long the series is.&lt;/p&gt;

&lt;p&gt;This test is a case where the logic is nifty but the execution has left me a bit wanting ever since I had to start teaching about this procedure. For one, literally every textbook reproduces this exact table from either Fuller’s (1976) textbook or Dickey’s (1976) dissertation. I don’t doubt the output of the model, but its utility is defined by implicit assumptions in a 50-year-old supercomputer and the multiple other assumptions Dickey and Fuller built into the procedure. Two, much like anything involving a &lt;em&gt;t&lt;/em&gt;-statistic, it is never offered in relation to your actual data. I will never have a data set of 25, 50, 100, 250, 500, 750, or \(\infty\) observations, so what these statistics mean for my time series of 336 observations or 83 observations has to be approximated or interpolated through other means. This makes it kind of biblical, in a way. It’s again similar to Moses coming down on high with ten commandments ad infinitum without any real means to square ten simple dictates with the exigencies of real life. The third complaint isn’t really the fault of anyone in particular, but this function is non-standard. Summary by simulation was the only way to go and Dickey and Fuller do at least provide an honest framework based on simulation that very few people could do 50 years ago. But I can do this now.&lt;sup id=&quot;fnref:seoul&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:seoul&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; All of us have better technology than Dickey and Fuller had 50 years ago. Why not? It would certainly circumvent some of the awkwardness of doing inference by the null hypothesis. It’s non-standard anyway, so why do it this way when I can simulate based on features about my time series instead (rather than the standard normal distribution).&lt;/p&gt;

&lt;h2 id=&quot;stsd&quot;&gt;What {sTSD} Does&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{sTSD}&lt;/code&gt; is born from my frustration with these procedures, and also my affinity for simulating things. &lt;a href=&quot;https://svmiller.com/sTSD/reference/sadf_test.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sadf_test()&lt;/code&gt;&lt;/a&gt;, which handles both the Dickey-Fuller and its “augmented” corollary, looks like this.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;sadf_test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_sims&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sim_hyp&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;nonstationary&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sadf_test()&lt;/code&gt; takes a vector of an assumed time series (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;x&lt;/code&gt;). It then asks for some number of simulations (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;n_sims&lt;/code&gt;) you would like to do, with a default of 1,000. Thereafter, it will simulate the user-specified number of simulations from either a pure white noise time series (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sim_hyp = &apos;stationary&apos;&lt;/code&gt;) or three different time series (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sim_hyp = &apos;nonstationary&apos;&lt;/code&gt;) where the data are either a pure random walk, a random walk with a drift (y-intercept), or a random walk with a drift and trend (i.e. y-intercept and time trend). It then runs the Dickey-Fuller or its “augmented” version on all those simulated series, contingent on what you provide to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;n_lags&lt;/code&gt; argument in the function.&lt;sup id=&quot;fnref:lags&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lags&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; It will allow you to assess whether your time series is stationary or non-stationary by comparison to simulated series of the exact length of your series that is known to be stationary or non-stationary in some form.&lt;/p&gt;

&lt;p&gt;Let’s do a simple Dickey-Fuller test (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;n_lags = 0&lt;/code&gt;) with just 100 simulations to make this quick, and to explore its basic output. The output will come back as a list with a specialty class provided by the function.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;DF1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sadf_test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_sims&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] &quot;sadf_test&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;names&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] &quot;stats&quot;      &quot;sims&quot;       &quot;attributes&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The first element, (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;stats&quot;&lt;/code&gt;), is the test statistics. In order, they are the test statistic for the Dickey-Fuller test with 1) no drift nor trend, 2) drift, no trend, and 3) drift and trend. You can compare with it communicates with the corollary functions in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{urca}&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{aTSA}&lt;/code&gt; package.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;DF1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stats&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;              [,1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1,]  0.007984272&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [2,] -0.229766902&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [3,] -2.472305462&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# compare with in {urca}:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;attributes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;urca&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ur.df&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;none&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;teststat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 0.007984272&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;attributes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;urca&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ur.df&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;drift&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;teststat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] -0.2297669&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;attributes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;urca&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ur.df&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;trend&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;teststat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] -2.472305&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# {aTSA} does all three in one fell swoop, but be mindful it assumes lag of 1 is&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# a lag of 0. There is some processing issues it does underneath the hood that&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# account for this.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;aTSA&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;adf.test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeWalk&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nlag&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Augmented Dickey-Fuller Test &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; alternative: stationary &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 1: no drift no trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;      lag     ADF p.value&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1,]   0 0.00798   0.646&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 2: with drift no trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;      lag   ADF p.value&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1,]   0 -0.23   0.928&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 3: with drift and trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;      lag   ADF p.value&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1,]   0 -2.47   0.377&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Note: in fact, p.value = 0.01 means p.value &amp;lt;= 0.01&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The last element (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;attributes&quot;&lt;/code&gt;) contains information for post-processing in another function I will introduce later, but let’s take a look at the second element (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;sims&quot;&lt;/code&gt;). This is a data frame that is always equal to three times the number of simulations you requested. In our case, these would be the first nine of those simulations.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;head&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sims&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;          tau sim                cat&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 1  0.6575291   1 No Drift, No Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 2  0.7944876   1    Drift, No Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 3 -1.0168921   1    Drift and Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 4 -0.3259828   2 No Drift, No Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 5  0.8019879   2    Drift, No Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 6 -3.0584936   2    Drift and Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 7 -2.0725384   3 No Drift, No Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 8  2.4074861   3    Drift, No Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 9 -0.3064146   3    Drift and Trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Recall that we leaned on the default procedure for a Dickey-Fuller test, which is to assume non-stationarity of some particular form: the pure random walk, the random walk with a drift, and the random walk with a drift and deterministic time trend. For each simulation, we generated a known series of the length of our time series that matches that description we are testing.&lt;sup id=&quot;fnref:sim_df_mod&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sim_df_mod&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt; Each simulation then has three randomly generated series for which it calculates Dickey-Fuller test statistics. Those statistics are stored here and can be summarized, visually, however you want.&lt;/p&gt;

&lt;p&gt;Perhaps the easiest thing is to lean on the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ur_summary()&lt;/code&gt; function for you based on the information included in all elements of the object &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sadf_test()&lt;/code&gt; returns. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;stats&quot;&lt;/code&gt; has the test statistics, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;sims&quot;&lt;/code&gt; has the raw simulations, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;attributes&quot;&lt;/code&gt; has a quick summary of the arguments fed to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sadf_test()&lt;/code&gt; function. Applied to our test, we get the following.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;ur_summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Simulated (Augmented) Dickey-Fuller Test Summary * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Simulated test statistics are calculated on time series that are: nonstationary &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Length of time series: 500. Lags: 0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 1: no drift, no trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: 0.008&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.085 (1%); -1.88 (5%); -1.496 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 2: drift, no trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -0.23&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.093 (1%); -1.7 (5%); -1.242 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 3: drift and trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -2.472&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -3.764 (1%); -3.42 (5%); -3.198 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Guides to help you assess stationarity or non-stationarity * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; These thresholds are the results of 100 different simulations of a non-stationary time series matching your time series description (n = 500, lags = 0). If your tau is more negative than one of these thresholds of interest, that is incompatible with a non-stationary time series and more compatible with a stationary time series.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; If this is not the case, what you see is implying your time series is non-stationary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Please refer to the raw output for the simulations for other means of assessment/summary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In our case, the simulated time series to which we are comparing our time series is non-stationary. Knowing what we know from the pen-and-napkin math above, we expect a non-stationary time series to approximate a &lt;em&gt;t&lt;/em&gt;-distribution whose central tendency hovers on 0 (even though we can’t call it a &lt;em&gt;t&lt;/em&gt;-distribution). When information retention is partial (i.e. \(\rho\) &amp;lt; 1), the coefficient predicting first differences becomes “more” negative and can be better discerned from 0 in the pen-and-napkin math above. Thus, you judge the test statistic by how negative it is and how easily it could be discerned from a distribution of test statistics generated from a random walk with permanent information retention. In our case, we have an obvious random walk. Its test statistic is very much compatible with a distribution of test statistics (\(\tau\)) that could be generated from a random walk. We cannot reject the null hypothesis of a non-stationary times series because, well, we generated a random walk. Duh.&lt;/p&gt;

&lt;p&gt;Compare the above with a pure white noise times series and the one with partial memory. Even the one with partial memory has “shocks” today that decay geometrically. The series “forgets” past shocks pretty quickly, all things considered. The series with absolutely no information retention (i.e. the one generated by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rnorm()&lt;/code&gt;) can more confidently reject 0.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;# partial memory&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sadf_test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fakeAR&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_sims&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ur_summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Simulated (Augmented) Dickey-Fuller Test Summary * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Simulated test statistics are calculated on time series that are: nonstationary &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Length of time series: 500. Lags: 0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 1: no drift, no trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -12.73&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.39 (1%); -1.853 (5%); -1.355 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 2: drift, no trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -12.716&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.453 (1%); -1.478 (5%); -1.191 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 3: drift and trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -12.73&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -3.907 (1%); -3.567 (5%); -3.137 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Guides to help you assess stationarity or non-stationarity * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; These thresholds are the results of 100 different simulations of a non-stationary time series matching your time series description (n = 500, lags = 0). If your tau is more negative than one of these thresholds of interest, that is incompatible with a non-stationary time series and more compatible with a stationary time series.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; If this is not the case, what you see is implying your time series is non-stationary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Please refer to the raw output for the simulations for other means of assessment/summary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# pure white noise&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sadf_test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rnorm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_lags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_sims&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ur_summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Simulated (Augmented) Dickey-Fuller Test Summary * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Simulated test statistics are calculated on time series that are: nonstationary &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Length of time series: 500. Lags: 0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 1: no drift, no trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -22.014&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.188 (1%); -1.752 (5%); -1.439 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 2: drift, no trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -21.994&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.416 (1%); -1.885 (5%); -1.395 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 3: drift and trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -22.003&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -3.817 (1%); -3.266 (5%); -3.117 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Guides to help you assess stationarity or non-stationarity * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; These thresholds are the results of 100 different simulations of a non-stationary time series matching your time series description (n = 500, lags = 0). If your tau is more negative than one of these thresholds of interest, that is incompatible with a non-stationary time series and more compatible with a stationary time series.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; If this is not the case, what you see is implying your time series is non-stationary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Please refer to the raw output for the simulations for other means of assessment/summary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;example&quot;&gt;See It For Yourself, with an Applied Example&lt;/h2&gt;

&lt;p&gt;You can better see this for yourself with actual data. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;USDSEK&lt;/code&gt; is a time series included in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{sTSD}&lt;/code&gt; that has information I find good to know since I moved to Sweden from the United States: the Swedish crown (SEK) and U.S. dollar (USD) exchange rate. In particular, how many Swedish crowns are necessary to obtain one dollar? This is an interesting time series that you can see for yourself here.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/simulate-time-series-diagnostics-stsd/usd-sek-time-series-1.png&quot; alt=&quot;plot of chunk usd-sek-time-series&quot; /&gt;&lt;/p&gt;

&lt;p&gt;This sure looks like it would have a strong, built-in information retention mechanism. Most time series of commodities that are traded daily have a pervasive, built-in memory. We can see for ourselves with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sadf_test()&lt;/code&gt; function and lean on it to identify an appropriate lag structure for us.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;DF4&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sadf_test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;USDSEK&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_sims&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF5&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sadf_test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;diff&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;USDSEK&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sim_hyp&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;stationary&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n_sims&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# I&apos;m going somewhere with this...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ur_summary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;DF4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Simulated (Augmented) Dickey-Fuller Test Summary * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; ---------------------------------------------------- &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Simulated test statistics are calculated on time series that are: nonstationary &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Length of time series: 3900. Lags: 9&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 1: no drift, no trend &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: 1.078&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.554 (1%); -1.964 (5%); -1.557 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 2: drift, no trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -0.683&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -2.504 (1%); -1.802 (5%); -1.415 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Type 3: drift and trend&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; -----------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Your tau: -2.893&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Potential thresholds for your consideration: -3.868 (1%); -3.368 (5%); -3.094 (10%)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; * Guides to help you assess stationarity or non-stationarity * &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; --------------------------------------------------------------&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; These thresholds are the results of 500 different simulations of a non-stationary time series matching your time series description (n = 3900, lags = 9). If your tau is more negative than one of these thresholds of interest, that is incompatible with a non-stationary time series and more compatible with a stationary time series.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; If this is not the case, what you see is implying your time series is non-stationary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; Please refer to the raw output for the simulations for other means of assessment/summary.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The test statistics are compatible with a distribution of test statistics of a random walk, leading us to reasonably conclude that our times series of a currency exchange rate traded daily is non-stationary. Of course it would be.&lt;/p&gt;

&lt;p&gt;However, it would be illustrative to get an idea of what this looks like, visually. Here, the tests included in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{sTSD}&lt;/code&gt; allow you to evaluate your time series against a stationary or non-stationary time series. Inference in the case of the Dickey-Fuller test is traditionally made against a non-stationary time series. However, you could simulate against a stationary time series to get an idea of what the test statistics would resemble for a time series with the length and number of lags requested. That, I think, is one feature missing when your critical values are handed down from on high based on what was computationally possible or feasible 50 years ago. We know from pen-and-napkin that the first difference should be stationary, so let’s also show what the test statistics from the first-difference time series looks like compared to a distribution of test statistics from a stationary time series.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/simulate-time-series-diagnostics-stsd/simulated-test-stats-usd-sek-1.png&quot; alt=&quot;plot of chunk simulated-test-stats-usd-sek&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Computational abilities of the time made it impractical to simulate distributions of stationary test statistics of the Dickey-Fuller procedure when the distribution of stationary test statistics depended on the non-1 values of \(\rho\) and the length of the series. The distribution of test statistics for maximally autoregressive series were much more stable and predictable by comparison. Even though the procedure is traditionally done with the null hypothesis of non-stationary, you can assess your test statistics against simulations of a stationary time series all the same. Do what you want with the &lt;em&gt;p&lt;/em&gt;-value under those circumstances, which is really the case for anything involving a &lt;em&gt;p&lt;/em&gt;-value.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;There really isn’t much to conclude here. It’s more of a quick introduction/tutorial for the MA students in our department who have to learn about unit root testing with &lt;a href=&quot;https://svmiller.com/sTSD/&quot;&gt;my &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{sTSD}&lt;/code&gt; package&lt;/a&gt;. I never quite liked the R packages that were available in how they communicated the information of interest. Plus, it doesn’t make much sense these days to rely on old critical values generated 50 years ago for non-standard distributions like the one underpinning the (Augmented) Dickey-Fuller test. You can simulate those for yourselves. Moses can give you commandments and you just run with premise, supposedly. You can do the same here if you’d like, but simulation is much more informative.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:int&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;One frustrating thing jumping into this topic has been the slew of synonyms to describe the same basic thing. A time series that looks like a familiar asset price (e.g. &lt;a href=&quot;https://finance.yahoo.com/quote/%5ESTEEL/&quot;&gt;the ARCA Steel Index&lt;/a&gt;), might be “non-stationary”, have a “unit root”, or could even be “integrated”. The last of these is often the most frustrating thing to encounter. A stationary time series in level form is also “integrated”, if at order 0. &lt;a href=&quot;http://amosdevelopment.com/webhelp/imp-post-radiotrace.html&quot;&gt;It would look something like a problem-free trace plot&lt;/a&gt; from a Markov Chain Monte Carlo (MCMC) procedure. A time series that is integrated at order 1 would be a random walk, like the kind I’ll explore in this post. A first difference makes such a time series to be stationary. A time series integrated at order 2 would be an “explosive” time series, like the kind you might see of the Dow Jones Industrial Average over its entire lifespan (i.e. since 1885). Its growth in level terms looks exponential, should probably be log-transformed to avoid this (unless you’re dealing with, God help you, &lt;a href=&quot;https://finance.yahoo.com/quote/BTC-USD/&quot;&gt;Bitcoin&lt;/a&gt;), and can be “double-differenced” to be stationary. I’m unaware of integration at levels beyond that, but there’s still a lot I don’t know about time series topics. &lt;a href=&quot;#fnref:int&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:null&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;There is a small caveat about the null hypothesis for the KPSS test, which by default is “stationarity”. The null hypothesis in the (Augmented) Dickey-Fuller and Phillips-Perron tests is “non-stationarity.” The latter two tests are anomalous from my vantage point of diagnostic tests because the null hypothesis is “you have a problem.” Compare to other diagnostic procedures we typically teach, like a Breusch-Pagan test, Durbin-Watson test, or Breusch-Godfrey test. Among unit root tests of which I’m aware, KPSS is unique for its null hypothesis. This affects the default behavior of the related functions in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{sTSD}&lt;/code&gt; package, but it does not affect what you could materially do with the simulations in this package. &lt;a href=&quot;#fnref:null&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:inf&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;There does not appear to be a numeric plug-in for infinity (e.g. 1,000 or 10,000). Dickey (1976, 49-50) seems to be describing a limit function in which these statistics are analytically derived. &lt;a href=&quot;#fnref:inf&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:seoul&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;In fact, I wrote this particular passage on my laptop somewhat antsy for things to do on a 14-hour flight from Seoul to Amsterdam. &lt;a href=&quot;#fnref:seoul&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lags&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;The choice of lagged first differences is what makes the Augmented Dickey-Fuller test to be “augmented.” It’s also not something a lot of econometrics textbooks I’ve seen belabor in any detail. &lt;a href=&quot;https://svmiller.com/sTSD/reference/adf_lag_select.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;adf_lag_select()&lt;/code&gt;&lt;/a&gt; might be of interest to you if you want to consider some thresholds for optimal lag selection tailored for your series while &lt;a href=&quot;https://svmiller.com/sTSD/reference/lag_suggests.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lag_suggests&lt;/code&gt;&lt;/a&gt; is a data set that will straight-up tell you what are some suggested first differences to specify, based on past scholarship. Do with those what you will, but it’s one reason why I would prefer to teach unit root tests around either the Phillips-Perron or KPSS procedures. In both cases, you ask for some kind of long- or short-term lag for the bandwidth/kernel generating the test statistic. If standard texts don’t belabor the lag selection procedure, doing an alternative test that doesn’t ask that information of you seems to make more sense. &lt;a href=&quot;#fnref:lags&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:sim_df_mod&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://svmiller.com/sTSD/reference/sim_df_mod.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sim_df_mod()&lt;/code&gt;&lt;/a&gt; is mostly intended for internal use as a helper function, but it’s generating these different time series. In particular, it leans on the &lt;a href=&quot;https://en.wikipedia.org/wiki/Rademacher_distribution&quot;&gt;Rademacher distribution&lt;/a&gt; to generate drift and trend effects. I am unaware of many texts belaboring these details when they do simulate them, but the texts I have found could be reasonably approximated with this distribution. &lt;a href=&quot;#fnref:sim_df_mod&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 21 Oct 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/10/simulate-time-series-diagnostics-stsd/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/10/simulate-time-series-diagnostics-stsd/</guid>
        
        
        <category>Teaching</category>
        
        <category>R</category>
        
      </item>
    
      <item>
        <title>Replication Forensics</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 350px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/forensic-files-whos-your-daddy.jpg&quot; alt=&quot;Admit it; you heard the theme in your head just looking at this image. Peter Thomas is a ringing voice in my head from grad school.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Admit it; you heard the theme in your head just looking at this image. Peter Thomas is a ringing voice in my head from grad school.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;The impetus for this post is as much a concession of defeat as it is a genuine interest of mine. &lt;a href=&quot;https://svmiller.com/blog/2025/09/assorted-opinionated-takes-on-chatbot-use-by-students/&quot;&gt;Chatbots have seen enough of my material&lt;/a&gt; that they can effectively do my assignments for apathetic students in both my &lt;a href=&quot;http://eh6127.svmiller.com/&quot;&gt;upper-division&lt;/a&gt; and &lt;a href=&quot;https://ir3-2.svmiller.com/&quot;&gt;lower-division&lt;/a&gt; methods courses. I do like the various data sets that I’ve crammed into &lt;a href=&quot;https://svmiller.com/stevedata&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{stevedata}&lt;/code&gt;&lt;/a&gt; and spammed onto CRAN. They have real instructional benefits. But, I have to change it up a bit.&lt;/p&gt;

&lt;p&gt;Second, I have a genuine interest in the wild, wild west of what was quantitative political science over 20 years ago. Replication norms when I was starting out were &lt;strong&gt;nowhere&lt;/strong&gt; near as rigorous as they are now, but computing power became much cheaper and software options became more sophisticated and  user-friendly. It’s crazy to look back on the time when Yale hosted the &lt;em&gt;Journal of Conflict Resolution&lt;/em&gt; and had a data repository that has since been lost to history (as far as I’m aware). If you’re lucky, you got a replication data set. If you’re even luckier, the replication data set did not get lost to time when the university underwent one of many structural changes to its web hosting platforms. The replication data set was almost assuredly posted on a faculty member’s website and web hosting platforms at the time were in their infancy. Perhaps, that faculty member may have simply moved the files to something more stable or uploaded them to &lt;a href=&quot;https://dataverse.harvard.edu/&quot;&gt;Dataverse&lt;/a&gt; when they retired, switched employers, or had their old web hosting platforms taken from them or rehauled completely. If you’ve won the lottery, that replication data set includes a codebook and a script of some description that allows you to reproduce the findings. It’s led me to do some sleuthing in the furthest reaches of the web to try to find some of these forgotten materials. I have a &lt;a href=&quot;https://github.com/svmiller/abandoned-datasets&quot;&gt;small but ideally growing Github repository&lt;/a&gt; that tries to preserve copies of these data sets that are not easily found and may not even be available on Dataverse.&lt;/p&gt;

&lt;p&gt;I also think this is an instructional opportunity for students. &lt;a href=&quot;https://www.cambridge.org/core/journals/ps-political-science-and-politics/article/abs/replication-replication/85C204B396C5060963589BDC1A8E7357&quot;&gt;We’ve known for some time&lt;/a&gt; that replication is necessary for (political) science, and the discipline has since caught up for the most part. But what do you do when all you have is a data set? What do you do when the replication script, if you have one, is in a programming language you’ve never seen before? Well, &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;figure it out&lt;/a&gt;.&lt;sup id=&quot;fnref:rr&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:rr&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; In the absence of an exact recipe with software you have, you’ll have to do what I’ll call “replication forensics” to piece together what the author did and how you can translate it to something more current.&lt;sup id=&quot;fnref:forensics&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:forensics&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; You have the data. You have the article. &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;Figure it out&lt;/a&gt;.&lt;sup id=&quot;fnref:noone&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:noone&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;We’re going to do that today with one of my favorite articles I read in graduate school: Kenneth Benoit’s (1996) &lt;a href=&quot;https://doi.org/10.1177/0022002796040004006&quot;&gt;“Democracies Really Are More Pacific (in General): Reexamining Regime Type and War Involvement”&lt;/a&gt;. People reading this who are aware of me know that the bulk of my early research was &lt;a href=&quot;https://svmiller.com/blog/2015/04/some-psfrustrations-from-an-ir-perspective&quot;&gt;democratic peace skepticism&lt;/a&gt;. I like this article in particular because it tries to tackle one of the biggest contradictions in the democratic peace corpus: the “monadic” phenomenon that is very much implied but never fully confirmed. Benoit (1996), &lt;a href=&quot;https://svmiller.com/svm-article-summaries/rousseauetal1996adn/svm-as-rousseauetal1996adn.pdf&quot;&gt;like Rousseau et al. (1996)&lt;/a&gt;, gives it an honest effort, but the results aren’t terribly convincing the more you look at them. Benoit’s (1996) analysis is also very much limited to a particular moment in time for which there isn’t much assurance that the findings will generalize. That said, it at least acknowledged the tension (which is more than can be said in a lot of democratic peace staples).&lt;/p&gt;

&lt;p&gt;Here are the R packages we’ll be using today. I won’t directly load &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{MASS}&lt;/code&gt; but will use it for the negative binomial model function.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tidyverse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for most things&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;modelsummary&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for regression summary&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;kableExtra&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for behind-the-scenes formatting&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# library(MASS)       # used but not directly loaded.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;reading-benoit-1996s-data&quot;&gt;Reading Benoit (1996)’s Data&lt;/h2&gt;

&lt;p&gt;I found a copy of Benoit’s (1996) data/analyses and &lt;a href=&quot;https://github.com/svmiller/abandoned-datasets/tree/main/benoit1996drmp&quot;&gt;uploaded these files&lt;/a&gt; to my pet Github repository for these things. Mercifully, you get a README file that will tell you where to look for replicating certain parts of his analysis. You also get various codebooks (as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.cbk&lt;/code&gt; files) to assist you. That’s certainly nice, though I will say I didn’t look at them before writing this post and won’t look at them now. Seriously. I’m trying to practice what I preach; &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;“figure it out”&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I want to replicate his Table 2, a screenshot of which follows.&lt;/p&gt;

&lt;dl class=&quot;wp-caption aligncenter&quot; style=&quot;max-width: 596px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/benoit1996-tab2.png&quot; alt=&quot;Table 2 in Benoit (1996)&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Table 2 in Benoit (1996)&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;The README file is pointing me to &lt;a href=&quot;https://github.com/svmiller/abandoned-datasets/blob/main/benoit1996drmp/WEEDE.ASC&quot;&gt;the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;WEEDE.ASC&lt;/code&gt; file&lt;/a&gt; for the data and &lt;a href=&quot;https://github.com/svmiller/abandoned-datasets/blob/main/benoit1996drmp/REG_TAB2.PRG&quot;&gt;the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;REG_TAB2.PRG&lt;/code&gt; file&lt;/a&gt; to replicate this. I’ll have to use the former but I’m going to avoid the latter for the sake of this exercise. I’ll get to the data shortly, but the reader and I are looking at the contents of these files for the first time. Neither of us, in all likelihood, have used the software that Benoit (1996) used for his analysis: &lt;a href=&quot;https://en.wikipedia.org/wiki/GAUSS_(software)&quot;&gt;GAUSS&lt;/a&gt;. I don’t know when exactly GAUSS fell out of favor in my field, but it was certainly before (and likely long before) I joined the field in 2006. Together, we’ll &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;figure it out&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We’ll have to load the data before doing anything with them. I can already tell from context clues and, well, opening the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;WEEDE.ASC&lt;/code&gt; file in a text editor, that there is going to be a small issue. Here are the column names and the first row of the data file.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;@ ccode	cname	superpwr	butterw	kende	ssm_is	ssm_es	ssis6074	sses6074	ssis7580	sses7580	ssal6080	ssal6074	ssal7580	poldem60	poldem65	civil73	polit73	civil79	polit79	fh73	fh75_80	dembin	area	defexd	defexdpc	encon	enconpc	gnppc	gdppc	impexppc	impexp	ecintdep	tvpc	szmil	szmilpc	popltn	larea	lpopltn	lszmil	lszmilpc	ltvpc	lecintd	limpexpc	limpexp	lencnpc	lgdppc	milwp70	popln70	ecnpc70	trade75	lmilwp70	lpopln70	lecnpc70 @
2	United_States	1	7	14	1	0	1	0	0	0	1	1	0	94.6	92.4	1	1	1	1	14	14	1	3619	76276144	37229	2278900	11127	4953	4501	40192	8234600	0.081	41292	3161	154	204880	3.559	5.311	3.5	2.188	4.616	-1.091	4.604	6.916	4.046	3.653	24.2	204879	11077	13.8	1.3838	5.3115	4.0444
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That leading &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@&lt;/code&gt; is going to be a slight frustration because R will want to read that as a column. There are certainly context clues that come with experience, but even the lay reader can see how this will go awry. My knowledge of the Correlates of War state system tells me that the United States has a state code of 2. It should be the case that &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ccode&lt;/code&gt; is the column that has that 2, but R will read a column of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@&lt;/code&gt; as having that 2. I don’t want that.&lt;/p&gt;

&lt;p&gt;You have one of two options here. The first is to make a copy of the file, erase the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@&lt;/code&gt; and save. That’s certainly the easiest way to go about this and it’s what I would advise students to do under these circumstances. You could also do something like this.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;read_file&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;~/Koofr/data/benoit1996drmp/WEEDE.ASC&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ^ assuming your data are here, which they won&apos;t be. Adjust to taste.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;substring&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;150&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# looks gross, but don&apos;t worry&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] &quot;@ ccode\tcname\tsuperpwr\tbutterw\tkende\tssm_is\tssm_es\tssis6074\tsses6074\tssis7580\tsses7580\tssal6080\tssal6074\tssal7580\tpoldem60\tpoldem65\tcivil73\tpolit73\tci&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;gsub&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;@&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# find any instance of @ and replace with nothing at all.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;read_table&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# read the table&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ta-da&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 101 × 55&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    ccode cname   superpwr butterw kende ssm_is ssm_es ssis6074 sses6074 ssis7580&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;      &amp;lt;dbl&amp;gt;   &amp;lt;dbl&amp;gt; &amp;lt;dbl&amp;gt;  &amp;lt;dbl&amp;gt;  &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1     2 United…        1       7    14      1      0        1        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2    20 Canada         0       0     0      0      0        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3    40 Cuba           0       1     2      0      1        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4    41 Haiti          0       0     0      0      0        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5    42 Domini…        0       1     1      0      0        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6    70 Mexico         0       0     0      0      0        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7    90 Guatem…        0       0     1      0      0        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8    91 Hondur…        0       1     1      1      0        1        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9    92 El_Sal…        0       1     1      1      0        1        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10    93 Nicara…        0       0     0      0      0        0        0        0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 91 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 45 more variables: sses7580 &amp;lt;dbl&amp;gt;, ssal6080 &amp;lt;dbl&amp;gt;, ssal6074 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   ssal7580 &amp;lt;dbl&amp;gt;, poldem60 &amp;lt;chr&amp;gt;, poldem65 &amp;lt;chr&amp;gt;, civil73 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   polit73 &amp;lt;dbl&amp;gt;, civil79 &amp;lt;chr&amp;gt;, polit79 &amp;lt;chr&amp;gt;, fh73 &amp;lt;dbl&amp;gt;, fh75_80 &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   dembin &amp;lt;dbl&amp;gt;, area &amp;lt;dbl&amp;gt;, defexd &amp;lt;chr&amp;gt;, defexdpc &amp;lt;chr&amp;gt;, encon &amp;lt;dbl&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   enconpc &amp;lt;dbl&amp;gt;, gnppc &amp;lt;chr&amp;gt;, gdppc &amp;lt;chr&amp;gt;, impexppc &amp;lt;chr&amp;gt;, impexp &amp;lt;chr&amp;gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; #   ecintdep &amp;lt;chr&amp;gt;, tvpc &amp;lt;chr&amp;gt;, szmil &amp;lt;chr&amp;gt;, szmilpc &amp;lt;chr&amp;gt;, popltn &amp;lt;dbl&amp;gt;, …&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;An approach like this won’t be necessary if you’re handed a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.sav&lt;/code&gt; file (SPSS format) or a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.dta&lt;/code&gt; file (Stata format), but it’s something you’ll want to think about if you have a text file offered as a data file. This may just be a GAUSS quirk for all I know, though flat text files are ubiquitous in older analyses for which data are available. You should learn to anticipate some of these problems. Definitely look before you do anything.&lt;/p&gt;

&lt;h2 id=&quot;identifying-the-variables-in-benoits-1996-table-2&quot;&gt;Identifying the Variables in Benoit’s (1996) Table 2&lt;/h2&gt;

&lt;p&gt;I’ve read Benoit’s (1996) article to know what he is doing. He’s regressing two different measures of war counts (Butterworth and Small-Singer) on two different measures of democracy (&lt;a href=&quot;https://www.jstor.org/stable/2095172&quot;&gt;Bollen’s (1980)&lt;/a&gt; measure of democracy and a measure of democracy from Freedom House). He will do that for three different estimation techniques: the linear model/OLS, &lt;a href=&quot;https://svmiller.com/blog/2023/12/count-models-poisson-negative-binomial/&quot;&gt;the Poisson model for counts&lt;/a&gt;, and the negative binomial model (used for over-dispersed/under-dispersed counts). I could look at the program file that accompanies this analysis, but I won’t for the sake of what I encourage students to do for themselves. &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;Figure it out&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Let’s identify the column names in the data if they’ll signal what we want.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;colnames&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  [1] &quot;ccode&quot;    &quot;cname&quot;    &quot;superpwr&quot; &quot;butterw&quot;  &quot;kende&quot;    &quot;ssm_is&quot;  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  [7] &quot;ssm_es&quot;   &quot;ssis6074&quot; &quot;sses6074&quot; &quot;ssis7580&quot; &quot;sses7580&quot; &quot;ssal6080&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [13] &quot;ssal6074&quot; &quot;ssal7580&quot; &quot;poldem60&quot; &quot;poldem65&quot; &quot;civil73&quot;  &quot;polit73&quot; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [19] &quot;civil79&quot;  &quot;polit79&quot;  &quot;fh73&quot;     &quot;fh75_80&quot;  &quot;dembin&quot;   &quot;area&quot;    &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [25] &quot;defexd&quot;   &quot;defexdpc&quot; &quot;encon&quot;    &quot;enconpc&quot;  &quot;gnppc&quot;    &quot;gdppc&quot;   &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [31] &quot;impexppc&quot; &quot;impexp&quot;   &quot;ecintdep&quot; &quot;tvpc&quot;     &quot;szmil&quot;    &quot;szmilpc&quot; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [37] &quot;popltn&quot;   &quot;larea&quot;    &quot;lpopltn&quot;  &quot;lszmil&quot;   &quot;lszmilpc&quot; &quot;ltvpc&quot;   &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [43] &quot;lecintd&quot;  &quot;limpexpc&quot; &quot;limpexp&quot;  &quot;lencnpc&quot;  &quot;lgdppc&quot;   &quot;milwp70&quot; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [49] &quot;popln70&quot;  &quot;ecnpc70&quot;  &quot;trade75&quot;  &quot;lmilwp70&quot; &quot;lpopln70&quot; &quot;lecnpc70&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [55] &quot;X55&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Use your eyes, your head, and the context clues from Table 2. Notice Benoit (1996) says that &lt;a href=&quot;https://www.icpsr.umich.edu/web/ICPSR/studies/7536&quot;&gt;Butterworth’s (1976)&lt;/a&gt; conflict data is one of his dependent variables. We can clearly see a column named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;butterw&lt;/code&gt;, and the only such column with a name that remotely matches the description we want. That tells us that’s our dependent variable. We’ll need a bit more sleuthing to discern what could be the Singer-Small data he’s using. Three context clues are guiding me here. First, it’s usually—not always: usually—the case that the main variables of interest to a researcher are in the first few columns. They’re not typically at the end. So, I’m starting to look at the first few columns I see. The second context clue is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ss&lt;/code&gt;, suggesting “&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;S&lt;/code&gt;inger and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;S&lt;/code&gt;mall”. I see a few columns that start with that, which all have numbers following them. There’s my third context clue: they’re signaling the temporal domain of the count of wars. Per Table 2, the temporal domain of these count of wars says they span 1960 to 1980. Putting all those context clues together, I know &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssal6080&lt;/code&gt; is my second dependent variable.&lt;/p&gt;

&lt;p&gt;I can do something similar for the two measures of democracy that serve as his independent variables. Benoit (1996) helpfully tells you the political democracy measure benchmarks to 1965. My eyes see two columns as potential candidates for this variable: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;poldem60&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;poldem65&lt;/code&gt;. Given the information available, it seems like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;poldem65&lt;/code&gt; is the obvious candidate for what he says is “POLDEM 1965” in his analysis. Following this logic, I can again discern what would be the Freedom House measure from 1973. It should be &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fh1973&lt;/code&gt;, signaling &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;F&lt;/code&gt;reedom &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;H&lt;/code&gt;ouse’s measure of democracy in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1973&lt;/code&gt;. Here would be a reduced version of the data.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 101 × 6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    ccode cname              butterw ssal6080 poldem65  fh73&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;                &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;    &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1     2 United_States            7        1 92.4        14&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2    20 Canada                   0        0 99.5        14&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3    40 Cuba                     1        1 5.2          2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4    41 Haiti                    0        0 20.7         3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5    42 Dominican_Republic       1        0 38.8        11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6    70 Mexico                   0        0 74.5         8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7    90 Guatemala                0        0 39.5        11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8    91 Honduras                 1        1 50           6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9    92 El_Salvador              1        1 72.1        11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10    93 Nicaragua                0        0 55.4         9&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 91 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Doing this, though, alerted me to a potential issue I’ll want to consider. R read the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;poldem65&lt;/code&gt; as a character when I know it should be a numeric variable. We’ll have to find out what happened.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;distinct&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pull&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  [1] &quot;92.4&quot; &quot;99.5&quot; &quot;5.2&quot;  &quot;20.7&quot; &quot;38.8&quot; &quot;74.5&quot; &quot;39.5&quot; &quot;50&quot;   &quot;72.1&quot; &quot;55.4&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [11] &quot;90.1&quot; &quot;76.9&quot; &quot;71.4&quot; &quot;73.4&quot; &quot;44.6&quot; &quot;87&quot;   &quot;60.9&quot; &quot;36.2&quot; &quot;44.7&quot; &quot;97&quot;  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [21] &quot;52.6&quot; &quot;99.6&quot; &quot;99.1&quot; &quot;97.2&quot; &quot;99.7&quot; &quot;99.9&quot; &quot;90.8&quot; &quot;10.4&quot; &quot;39&quot;   &quot;88.6&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [31] &quot;18.1&quot; &quot;22.1&quot; &quot;97.1&quot; &quot;11.6&quot; &quot;20.5&quot; &quot;96.8&quot; &quot;18.2&quot; &quot;50.8&quot; &quot;82.8&quot; &quot;37.5&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [41] &quot;20.9&quot; &quot;97.3&quot; &quot;37.2&quot; &quot;53.7&quot; &quot;24.7&quot; &quot;16&quot;   &quot;45.6&quot; &quot;37.3&quot; &quot;7.2&quot;  &quot;23.7&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [51] &quot;45.5&quot; &quot;56&quot;   &quot;49.5&quot; &quot;34.2&quot; &quot;47.6&quot; &quot;38.5&quot; &quot;77&quot;   &quot;12.5&quot; &quot;58.9&quot; &quot;83&quot;  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [61] &quot;32.2&quot; &quot;63.6&quot; &quot;34.4&quot; &quot;37.9&quot; &quot;45&quot;   &quot;76.4&quot; &quot;11.4&quot; &quot;38.7&quot; &quot;19.9&quot; &quot;74&quot;  &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [71] &quot;30.8&quot; &quot;9.7&quot;  &quot;6.5&quot;  &quot;23.2&quot; &quot;16.4&quot; &quot;22.8&quot; &quot;21&quot;   &quot;53&quot;   &quot;99.8&quot; &quot;91.2&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [81] &quot;62.5&quot; &quot;.&quot;    &quot;85.9&quot; &quot;29.2&quot; &quot;17.3&quot; &quot;36.3&quot; &quot;42.8&quot; &quot;33.1&quot; &quot;12.4&quot; &quot;80.3&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [91] &quot;92.6&quot; &quot;9.8&quot;  &quot;100&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like the missing data code for this measure is a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.&lt;/code&gt;. If I knew in advance this was an issue, I could’ve potentially passed it off as an argument in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;read_table()&lt;/code&gt; function (i.e. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;read_table(Data, na = &quot;.&quot;)&lt;/code&gt;). But, I’m only catching this now. We’ll find out what observation this is first before fixing it. We can already deduce from Table 2 that it concerns just one observation.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Burma...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 1 × 6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   ccode cname butterw ssal6080 poldem65  fh73&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;   &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;    &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 1   775 Burma       0        0 .            4&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ifelse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;NA&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;as.numeric&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 101 × 6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    ccode cname              butterw ssal6080 poldem65  fh73&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;chr&amp;gt;                &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt; &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1     2 United_States            7        1     92.4    14&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2    20 Canada                   0        0     99.5    14&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3    40 Cuba                     1        1      5.2     2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4    41 Haiti                    0        0     20.7     3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5    42 Dominican_Republic       1        0     38.8    11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6    70 Mexico                   0        0     74.5     8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7    90 Guatemala                0        0     39.5    11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8    91 Honduras                 1        1     50       6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9    92 El_Salvador              1        1     72.1    11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10    93 Nicaragua                0        0     55.4     9&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 91 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Cool, let’s proceed.&lt;/p&gt;

&lt;h2 id=&quot;replicating-benoits-1996-table-2&quot;&gt;Replicating Benoit’s (1996) Table 2&lt;/h2&gt;

&lt;p&gt;There is definitely a convoluted way of making a loop and list of these various models, though it would be beyond the scope of this post to do this and might only serve to overwhelm my students reading this. So, we’ll do it the tedious way. Let’s do the Butterworth wars first.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;M1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;poisson&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M4&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;poisson&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M5&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;MASS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm.nb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;MASS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm.nb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;butterw&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;A regression table, by way of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{modelsummary}&lt;/code&gt;, follows.&lt;/p&gt;

&lt;div id=&quot;modelsummary&quot;&gt;

&lt;table style=&quot;NAborder-bottom: 0; width: auto !important; margin-left: auto; margin-right: auto;&quot; class=&quot;table&quot;&gt;
&lt;caption&gt;A Replication of Table 2 in Benoit (1996) for Butterworth&apos;s Data on Wars&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt;   &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; POLDEM 1965 (OLS) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; FH 1973 (OLS) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; POLDEM 1965 (Poisson) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; FH 1973 (Poisson) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; POLDEM 1965 (NB) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; FH 1973 (NB) &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; Democracy &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0082 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0487 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0073* &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0448+ &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0071 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0437 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0052) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0389) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0031) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0237) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0048) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0363) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intercept &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1.6026*** &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1.4953*** &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.5167** &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.4405* &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.5068+ &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.4333 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;box-shadow: 0px 1.5px&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.3241) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.3205) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.1729) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.1777) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.2841) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.2882) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; R2 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.025 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.016 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Log.Lik. &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −189.074 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −191.188 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −166.703 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −168.858 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −147.559 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −148.649 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Num.Obs. &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 100 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 101 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 100 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 101 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 100 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 101 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;&lt;tr&gt;&lt;td style=&quot;padding: 0; &quot; colspan=&quot;100%&quot;&gt;
&lt;sup&gt;&lt;/sup&gt; + p &amp;lt; 0.1, * p &amp;lt; 0.05, ** p &amp;lt; 0.01, *** p &amp;lt; 0.001&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;
&lt;/table&gt;



&lt;/div&gt;

&lt;p&gt;By and large, we’ve replicated what Benoit (1996) reports in his Table 2 for the analysis of Butterworth’s war data. It does come with two caveats that are immediately discernible. The first one is an advanced note in which I have to confess that I have no idea how GAUSS is calculating the log likelihood of the Poisson models. I only know of the one way of doing it (i.e. how R does it: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sum(dpois(M3$y, lambda = fitted(M3), log = TRUE))&lt;/code&gt;). However, that’s an advanced note that I cannot earnestly expect students to know (because I wouldn’t know it myself). More importantly, the coefficients are identical. The same cannot be said about the negative binomial regression. Here, there is some interesting disagreement. I finally peeked into the information that Benoit (1996) makes available. &lt;a href=&quot;https://github.com/svmiller/abandoned-datasets/blob/main/benoit1996drmp/REG_TAB2.PRG#L128&quot;&gt;The negative binomial regression in the program file&lt;/a&gt; seems like it was custom written for the task at hand. I can already discern the different parameterizations of dispersion, which are also stated in the footnote of the table. I can already see different starting values for the dispersion parameter, or at least I think I do. I know the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;glm.nb()&lt;/code&gt; function in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{MASS}&lt;/code&gt; package starts with the Poisson and that doesn’t seem(?) to be where the negative binomial routine starts in GAUSS. To be clear, the differences are rather slight with all that in mind. But, they can’t go unnoticed.&lt;/p&gt;

&lt;p&gt;They’re also immaterial for my intended audience. I can’t expect intro-level students to know those advanced details, but I can expect them to dig into the data to discern the basic information and modeling techniques. Toward that end, we’ve accomplished the first half of Table 2.&lt;/p&gt;

&lt;p&gt;Now, let’s round home with a replication of the second half of Table 2, where the dependent variable is the Singer and Small wars.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;M7&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M9&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;poisson&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M10&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;poisson&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M11&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;MASS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm.nb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;poldem65&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;M12&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;MASS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;glm.nb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ssal6080&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fh73&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Summarize it for us, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{modelsummary}&lt;/code&gt;.&lt;/p&gt;

&lt;div id=&quot;modelsummary&quot;&gt;

&lt;table style=&quot;NAborder-bottom: 0; width: auto !important; margin-left: auto; margin-right: auto;&quot; class=&quot;table&quot;&gt;
&lt;caption&gt;A Replication of Table 2 in Benoit (1996) for Singer and Small&apos;s Data on Wars&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt;   &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; POLDEM 1965 (OLS) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; FH 1973 (OLS) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; POLDEM 1965 (Poisson) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; FH 1973 (Poisson) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; POLDEM 1965 (NB) &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; FH 1973 (NB) &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; Democracy &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0037 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0329+ &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0085+ &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0825* &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0083 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; −0.0850+ &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0026) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0191) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0050) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0407) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0061) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;background-color: rgba(227, 244, 247, 255) !important;&quot;&gt; (0.0488) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intercept &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.6489*** &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.6801*** &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.3736 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.2757 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.3863 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −0.2593 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;box-shadow: 0px 1.5px&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.1610) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.1576) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.2748) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.2805) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.3535) &lt;/td&gt;
   &lt;td style=&quot;text-align:center;box-shadow: 0px 1.5px&quot;&gt; (0.3547) &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; R2 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.020 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 0.029 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt;  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Log.Lik. &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −119.136 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −119.526 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −92.150 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −91.824 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −88.752 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; −88.501 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Num.Obs. &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 100 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 101 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 100 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 101 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 100 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 101 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;&lt;tr&gt;&lt;td style=&quot;padding: 0; &quot; colspan=&quot;100%&quot;&gt;
&lt;sup&gt;&lt;/sup&gt; + p &amp;lt; 0.1, * p &amp;lt; 0.05, ** p &amp;lt; 0.01, *** p &amp;lt; 0.001&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;
&lt;/table&gt;



&lt;/div&gt;

&lt;p&gt;The same basic story emerges. We’ve just about perfectly reproduced the linear model output and the Poisson model output (barring the log-likelihood in the latter). There’s also the interesting discrepancy in the negative binomial regression, though we’ll have to chalk that up to different optimization and parameterization procedures that I cannot honestly expect students to know at this point in their studies.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The purpose of this post isn’t to point fingers. I actually rather appreciate that the author had these data available &lt;em&gt;and&lt;/em&gt; actually included a full-fledged codebook, script, and output log to show his work. Speaking from experience, that was rather anomalous for scholarship at this time. Further, the point isn’t to further scrutinize democratic peace scholarship anymore than I already have in the bulk of my early published scholarship. This is more of a warning and a sales pitch to my students. I’m going to present something like this to you soon because I think it’s beneficial to your education. You will learn a lot by replication, yes. But, you’ll also learn a lot as well by doing some forensics to &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;figure it out&lt;/a&gt; for yourself how others did it in the presence of poorly sourced data. I have an example I’m going to roll out to my Master’s students that will be a bit simpler in presentation, but actually won’t at all have a codebook or other documentation beyond the published article itself.&lt;/p&gt;

&lt;p&gt;You’ll just have to &lt;a href=&quot;https://www.youtube.com/watch?v=GfU8CZVNb6o&quot;&gt;figure it out&lt;/a&gt;. You’ll learn a lot in the process.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:rr&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;One legendary case of this is the scope of work by &lt;a href=&quot;https://doi.org/10.1093/cje/bet075&quot;&gt;Herndon et al. (2014)&lt;/a&gt; to document the deception and carelessness of Reinhart and Rogoff (2010). You can read &lt;a href=&quot;https://svmiller.com/blog/2020/04/reinhart-rogoff-ten-years-later-replication/&quot;&gt;my reproduction of Herndon et al.’s (2014) work here&lt;/a&gt;. What I’m asking students to do has that same spirit, though ideally not the same ramifications. &lt;a href=&quot;#fnref:rr&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:forensics&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;The use of this term may be somewhat stark because it likens a published article to a crime scene. Alas, from one cynical perspective, that’s maybe fair. &lt;a href=&quot;#fnref:forensics&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:noone&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;No one will pay you any serious amount of money to follow a completely prescribed routine. If that were your task, you are immediately replaceable if the next quarterly report looks lukewarm to shareholders. &lt;a href=&quot;#fnref:noone&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/09/replication-forensics/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/09/replication-forensics/</guid>
        
        
        <category>Teaching</category>
        
        <category>R</category>
        
      </item>
    
      <item>
        <title>Some Opinionated Takes on Chatbot Use by Students</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 400px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/godfellas.jpg&quot; alt=&quot;When you do things right, people shouldn&apos;t be sure you&apos;ve done anything at all.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;When you do things right, people shouldn&apos;t be sure you&apos;ve done anything at all.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;What follows is a slightly more opinionated add-on to the required language on academic misconduct that goes into my course descriptions. To be clear, the “required language” I introduce in course descriptions is stuff we’re told to include and will govern the course. These passages that follow may provide additional clarification to the student in light of potentially negative, harsh, or critical feedback I provide. I’m sure it will be periodically updated. I just need students to know why I feel the way I do about what I see students doing.&lt;/p&gt;

&lt;p&gt;The most apt metaphor I’ve seen regarding the release of ChatGPT on 30 Nov. 2022 &lt;a href=&quot;https://www.theregister.com/2025/06/15/ai_model_collapse_pollution/&quot;&gt;likened it to the Trinity test&lt;/a&gt; in New Mexico on 16 July 1945. The Trinity test constituted the beginning of what we retroactively call “the atomic age”, but it had one major implication for the world. It so contaminated &lt;em&gt;all&lt;/em&gt; metals manufactured after that date that the onset of this “age” significantly jeopardized all important medical and technical equipment. To compensate, scientists working in technology and medicine needed important materials (so-called “low-background” steel/lead) that were manufactured before this date. &lt;a href=&quot;https://medium.com/a-microbiome-scientist-at-large/good-news-our-steel-is-no-longer-radioactive-47d70124c531&quot;&gt;Supposedly our steel is no longer radioactive&lt;/a&gt;, in the same way or to the same degree, but that is still a major implication of just one event and one particular moment in time.&lt;/p&gt;

&lt;p&gt;The article I read invoking that metaphor is more concerned for new knowledge generation and what potentially happens when synthetic observations produced by AI models become part of future training sets. Those of us that &lt;a href=&quot;https://www.tandfonline.com/doi/full/10.1080/03014460.2019.1687752?scroll=top&amp;amp;needAccess=true&amp;amp;&quot;&gt;know about the Habsburgs&lt;/a&gt; or remember &lt;a href=&quot;https://www.youtube.com/watch?v=nqy_hYDI0As&quot;&gt;what happens when you make copies of copies of VHS cassettes&lt;/a&gt; will know what the implication is for the future of innovation and research. My concern is mostly for university education, however. Everything (where I work) is open-book and open-notes. Everything (where I work) is take-home with a deadline of seven days or so. I’m teaching students now who have known ChatGPT (and related services) through the entirety of their university education. I will soon start teaching students who have had it through the entirety of their secondary education. Like the scientists frantically searching for scuttled ships for pre-war steel, I can no longer trust the quality of what I see. I know you’re using it, and often uncritically. I cannot trust that you are actually doing what you say you are doing. That’s true even if you are legitimately and earnestly doing the work, with or without assistance from a particular chatbot. I just can’t trust you the same way I could before Nov. 2022. Whether it’s topical courses in the intro-level, theses at the BA-level, or &lt;em&gt;definitely&lt;/em&gt; quantitative methods instruction at any level, I’m confident that chatbots have so greatly contaminated what I’m asked to evaluate that I’m almost doing gratis product testing for one of these services.&lt;/p&gt;

&lt;p&gt;This manifests in several ways, and will likely coincide with me making harsh remarks in student output. These remarks will read like accusations, though they aren’t. Our guidelines do not put us in great positions to prosecute these things even if the line separating “proper” from “improper” were clear.&lt;sup id=&quot;fnref:dd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:dd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; They aren’t accusations as much as they are frustrations with what students do, or are asking me to do, with a straight face. I cannot help if or how students use one of these particular services to guide themselves through university education, but I can offer these assorted comments to contextualize how I feel and why I might be frustrated with what a student is asking me to read.&lt;/p&gt;

&lt;p&gt;Here’s a table of contents.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;#godfellas&quot;&gt;“Godfellas” (i.e. Please Make it Less Obvious)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#answerthequestion&quot;&gt;Your Chatbot Isn’t Answering the Question I Asked&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#nottheonlyone&quot;&gt;You’re Not the Only One&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#linkedinglish&quot;&gt;You Should Not Aspire to Sound Like a Chatbot&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#innocent&quot;&gt;False Positives and Actual Innocence&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;godfellas-ie-please-make-it-less-obvious&quot;&gt;“Godfellas” (i.e. Please Make it Less Obvious)&lt;/h2&gt;

&lt;p&gt;This has happened twice, as of writing, for assignments in which we as faculty often work closely with students through iterations of a particular assignment. In these two instances, students were basically submitting ChatGPT generated output for me to evaluate prior to the submission of a final assignment. It was obvious, especially when they couldn’t explain what they were doing in their own words. They were at least honest about it. I don’t feel evaluating ChatGPT output is a productive use of my time, but it turns out it was a required use of my time. The bulk of my interaction with them reduced to, in as many words, optimizing their use of ChatGPT to get what they wanted and pleading with them to make it less obvious (to me, at least) that this is what they were doing.&lt;/p&gt;

&lt;p&gt;Notice that I can’t tell them “stop.”  I couldn’t enforce “don’t.” I tried it once but wasn’t getting anywhere and I had no real recourse. Instead, I had to advise them to please make it less obvious that ChatGPT did this and you (i.e. those two students) didn’t. I’m an American and reference American TV shows all the time. Thus, I had to harken a line from Futurama and one particular episode: “Godfellas.” In this episode, Bender is flung to space and happens to meet “God.” The conversation God and Bender have focus on the appropriateness of divine intervention, especially when divine intervention could be the difference between faith and reality. God’s hedge in this conversation is that doing too little leads believers to lose faith, and doing too much induces unwanted dependence. Speaking Bender’s particular language, you need a light touch to avoid detection if you want to be a successful pickpocket. If you’re going to burn down a business for insurance money, you need to make it look like an electrical mishap. &lt;a href=&quot;https://www.youtube.com/watch?v=QIBMMVJFM4M&quot;&gt;When you do things right, I shouldn’t be sure you’ve done anything at all&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I can’t make dishonest students be honest, but try to make your arson look a little more accidental if this is the route you choose. You’re doing this because you want that insurance payout, right? Cover your tracks better.&lt;/p&gt;

&lt;h2 id=&quot;answerthequestion&quot;&gt;Your Chatbot Isn’t Answering the Question I Asked&lt;/h2&gt;

&lt;p&gt;I’ve harped on this before, but this is one of my biggest educational mantras. &lt;a href=&quot;https://svmiller.com/blog/2025/04/stephen-a-smith-ir-scholarship/&quot;&gt;“Answer the question I asked.”&lt;/a&gt; Too often, students (even before the new atomic age) would answer questions potentially (un)related to the question I would ask. I would reply that I need the student to be more focused on the question I’m actually asking. I find myself repeating that more since I moved here (incidentally just before Nov. 2022). I’m not sure students fully appreciate that the chatbot often goes into la-la land for a particular prompt, generating non-answers to &lt;em&gt;specific&lt;/em&gt; questions that I’m asking. I structure my questions in a particular way because I want you to know a detail well. The chatbot will often miss that as much as the pre-atomic age student trying to know enough things, generally, to get by in the course. If you want to use it, I can’t stop you. Just make sure it’s working for you.&lt;/p&gt;

&lt;p&gt;Related to this, students I think assume that I haven’t fed my prompts through a chatbot to understand how they respond to my exam questions. I know how it behaves. I have a good idea of its tells with respect to what I’m asking the student (or the chatbot) to do.&lt;/p&gt;

&lt;h2 id=&quot;nottheonlyone&quot;&gt;You’re Not the Only One&lt;/h2&gt;

&lt;p&gt;Some classes I teach are entirely online and involve students from across Europe. Most are in-person, but where students are often tight-knit and work on stuff together. It’s actually a welcome culture shock here relative to the United States, where students in a class often don’t know other students exist and couldn’t pick them out of a lineup. For the in-person classes, I can readily discern “networks” and friend groups in the class. In a class of 35-50 students, there might be two or three such networks consisting of maybe 10-15 students.&lt;/p&gt;

&lt;p&gt;If, however, I’m getting more than half the class all repeating particular statements and particular expressions, I’m left believing that it’s coming from a common pool that’s beyond the friend group. Again, you’re not the only one, and try to make it less obvious. Students often see just the one thing they think they can slide underneath the radar. I see the several dozen things that students try to slide underneath my radar.&lt;/p&gt;

&lt;h2 id=&quot;linkedinglish&quot;&gt;You Should Not Aspire to Sound Like a Chatbot&lt;/h2&gt;

&lt;p&gt;This is a particularly spicy take, but I think most chatbots read in the most grating way possible.&lt;sup id=&quot;fnref:esl&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:esl&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; ChatGPT, in particular, is just an obnoxious messenger. I don’t know this for a fact, but I’m inclined to believe its English training set is filled with stuff on Medium or, in particular, LinkedIn. Its dialect is a very heavy &lt;a href=&quot;https://medium.com/@pierre.hagelberg/understanding-linkedinglish-the-unofficial-language-of-linkedin-44168123a23&quot;&gt;“Linkedinglish”&lt;/a&gt;.&lt;sup id=&quot;fnref:irony&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:irony&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; I despise reading that particular dialect because I don’t think it’s professional in the slightest. If I’m asking academic questions pleading for some type of professional response, what I get back reads like a cringe-inducing sales pitch about what, say, central limit theorem can teach us about B2B sales. Just, gross.&lt;/p&gt;

&lt;p&gt;This will manifest in two particular ways, the latter of which might seem particularly harsh (even if I don’t mean any ill will). First, I think the chatbot is getting worse in this way. ChatGPT, in particular, seems to have degenerated over time to an increasingly base-level Linkedinglish that’s almost at the level of a university intern taking the reins of a company’s social media platforms. If Linkedinglish was just one of a few English dialects in its algorithm, it seems to have learned that its users like this particular form of English. ChatGPT, if nothing else, is a people-pleaser.&lt;sup id=&quot;fnref:jae&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jae&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;From my vantage point, it’s embarrassing to read its output sometimes because it’s clear the product is entering an &lt;a href=&quot;https://en.wikipedia.org/wiki/Enshittification&quot;&gt;“enshittification”&lt;/a&gt; arc. It’s what happens when a product expands so much it not longer is incentivized to sell you a product that works. It’s more inclined just to keep you hooked on a product that won’t get better the same way it did. Like a generic company’s social media platform, the chatbot is more interested in selling you itself (and not necessarily solutions).&lt;/p&gt;

&lt;p&gt;Be mindful of the distinction here. Whether it’s working well for you is just incidental to whether you’re using it. That’s what matters to the tech company and its chatbot, first and foremost. The chatbot is kind of like a drug dealer. You come to it with problems, but it doesn’t quite have the solutions you need. It gives you assurances that it does, though, in hopes that you’ll get hooked to it. You come to it with questions and, above, it gives you answers to questions you did not ask. You come to it wanting to know how you should write, and you end up sounding like a post on how the 95% confidence interval helped you generate $25M in sales across your business journey. You should not aspire to sound like that.&lt;/p&gt;

&lt;p&gt;The second will seem harsh, but I only offer this because I’m on a similar journey learning Swedish (and Korean). The chatbot speaks better English than university students, whether English is the student’s native language or not.&lt;sup id=&quot;fnref:formig&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:formig&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; English is the lingua franca of the world, so of course its English capabilities are really good. It’s going to sound better, without context, than students in that 19-23 age range. If you’re using it to generate prompts, try to rewrite what you see in your own words and in a style that’s more appropriate for the academic venue. You’ll learn more that way. Also, &lt;em&gt;definitely&lt;/em&gt; do that where output has 👉 emojis ✅ or &lt;strong&gt;unnecessary terms&lt;/strong&gt; in &lt;strong&gt;bold face&lt;/strong&gt;. I would need ✋&lt;strong&gt;two hands&lt;/strong&gt;✋ to tell you how many times I’ve seen that leak into student submissions.&lt;/p&gt;

&lt;h2 id=&quot;innocent&quot;&gt;False Positives and Actual Innocence&lt;/h2&gt;

&lt;p&gt;Periodically, I’ll write “this sounds like a chatbot” on a student’s submission and the student will respond quite vigorously that they did not do what I’m accusing of them. When this happens, I have a few initial reactions. Sometimes I’m convinced (or know outright) that they’re not being truthful. Second, the student should know it’s not an accusation because an accusation is something I’d have to formally charge. I only say those things in the context of providing grades on assignments, and I could not grade an assignment if I were alleging misconduct. &lt;em&gt;Third, I might genuinely be wrong.&lt;/em&gt; It happens. I think I have a good idea for how chatbots approach my material, and I know for a fact they’ve seen my material a lot. However, I’m not foolproof. I could genuinely be mistaken. It’s why I try my best not to couch it as an accusation, though I’m not very good at withholding my frustration.&lt;/p&gt;

&lt;p&gt;Still, if I may, for the potential student of mine reading this: imagine what it’s like from my perspective seeing a student independently reproduce something a chatbot would do if and when that genuinely happens. I wouldn’t say it if I were convinced you knew what you were doing and were answering the question I asked. I know chatbots routinely go into la-la land answering questions I did not ask. I know chatbots have a particular lingo and a particular set of tells with respect to my material, some of which are quite clumsy. I know it does all this in a confident, sales-person English. I also know chatbots are something that a potential employer could use at a considerable saving to themselves in order to bullshit their way through the next quarterly report. If I’m an employer spending money on a chatbot and evaluating it and the job-candidate student that produces identical outputs, I will go with the chatbot every time. The chatbot is always cheaper.&lt;/p&gt;

&lt;p&gt;Even when I was young, I was aware that deeper learning is only incidental to what the university offers. It offers a necessary credential to gain a foothold in a competitive job market and a changing economy. I can see why cynical students are tempted to chatbot their way through a university education in order to get that piece of paper, but I don’t think they appreciate that doesn’t put them in a great position in a job market ever interested in automation and making a labor force disappear from the budget. Even the most honest students should wrestle with this. If you sound like a free service to me, you’ll sound like a free service to an employer. My heart sincerely aches for a younger generation that has to deal with that now. It makes me happy I’m as old as I am. I and my friends did not have potential employers doubting our ability or utility the same way I’m sure a younger generation is being doubted and dismissed right now. I would be distraught if I had to fight upstream against the accusations that I’m indistinguishable from Claude or ChatGPT.&lt;/p&gt;

&lt;p&gt;In this day and age, especially with the bigger political problems we all face, it’s why I get supremely frustrated with what I see students doing or failing to do. Slop is everywhere around us and I’m pleading with you, the student, to distinguish yourself from it. I want to see your humanity, warts and all, to help you get better. I want to know it’s you writing this stuff, but I just can’t know that these days the same way I could before Nov. 2022. I can’t trust students are 100% honest in this atomic age. For the dishonest students, I don’t want to see you atrophy your mind because the chatbot makes it conveniently easy for you to do that. You’ll hemorrhage your capacity to think, think critically, and you’ll hemorrhage your future.&lt;/p&gt;

&lt;p&gt;For the honest students, I don’t want to see you sound like the machine that’s siphoning energy away from the human labor force. I want to see you be better than the machine. I want you to maximize your potential to make the most of your capacity in an era where employers are increasingly trying to automate blue- and white-collar jobs out of existence. Try to rise above the machine. &lt;a href=&quot;https://www.youtube.com/watch?v=JukTvlrh-Wk&quot;&gt;Rage against it, even&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:dd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;The burden to prosecute academic misconduct is particularly high. One of my little American quirks here is thinking through what could be litigated and what I could “prove” as if it were a court of law. I cannot obviously summon the coercive arm of the state to seize a student’s computer to prove impropriety, and the punishment mechanisms are often lacking relative to what I remember at American universities. &lt;a href=&quot;#fnref:dd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:esl&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;I understand students can use these services to catch typos and potentially tighten up a few passages in their written material. I respect that use but would not encourage students to use it as a complete substitute for editing they should be doing themselves. &lt;a href=&quot;#fnref:esl&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:irony&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;I’m aware of the irony of that article being on Medium. &lt;a href=&quot;#fnref:irony&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:jae&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://ealc.indiana.edu/people/core-faculty/takeuchi-jae-dibello.html&quot;&gt;Jae DiBello Takeuchi&lt;/a&gt; is a friend of mine from a previous employer. &lt;a href=&quot;https://jaetakeuchi.substack.com/p/dear-chatgpt-please-study-sociolinguistics?triedRedirect=true&quot;&gt;From the Japanese speaker’s perspective&lt;/a&gt;, ChatGPT is that insufferable person that no one wants to be stuck with at a party. Likewise, I would not want to be stuck having to entertain or be entertained by a &lt;a href=&quot;https://www.reddit.com/r/LinkedInLunatics/&quot;&gt;LinkedIn lunatic&lt;/a&gt; at a social event. &lt;a href=&quot;#fnref:jae&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:formig&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Likewise, it writes better Swedish than I do. I haven’t tested it with Korean yet, but I’m just starting that journey. &lt;a href=&quot;#fnref:formig&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Mon, 08 Sep 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/09/assorted-opinionated-takes-on-chatbot-use-by-students/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/09/assorted-opinionated-takes-on-chatbot-use-by-students/</guid>
        
        
        <category>Teaching</category>
        
      </item>
    
      <item>
        <title>Learning About Expected Categorical Relations (Chi-Squared Tests) in R by Way of Arms Races and War</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 400px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/1999-eritrean-t-55a-tank.jpg&quot; alt=&quot;An Eritrean soldier stands in front of a destroyed T-55A tank in 1999. This war starts in 1998 but the mutual military build-up for it arguably started in 1996. (Broń Pancerna/Flickr)&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;An Eritrean soldier stands in front of a destroyed T-55A tank in 1999. This war starts in 1998 but the mutual military build-up for it arguably started in 1996. (Broń Pancerna/Flickr)&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;This is a post I’m writing just to spam material to my blog, and also to pad material I need to prepare for my IRIII students in &lt;a href=&quot;https://ir3-2.svmiller.com/&quot;&gt;their quantitative methods sequence&lt;/a&gt;. It’s a challenge to teach them stuff that is super basic, but has a real-world application, and in the limited time I have with them. The class had historically been built toward just getting them to do &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lm()&lt;/code&gt; in R (or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;regress&lt;/code&gt; in Stata) and to be happy if they can do that. However, there’s been some shuffling amid hour cuts that incidentally gives me more time to teach them more stuff. But, again, it has to be simple.&lt;/p&gt;

&lt;p&gt;Enter the arms race and war debate. I cut my teeth on this debate in graduate school and still like to teach around the basics of this stuff when I can. I still think &lt;a href=&quot;https://en.wikipedia.org/wiki/Lewis_Fry_Richardson&quot;&gt;Lewis Fry Richardson&lt;/a&gt;’s linear theory of nations gets at the core of how we should conceptualize the arms race, acknowledging it’s a glorified port of his training in mathematics to the realm of international relations.&lt;sup id=&quot;fnref:sle&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sle&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Admittedly, it is a bit of a dated topic. Perhaps it’s fair to note that the “arms race” of a century or two ago looks nothing like what an arms race would resemble now. It won’t be simple expenditures. It won’t be manpower. &lt;a href=&quot;https://en.wikipedia.org/wiki/Anglo-German_naval_arms_race&quot;&gt;It won’t even be boats&lt;/a&gt;. But the substance of this debate maps nicely to two thing I want to accomplish in an IR curriculum at the bachelor’s level. First, it highlights how a lot of realpolitik conventional wisdom stretches so thin it strains to cover anything in detail. Second, the empirical application of this debate is all chi-squared tests. There are definitely more advanced ways of approaching this, especially with what this means in the 21st century. But, you can learn about the chi-squared test with these things I’d have you read anyway if I could.&lt;/p&gt;

&lt;p&gt;Here are the R packages I’ll be using today. Do note that &lt;a href=&quot;https://svmiller.com/stevedata&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{stevedata}&lt;/code&gt;&lt;/a&gt; has a forthcoming data set I’ll be using to offer another means to assess this relationship.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tidyverse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for my basic workflow&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stevedata&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# forthcoming v. 1.7.0, for `mmb_war` data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stevethemes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for themes&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;kableExtra&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for tables&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_set&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# setting a default theme&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here’s a table of contents.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;#parabellum&quot;&gt;The Debate: Para Bellum and the “Steps to War”&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#wallace&quot;&gt;The Empirical Debate Between Wallace (1979) and His Critics&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#chisquared&quot;&gt;The Chi-Squared Test&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#reanalysis&quot;&gt;A Re-Analysis Using Newer Data&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let’s get started.&lt;/p&gt;

&lt;h2 id=&quot;parabellum&quot;&gt;The Debate: Para Bellum and the “Steps to War”&lt;/h2&gt;

&lt;blockquote&gt;
  &lt;p&gt;Si vis pacem, para bellum (if you want peace, prepare for war)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Si_vis_pacem,_para_bellum&quot;&gt;This aphorism&lt;/a&gt; sounds cool and, from a so-called “realist” worldview, it has a certain kind of logic by which it works. Intuitively, a true balance of power between two states in which neither side could comfortably defeat the other side makes war an unattractive option. It’s the same kind of logic that underpins &lt;a href=&quot;https://en.wikipedia.org/wiki/Mutual_assured_destruction&quot;&gt;mutual assured destruction&lt;/a&gt;. It may not sound pleasant to the pacifist, but &lt;a href=&quot;https://en.wikipedia.org/wiki/Peace_through_strength&quot;&gt;“peace through strength”&lt;/a&gt; is sound strategy if you were to think of it in this particular way. Mutual military build-ups evoke certain tensions or anxiety in the general public about an impending war, though the behavior itself would be perfectly rational if the idea is to avoid war. A rational state substantially increases it might to prepare for war, wanting peace. A rival state requites that militarization/mobilization, preparing for war while wanting peace. Together, they achieve an equilibrium where an increased mobilization for war makes peace more attractive than it might have been in the absence of the mutual build-up. So that story goes.&lt;/p&gt;

&lt;p&gt;There is a group of us in international relations that have always found this, at best, laughably simplistic and, more to the point, a ridiculous proposition of an equilibrium. &lt;a href=&quot;https://link.springer.com/chapter/10.1007/978-3-030-31589-4_4&quot;&gt;Richardson’s work is foundational on this topic&lt;/a&gt;, though perhaps it’s fair to say his conclusions are importantly conditioned by his own pacifist ideals. &lt;a href=&quot;https://www.jstor.org/stable/172848&quot;&gt;J. David Singer (1958)&lt;/a&gt; started his article with that exact quote, as relayed by &lt;a href=&quot;https://en.wikipedia.org/wiki/Vegetius&quot;&gt;Vegetius&lt;/a&gt;, and noted the immediate epilogue under &lt;a href=&quot;https://en.wikipedia.org/wiki/Theodosius_I&quot;&gt;Theodosius I&lt;/a&gt; was a spate of violence conducted by the emperor.&lt;sup id=&quot;fnref:theo&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:theo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; My training is largely in the “Steps to War” tradition of &lt;a href=&quot;https://cgs.illinois.edu/directory/profile/vasqueja&quot;&gt;John Vasquez&lt;/a&gt;. There are underlying causes of war (prominently the allocation of territory) and proximate causes (“steps”) of war. Violence is not unique to humans, but warfare arguably is a unique kind of learned, social behavior. Realpolitik policy prescriptions (like arms races) prepare states for sustained combat and only heighten mistrust of the other side under what was already less than rosy conditions. The “steps” policymakers take under those circumstances limit future options, forgo more peaceful off-ramps, and further empower domestic “hardliners” or “hawks” to favor further aggression. Another way of thinking about this is to ask why you’re arms-racing in the first place. Why are you? Certainly not because things are going great and certainly not because no one with power/influence in society wants to use these toys. Be real, so-called “realists.”&lt;/p&gt;

&lt;h3 id=&quot;wallace&quot;&gt;The Empirical Debate Between Wallace (1979) and His Critics&lt;/h3&gt;

&lt;p&gt;The empirical debate on this relationship may not have started with &lt;a href=&quot;https://www.jstor.org/stable/173649&quot;&gt;Wallace (1979)&lt;/a&gt;, but it sure as heck escalated under him. His Table 2 (reproduced below) argued arms races almost always lead to war (23 occurrences to five non-occurrences) and the absence of arms races almost never lead to war (three wars in the absence of arms races to 68 non-wars). For those who like working with percentages, that’s a comparison of 82% to 4% for 99 total cases. It’s more than enough to suggest something is happening here.&lt;/p&gt;

&lt;table id=&quot;stevetable&quot;&gt;
&lt;caption&gt;Table 2 in Wallace (1979)&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;font-weight: bold;&quot;&gt;  &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; No Arms Race &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 23 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 3 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; No War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 5 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 68 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;However, there are several important reasons to doubt how Wallace came to this conclusion.&lt;sup id=&quot;fnref:valer&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:valer&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; Critiques came in all directions for this analysis, including &lt;a href=&quot;https://www.jstor.org/stable/2600547&quot;&gt;Altfield (1983)&lt;/a&gt;, &lt;a href=&quot;https://www.osti.gov/biblio/6621663&quot;&gt;Horn (1987)&lt;/a&gt;, &lt;a href=&quot;https://doi.org/10.1177/0022002789033003007&quot;&gt;Morrow (1989)&lt;/a&gt;, and &lt;a href=&quot;https://doi.org/10.1177/002200278002400205&quot;&gt;Weede (1980)&lt;/a&gt; (among many others, I’m sure). I want to focus on &lt;a href=&quot;https://www.jstor.org/stable/423792&quot;&gt;Diehl (1983)&lt;/a&gt; as largely capturing all the recurring themes in this critique of Wallace (1979). Namely: Wallace is describing a measure of arms races that he never makes publicly available and could not replicate. It’d be difficult to know for sure, but his polynomial arms race function he describes would also inadvertently pick up unilateral buildups. Further, it’s pretty clear that the world wars are the lion’s share of his empirical support. He’s additionally compounding this problem by disaggregating &lt;em&gt;all&lt;/em&gt; of them (even if there is an ongoing war, like his USSR-Japan case in 1945). In one re-analysis of this relationship (Table II), Diehl reports the relationship between arms races and war is basically a null relationship. Three of 13 arms races lead to war (23%) compared to a nine wars in 73 cases (12%) not preceded by an arms race. One rate is more than the other, but it’s not a discernible relationship. There is no clear relationship by which arms races lead to war.&lt;sup id=&quot;fnref:peace&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:peace&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;table id=&quot;stevetable&quot; style=&quot;NAborder-bottom: 0;&quot;&gt;
&lt;caption&gt;Table II in Diehl (1983)&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;font-weight: bold;&quot;&gt;  &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; No Arms Race &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 3 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 9 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; No War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 10 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 64 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;&lt;tr&gt;&lt;td style=&quot;padding: 0; &quot; colspan=&quot;100%&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Note: &lt;/span&gt; &lt;sup&gt;&lt;/sup&gt; Chi-sq: 1.06, n = 86.&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;
&lt;/table&gt;

&lt;p&gt;When I do get &lt;a href=&quot;https://posc3610.svmiller.com/lectures/&quot;&gt;the opportunity to teach about arms races&lt;/a&gt;, I offer &lt;a href=&quot;https://www.jstor.org/stable/424827&quot;&gt;Susan Sample (1997)&lt;/a&gt; as a kind of Solomon in this debate. The empirical debate employed multiple different operationalizations of arms races and multiple different dispute data sets. A battery of analyses mix-and-matching different data sets yields the overall conclusion that arms races are positively associated with dispute escalation to war, even if it’s fair to note Wallace’s (1979) original conclusions were far too stark. See, as just one example, her Table IX using Diehl’s arms race index with all major state militarized interstate disputes. 14 of the 53 disputes in which there was an arms race led to war (26%). Just 17 of the 204 (8%) of the disputes in which there wasn’t an arms race led to war. That is a discernible difference, if clearly not the magnitude difference originally reported by Wallace (1979).&lt;/p&gt;

&lt;table id=&quot;stevetable&quot; style=&quot;NAborder-bottom: 0;&quot;&gt;
&lt;caption&gt;Table IX in Sample (1997)&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;font-weight: bold;&quot;&gt;  &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; No Arms Race &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 14 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 17 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; No War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 39 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 187 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;&lt;tr&gt;&lt;td style=&quot;padding: 0; &quot; colspan=&quot;100%&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Note: &lt;/span&gt; &lt;sup&gt;&lt;/sup&gt; Chi-sq: 13.0, n = 257.&lt;/td&gt;&lt;/tr&gt;&lt;/tfoot&gt;
&lt;/table&gt;

&lt;p&gt;I’ve glossed over to this point the exact tests scholars were using in this debate over operationalization and sample selection. It’s almost always a chi-squared test of independence for observed and expected counts. You could actually do this yourself with no real effort at all to understand the inferential claims the various people in this debate are making.&lt;/p&gt;

&lt;h2 id=&quot;chisquared&quot;&gt;The Chi-Squared Test&lt;/h2&gt;

&lt;p&gt;Chi-squared (\(\chi^2\)) tests are common tests to use in very basic applications to assess whether the observed counts in some kind of category for two (or more) groups are discernibly different than what would be expected if there were no difference between or among the groups. It’s easier to introduce students to this in a simple 2x2 application like this and it will lean on the contingency tables you’ve seen everywhere to this point.&lt;/p&gt;

&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 345px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/sample1997-tableix.png&quot; alt=&quot;Table IX (Sample, 1997)&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Table IX (Sample, 1997)&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;First, let’s show Sample’s (1997) actual Table IX to see what’s happening here. Notice the 2x2 contingency table reproduced above. The primary grouping variable here is in the column whereas the rows are a kind of outcome of interest to us (war or no war). Let’s further calculate some total information about the data. There are 31 wars (14 with arms races, 17 without them). There are 226 disputes in the data that did not escalate to war (39 with arms races, 187 without them). Those are our row totals. We noted the column totals above. There were 53 disputes with arms races preceding them in these data (14 of which became wars). There were 204 disputes without arms races preceding them (17 of them escalating to war). Let’s expand this table a bit with this information.&lt;/p&gt;

&lt;table id=&quot;stevetable&quot;&gt;
&lt;caption&gt;Table IX in Sample (1997), with Row and Column Totals&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;&quot;&gt;  &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; No Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;&quot;&gt; Row Total &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 14 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 17 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;&quot;&gt; 31 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; No War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 39 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 187 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;&quot;&gt; 226 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;font-weight: bold;&quot;&gt; Column Total &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;&quot;&gt; 53 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;&quot;&gt; 204 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;font-weight: bold;font-weight: bold;&quot;&gt; 257 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;We next need to calculate expected counts, or what we would expect if there were no association between arms races and war. Formally, each expected value in a given cell is equal to the row total times the column total, divided over the total number of observations (257, in all cases).&lt;/p&gt;

&lt;table id=&quot;stevetable&quot;&gt;
&lt;caption&gt;Expected Counts in Table IX in Sample (1997) For No Association&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;font-weight: bold;&quot;&gt;  &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; No Arms Race &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (31*53)/257 = 6.393 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (31*204)/257 = 24.607 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; No War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (226*53)/257 = 46.607 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (226*204)*257 = 179.393 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The formula for the chi-squared test statistic is very straightforward. It’s something you could do on paper, &lt;a href=&quot;https://svmiller.com/blog/2024/11/statistics-for-excel-please-dont-do-this-use-r/&quot;&gt;or in Excel even&lt;/a&gt;. It would take more effort, but it’s not difficult at all.&lt;/p&gt;

\[\chi^2 = \sum \frac{(O - E)^2}{E}\]

&lt;p&gt;For all cells in the contingency table, take the difference between observed and expected count, square it, divide it over the expected count, and add them all together. That’s your chi-squared statistic. In our case, that produces a chi-squared statistic of about 12.965.&lt;/p&gt;

&lt;table id=&quot;stevetable&quot;&gt;
&lt;caption&gt;Expected Counts in Table IX in Sample (1997) For No Association&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:left;font-weight: bold;&quot;&gt;  &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Arms Race &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; No Arms Race &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (14 - 6.393)^2/(6.393) = 9.051 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (17 - 24.607)^2/(24.607) = 2.351 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; No War &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (39 - 46.607)^2/(46.607) = 1.241 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; (187 - 179.393)^2/(179.393) = .322 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;We could also check our work by doing it in R. Notice we’re going to capture the chi-squared statistic that Sample (1997) reported in her Table IX, give or take some rounding for presentation.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;etl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;53&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;257&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;226&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;53&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;257&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;204&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;257&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;226&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;204&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;257&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 6.392996&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 46.607&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 24.607&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 179.393&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;csctl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cscbl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;csctr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;etr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cscbr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;187&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ebr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;csctl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cscbl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;csctr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cscbr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 9.051548&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 1.241584&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 2.351628&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 0.3225684&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;chisq&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;csctl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cscbl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;csctr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cscbr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;chisq&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# rounding above is off 2/1000ths or so, but that&apos;s no biggie.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 12.96733&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We’re not quite done yet because we need to relate this test statistic to what we might expect to observe under some kind of distribution. So-called the chi-squared test, the test statistic is related to &lt;a href=&quot;https://en.wikipedia.org/wiki/Chi-squared_distribution&quot;&gt;the chi-squared distribution&lt;/a&gt;. The chi-squared distribution is a unique distribution of the sum of squared standard normal variables with just a single parameter: the degrees of freedom. It determines the number of independent standard normal variables to sum. For a single degree of freedom, this distribution will have a clear right tail. More degrees of freedom result in distributions that look more “normal.” Observe:&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;set.seed&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;8675309&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Jenny, I got your number...&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tibble&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;`rchisq(df = 1)`&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;`rchisq(df = 2)`&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;`rchisq(df = 5)`&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;`rchisq(df = 10)`&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;`rchisq(df = 25)`&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;25&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;`rchisq(df = 50)`&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;rchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nobs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/simple-tests-for-arms-races-war/rchisq-distributions-1.png&quot; alt=&quot;plot of chunk rchisq-distributions&quot; /&gt;&lt;/p&gt;

&lt;p&gt;In the case of the chi-squared test, the degrees of freedom is equal to the product of the number of rows (minus 1) and the number of columns (minus 1). For a simple 2x2 contingency table, that’s 1. Inference here works in the same way it does most other applications. Higher test values (lower &lt;em&gt;p&lt;/em&gt;-values) will indicate greater incompatibility with the distribution, suggesting a rejection of the null hypothesis of no association. You can do this in R with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pchisq()&lt;/code&gt; function.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;pchisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;chisq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;df&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lower.tail&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;F&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1] 0.0003169742&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or, better yet, just do all this in R with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chisq.test()&lt;/code&gt; function. The only real headache with this is you’ll have to teach yourself how to deal with matrices in R since that’s what the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chisq.test()&lt;/code&gt; function generally wants.&lt;sup id=&quot;fnref:onmatrices&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:onmatrices&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; Here’s how you do it without Yates’ continuity correction (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;correct = FALSE&lt;/code&gt;), which is what these analyses were doing.&lt;sup id=&quot;fnref:yates&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:yates&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;# The observed counts, as a single vector&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;187&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1]  14  39  17 187&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# In matrix form, using nrow = 2. When doing it this way, R files column by &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# column. That means the first column gets the first two values, which is &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# incidentally what we want. There are other ways of doing this, though.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;matrix&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;187&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nrow&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;      [,1] [,2]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [1,]   14   17&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; [2,]   39  187&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Chi-squared test with*out* continuity correction.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;chisq.test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;matrix&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;187&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nrow&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;correct&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;FALSE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 	Pearson&apos;s Chi-squared test&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; data:  matrix(c(17, 187, 14, 39), nrow = 2)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; X-squared = 12.967, df = 1, p-value = 0.000317&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;reanalysis&quot;&gt;A Re-Analysis Using Newer Data&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://svmiller.com/stevedata/reference/mmb_war.html&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mmb_war&lt;/code&gt;&lt;/a&gt; is in the forthcoming version 1.7.0 of &lt;a href=&quot;https://svmiller.com/stevedata&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{stevedata}&lt;/code&gt;&lt;/a&gt; and offers a re-analysis of this using newer data. Here’s a glimpse into the data here.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mmb_war&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # A tibble: 2,324 × 9&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    ccode1 ccode2 tssr_id micnum  year dyfatmin dyfatmax sumevents   mmb&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;     &amp;lt;dbl&amp;gt;  &amp;lt;dbl&amp;gt;   &amp;lt;int&amp;gt;  &amp;lt;dbl&amp;gt; &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt;    &amp;lt;dbl&amp;gt;     &amp;lt;dbl&amp;gt; &amp;lt;dbl&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  1      2     40     130    246  1960        0        0        20     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  2      2     40     130     61  1962        0        0        35     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  3      2     40     130   2225  1979        0        0         2     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  4      2     40     130   2972  1981        0        0         4     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  5      2     40     130   2981  1983        0        0         1     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  6      2     40     130   3058  1983        4       25         2     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  7      2     40     130   2742  1986        0        0         2     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  8      2     70      32   1554  1836        0        0         5     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;  9      2     70      32   1553  1838        0        0         4     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 10      2     70      32   1556  1839        0        0         2     0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; # ℹ 2,314 more rows&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I take inspiration from &lt;a href=&quot;https://journals.sagepub.com/doi/abs/10.1177/0022343305050687&quot;&gt;Gibler et al.’s (2005) analysis&lt;/a&gt; on arms races and war and follow their lead in recreating a data set on arms races that I merge into this data set on all dyadic confrontations among strategic rivals.&lt;sup id=&quot;fnref:mmb&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mmb&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; Importantly, I’m looking for whether there was a mutual military build-up that started and was ongoing prior to the start of the confrontation, in addition to whether the confrontation in question escalated to the point of dyadic war (i.e. whether the minimum dyadic fatalities surpassed 1,000).&lt;/p&gt;

&lt;p&gt;First, let’s create a war measure that equals 1 if the minimum dyadic fatalities surpassed 1,000.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;war&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ifelse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;dyfatmin&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now, let’s create a contingency table of the mutual military build-ups and the dyadic war.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;table&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;war&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mmb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;    &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;        0    1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   0 2049   75&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt;   1  180   20&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Invoking the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;table()&lt;/code&gt; function here with 0s and 1s is a bit clumsy for what I want, but should be read as follows. The row labels of 0 (no war) and 1 (war) relate to the first vector (i.e. the war dummy). The column labels of 0 (no mutual military build-up) and 1 (mutual military build-up) relate to the column labels of the mutual military build-up dummy variable. If we flip things around a bit, we’d note that 20 of the 95 observations of dyadic confrontations succeeding mutual military build-ups reuslted in war (21%). 180 of the 2,229 dyadic confrontations without a mutual military build-up preceding them reached fatality thresholds we could classify as a war. That’s about 8%. It looks like a significant difference, but we’d have to see what the chi-squared test says.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;# Chi-squared test with continuity correction.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# Fyi: you could read in the vector to matrix() as c(2049, 180, 75, 20) and it&apos;d&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# be the same thing. I just prefer to see it this way.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;chisq.test&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;matrix&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;75&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;180&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2049&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nrow&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;correct&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;TRUE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; 	Pearson&apos;s Chi-squared test with Yates&apos; continuity correction&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; data:  matrix(c(20, 75, 180, 2049), nrow = 2)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;#&amp;gt; X-squared = 17.895, df = 1, p-value = 2.335e-05&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If there were no association between the arms races and war, the divergence between what’s observed and what we’d expect results in a chi-squared statistic so wildly incompatible with what we’d expect for a chi-squared distribution with a single degree of freedom. We reject the null hypothesis of no association and instead suggest the results are more compatible with an association between arms races and escalation to war.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;This is mostly for the kids to give them something to do in a lab session for quantitative methods. It’d be nice for students in my program to get more of the boilerplate quantitative peace science stuff that I got in grdauate school. It would be nice for them to further contextualize why a lot of so-called “realist” talking points are poorly stated. It’d be nice for them understand more of John Vasquez. It would further be great to get them to do stuff in the R programming language. This particular application offers all of that. There are more advanced ways of doing this, and it asks a lot for logics derived from observations of boats (or even nuclear weapons) to map to the current system. Still, it’s classic stuff with classic methods. Students should know this stuff anyway.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:sle&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;It’s a &lt;a href=&quot;https://en.wikipedia.org/wiki/System_of_linear_equations&quot;&gt;system of linear equations&lt;/a&gt;! It’s an elementary way of thinking about it but does well to represent the phenomenon in a basic form. &lt;a href=&quot;#fnref:sle&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:theo&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Dating the tract from which the “Para Bellum” quote originates is tricky and it’s conceivable Singer is referring to what might be understood in modern terminology as “intra-state” or “extra-state” violence. Certainly, the Roman Empire of this time precedes the modern state system. No matter, it shouldn’t be lost on the reader that this would still mean an emperor mobilized a bunch of hammers and now needs to find nails somewhere. The relationship between external threat and non-democracy is quite robust. Such a mobilization makes state-sanctioned violence cheaper than it would be in the absence of such a mobilization. &lt;a href=&quot;#fnref:theo&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:valer&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Brandon Valeriano, &lt;a href=&quot;https://www.duckofminerva.com/2025/03/big-man-big-heart.html&quot;&gt;may he rest in peace&lt;/a&gt;, told me once about a conversation he had with Wallace about the operational details of his analysis and how exactly he arrived at such stark conclusions in an era of punch-card analyses. It’s informative but I don’t think I can share them here. Wallace passed away in 2011. &lt;a href=&quot;#fnref:valer&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:peace&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;It is interesting that a lot of the empirical critiques of Wallace mostly (and rightly) say Wallace was way off what the true relationship is, but don’t really vindicate the “para bellum” hypothesis that they should lead to peace. &lt;a href=&quot;#fnref:peace&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:onmatrices&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;The operative arguments you’ll want to learn are &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nrow&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ncol&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;byrow&lt;/code&gt;. Observe, for example, the difference between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;matrix(c(1:4), nrow = 2)&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;matrix(c(1:4), nrow = 2, byrow=TRUE)&lt;/code&gt; for a simple 2x2 matrix. Be mindful that the chi-squared test is agnostic about what are rows and what are columns because it largely hinges on the multiplication of row totals and column totals. Transposing a matrix would result in equal chi-squared statistics (e.g. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chisq.test(t(matrix(c(1:6), ncol = 2)))&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chisq.test(matrix(c(1:6), ncol = 2))&lt;/code&gt;). I work on the convention from &lt;a href=&quot;https://edge.sagepub.com/pollock/student-resources/essentials&quot;&gt;Pollock III (2016)&lt;/a&gt; that things informally understood as “causes” should be columns and things informally understood as “outcomes” should be rows in creating a cross-tabulation like this. In our case, war is understood as an outcome of arms races. However, the particular method here has the same limitations as Pearson’s &lt;em&gt;r&lt;/em&gt;. Use it with that in mind. &lt;a href=&quot;#fnref:onmatrices&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:yates&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;R’s default behavior sets Yates’ default continuity correction to TRUE. This is the more conservative approach to a chi-squared test statistic because it will generally push down the test statistic for smaller samples to avoid Type I errors. &lt;a href=&quot;#fnref:yates&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mmb&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;You can see the details section of the codebook for a conversation about some case exclusion rules I employed along the way. I’m still tinkering with this military build-up measure and do not offer it here to be used uncritically. &lt;a href=&quot;#fnref:mmb&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Mon, 11 Aug 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/08/simple-tests-for-arms-races-war/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/08/simple-tests-for-arms-races-war/</guid>
        
        
        <category>Political Science</category>
        
        <category>Teaching</category>
        
        <category>R</category>
        
      </item>
    
      <item>
        <title>Global Governance and the International Politics of Standard Reference Temperature</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 350px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/bipm.jpeg&quot; alt=&quot;Think the meter is kind of boring? It was the subject of an interesting political fight in the early 1900s about *when* something is a meter.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Think the meter is kind of boring? It was the subject of an interesting political fight in the early 1900s about *when* something is a meter.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;I’m writing this because I have to get ready for the semester coming up. My department’s second sequence in its first-semester track is a discussion of global governance. This is kind of a challenge for this particular international relations scholar, who is more interested in talking about international conflict. It’s also very much rooted in the -isms. Neither of those are my cup of tea.&lt;/p&gt;

&lt;p&gt;I found a way to make this somewhat interesting to me. Clearly, questions of human rights and the environment are more important in the study of international cooperation. However, “global governance” people caution that the governance of the world is more than just the really big stuff that appears before the United Nations. Indeed, global governance pervades our lives in some mundane ways we take for granted, like &lt;a href=&quot;https://www.fiba.basketball/en&quot;&gt;the standardization of basketball&lt;/a&gt;, &lt;a href=&quot;https://www.moodys.com/&quot;&gt;signals of creditworthiness&lt;/a&gt;, and even &lt;a href=&quot;https://www.icann.org/&quot;&gt;our domain names&lt;/a&gt;. If you know where to look, you’ll find global governance stories everywhere in ways that can be quite interesting. Even in the meter.&lt;/p&gt;

&lt;p&gt;Yes, the meter and, to be more specific, when something is a meter long. Defining the meter was subject to an interesting political fight at the end of the 19th century and beginning of the 20th century. There are important technical and scientific questions here, but there’s also a political story you could shoehorn into an international relations lecture as I do. What follows is a fleshed out version of the bit in lecture I give to students. I’m writing it here so I can point students here after lecture.&lt;/p&gt;

&lt;p&gt;There will be some R code here, using these packages.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tidyverse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for most things&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;peacesciencer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for using CoW&apos;s NMC data&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;stevethemes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for my custom themes&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;kableExtra&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# for a table&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_set&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;theme_steve&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Importantly, I want to draw attention to &lt;a href=&quot;https://nvlpubs.nist.gov/nistpubs/jres/112/1/v112.n01.a01.pdf&quot;&gt;this article by Ted Doiron (2007)&lt;/a&gt; in the &lt;em&gt;Journal of Research of the National Institute of Standard and Technology&lt;/em&gt;. I’ll make ample reference to this article for details and specifics. Doiron is providing the important historical and technical information to support this post of mine. I’m just largely telling a political story on top of it and communicating its suitability to an international relations audience.&lt;/p&gt;

&lt;p&gt;Here’s a table of contents.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;#background&quot;&gt;Some Background on Measurements, the Meter, and Standard Reference Temperature&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#politics&quot;&gt;The Political Fight(s) over Standard Reference Temperature&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#isms&quot;&gt;The So-Called “-isms” and the Global Governance of Standard Reference Temperature&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#realism&quot;&gt;“Realism”&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#liberalism&quot;&gt;“Liberalism”&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#constructivism&quot;&gt;“Constructivism”&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;background&quot;&gt;Some Background on Measurements, the Meter, and Standard Reference Temperature&lt;/h2&gt;

&lt;p&gt;The story here has to assume some background. By this point in a lecture, I will have introduced students to &lt;a href=&quot;https://en.wikipedia.org/wiki/International_Bureau_of_Weights_and_Measures&quot;&gt;the International Bureau of Weights and Measures&lt;/a&gt; (BIPM). This is one of the older inter-governmental organizations (IGOs) in &lt;a href=&quot;https://correlatesofwar.org/data-sets/igos/&quot;&gt;the Correlates of War data&lt;/a&gt;. It is the seventh oldest by formation and fourth oldest among those still in existence (behind &lt;a href=&quot;https://www.ccr-zkr.org/&quot;&gt;the Central Commission for the Navigation of the Rhine&lt;/a&gt; [CCNR], &lt;a href=&quot;https://www.itu.int/en/Pages/default.aspx&quot;&gt;the International Telecommunications Union&lt;/a&gt; [ITU], and &lt;a href=&quot;https://www.upu.int/en/home&quot;&gt;the Universal Postal Union&lt;/a&gt; [UPU]).&lt;/p&gt;

&lt;p&gt;Here, for example, are the first ten IGOs in the CoW data.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;cowIGO&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;haven&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;read_dta&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;~/Koofr/data/cow/igo/3/igo_year_format_3.dta&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; 
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ^ data current as of 2014&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cowIGO&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lastyear&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.by&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ioname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;arrange&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;slice&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.by&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ioname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ioname&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;lastyear&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;table id=&quot;stevetable&quot;&gt;
&lt;caption&gt;The First Ten IGOs in the Correlates of War IGO data (v. 3)&lt;/caption&gt;
 &lt;thead&gt;
  &lt;tr&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; IGO (Abbr.) &lt;/th&gt;
   &lt;th style=&quot;text-align:left;font-weight: bold;&quot;&gt; IGO Name &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Year Formed &lt;/th&gt;
   &lt;th style=&quot;text-align:center;font-weight: bold;&quot;&gt; Last Year (2014 = Ongoing) &lt;/th&gt;
  &lt;/tr&gt;
 &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; CCNR &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Central Commission for the Navigation of the Rhine &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1816 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 2014 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; SCH &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Superior Council of Health &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1838 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1914 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; ECCD &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Euro Comm for Control of Danube &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1856 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1939 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; ICCSLT &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intl Comm of Cape Spartel Light &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1865 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1958 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; ITU &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intl Telecom Union &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1865 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 2014 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; UPU &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Universal Postal Union &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1874 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 2014 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; BIPM &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; International Bureau of Weights  Measures &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1875 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 2014 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; IPentC &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intl Penitentiary Comm &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1875 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1951 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; IUPR &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intl Union of Pruth &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1878 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1914 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; ICPTU &lt;/td&gt;
   &lt;td style=&quot;text-align:left;&quot;&gt; Intl Conf Promoting Tech Unification &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1882 &lt;/td&gt;
   &lt;td style=&quot;text-align:center;&quot;&gt; 1938 &lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;I hope it’s not lost on the reader, or my students, that there is no telling a story about the rise of intergovernmental organizations without telling a story about the consequences of war (CCNR, and see also: &lt;a href=&quot;https://en.wikipedia.org/wiki/Commissions_of_the_Danube_River&quot;&gt;the European Commission for Control of the Danube&lt;/a&gt; [1856-1939]) or advances in technology that necessitate some kind of coordination about things that we might take for granted. Who among us sweats the details of telegraphic networks (ITU), international mail delivery (UPU), or, in this case, what exactly is a meter or gram (BIPM). However, these are important details to sweat as they emerge. In the context of meters and grams, they are critical details to sweat with the rise of global trade in the 19th century. If I’m paying to import something that has some specified length, we should all agree on what exactly the length is. That was the initial mission of BIPM, a France-hosted IGO for coordinating measurement standards of &lt;a href=&quot;https://en.wikipedia.org/wiki/International_System_of_Units&quot;&gt;the International System of Units&lt;/a&gt;.&lt;/p&gt;

&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 300px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/meter27.jpg&quot; alt=&quot;The Meter Bar (National Prototype No. 27), as received by the United States in 1890&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;The Meter Bar (National Prototype No. 27), as received by the United States in 1890&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;The follow-up question of “what is a meter?” has &lt;a href=&quot;https://en.wikipedia.org/wiki/History_of_the_metre&quot;&gt;its own interesting historical trajectory&lt;/a&gt; by the end of the nineteenth century. In fact, the history of measurement is &lt;a href=&quot;https://en.wikipedia.org/wiki/History_of_measurement&quot;&gt;its own fascinating Wikipedia entry&lt;/a&gt; and those of us who had to read the Bible in our youth remember &lt;a href=&quot;https://en.wikipedia.org/wiki/Biblical_and_Talmudic_units_of_measurement&quot;&gt;some oddball measurements mentioned in those texts&lt;/a&gt;. However, it’s the French who largely pioneered the measurements we use today. The formation of the meter is based around an aim to standardize measurements to natural phenomena. In the case of the meter, it was originally understood as one ten-millionth of the shortest distance from the North Pole to the equator for &lt;a href=&quot;https://en.wikipedia.org/wiki/Paris_meridian&quot;&gt;a line passing through Paris&lt;/a&gt;. This definition changed through time and with more precise measurements. By 1889, the benchmark for the meter became a particular bar made of platinum and iridium. Formally, the meter was the length of the bar you see to the right 1) supported by two cylinders of a diameter of at least one centimeter, 2) placed 571 millimeters apart, and 3) measured at the melting point of ice (0 °C, or 32 °F).&lt;sup id=&quot;fnref:uncertainty&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:uncertainty&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;It’s the third component that will likely stand out to the reader and student. Why this temperature? This has two answers. First, remember the principle of &lt;a href=&quot;https://en.wikipedia.org/wiki/Thermal_expansion&quot;&gt;thermal expansion&lt;/a&gt; you learned about in school. Most things generally expand when heated and contract when cooled (&lt;a href=&quot;https://en.wikipedia.org/wiki/Negative_thermal_expansion&quot;&gt;water is the most obvious exception&lt;/a&gt;). Each element has some kind of coefficient of thermal expansion you’d have to know. Long story short: there is no knowing how long a meter is without knowing the temperature for which something is a meter long. Second, consider the time. Thermometry was somewhat unreliable at the time and only two measurements were known with some kind of precision: the boiling point of water and the melting point of ice. Of the two, the melting point was more easily reproducible because it is 3,700 times less dependent on atmospheric pressure. As a technical matter, it would be the only standard reference temperature that would make sense at this time.&lt;/p&gt;

&lt;h2 id=&quot;politics&quot;&gt;The Political Fight(s) over Standard Reference Temperature&lt;/h2&gt;

&lt;p&gt;Given popular conceptions about measurement in the United States, the role of the United States as protagonist in this story about the meter and the change to 20 °C as the standard reference temperature is prima facie bizarre. No matter, that’s the role I’ll argue it served here.&lt;/p&gt;

&lt;p&gt;The use of 0 °C as the standard reference temperature irked bureaucrats and metrologists in the United States for many reasons. The United States was a charter member of BIPM and one of the original 17 signatories to the &lt;a href=&quot;https://en.wikipedia.org/wiki/Metre_Convention&quot;&gt;Metre Convention&lt;/a&gt;. It definitely had &lt;a href=&quot;https://en.wikipedia.org/wiki/United_States_customary_units&quot;&gt;its customary units&lt;/a&gt; in place come 1832, but it was aware of how conspicuous its use was relative to measurement in Europe. The &lt;a href=&quot;https://en.wikipedia.org/wiki/Metric_Act_of_1866&quot;&gt;Metric Act of 1866&lt;/a&gt; protected the metric system &lt;em&gt;especially&lt;/em&gt; because manufacturers in the United States were targeting export markets that would never use the U.S. customary units. Thus, the United States was never against metric measurements in this fight it had with the BIPM. Instead, it had legal and administrative requirements imposed on bureaucrats and metrologists to standardize and &lt;em&gt;replicate&lt;/em&gt; the meter relative to its customary units.&lt;/p&gt;

&lt;p&gt;From the American perspective, 0 °C was strange for a standard reference temperature. Nothing of interest to export-oriented manufacturers in the U.S. at the time was made in freezing conditions. Some things, like steel and brass, have very different coefficients of thermal expansion that would wreak havoc on assembly if assembly were happening at 0 °C to be used or re-assembled at some kind of room temperature. Why not use room temperature under those circumstances? American efforts to reproduce the meter at something analogous to room temperature (let’s say: 20 °C) required understanding how their reproductions squared with the real thing at 0 °C. Domestic law somewhat impelled the U.S. metrologists and bureaucrats to verify their replication for the sake of metrification.&lt;/p&gt;

&lt;p&gt;However, approaches by metrologists and public officials from the United States to the BIPM to check their work were met with a cold shoulder. Consider this exchange from &lt;a href=&quot;https://en.wikipedia.org/wiki/Charles-%C3%89douard_Guillaume&quot;&gt;Charles-Édouard Guillaume&lt;/a&gt;, secretariat of the BIPM, to &lt;a href=&quot;https://en.wikipedia.org/wiki/Samuel_Wesley_Stratton&quot;&gt;Samuel Wesley Stratton&lt;/a&gt; (pp. 2-3):&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;But comparisons cannot be made with International Prototype. The International Prototype Meter as well as the kilogram, and their certificates, are shut up in a depository, which is under the charge of the International Committee, and closed by three locks, one key of which is in my hands, the second is deposited in the Archives of France, and the third is in possession of the President of the Committee, &lt;a href=&quot;https://en.wikipedia.org/wiki/Wilhelm_Julius_Foerster&quot;&gt;Prof. Foerster&lt;/a&gt; at Berlin. The depository which is a deep cave under our laboratory, is inaccessible to me as well as to all the world. It cannot be opened and much more the prototype can not be taken out except by a decision of the Committee in session.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The BIPM wanted this issue to go away and pleaded practicality to advocate a philosophical position about the inherent rightness of 0 °C. Interestingly, the BIPM tried to shut up the Americans once and for all at &lt;a href=&quot;https://www.bipm.org/documents/20126/75012503/CIPM1913.pdf/08d504ae-d1f3-ddea-6cf9-08be8d845ed4&quot;&gt;its 29th meeting in 1913&lt;/a&gt;. Therein (p. 90), the BIPM insisted on the melting point of ice as the standard reference temperature for defining the meter. However, this wasn’t enforced in light of events to follow. The BIPM, which had met every two years prior to this point, would not convene again until 1920 for obvious reasons.&lt;/p&gt;

&lt;p&gt;There were both technical and bureaucratic reasons for why the move from 0 °C to 20 °C stalled. Again, thermometry was far more uncertain at the end of the 19th century than it is now and there were only a handful of replica bars circulating around the world for Americans to benchmark their meter for their own legal requirements. Doiron’s (p. 3) treatment here suggests a schism between the practical demands of industry and metrologists in the United States to the philosophical aims of BIPM scientists on this matter. It’s the difference of “this isn’t useful” versus “this is right”. Doiron’s treatment doesn’t mention this, but there’s an air of a power play by France as well as their metrologists were adamant about 0 °C. They had the bar, and perhaps the philosophical was practical for them. They could more easily reproduce replications of the meter (&lt;em&gt;their&lt;/em&gt; meter) at 0 °C. Metrologists and public officials in the United States had their own political pressures, and political aims. So did the French and the IGO it housed.&lt;/p&gt;

&lt;p&gt;No matter, it seems that only France and the experts at the IGO it housed held to this position of 0 °C for standard reference temperature. Elsewhere, the Brits proposed a standard reference temperature of 62 °F· The roles have definitely reversed, but the metrologists of the United Kingdom were far more adamant about the use of Fahrenheit for standard reference temperature than American metrologists were at the time. From a correspondence from Stratton to his counterpart in the United Kingdom about the British proposal (pp. 4-5):&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Referring to your letter of August 17, 1916, in regard to a suitable standardization temperature
for commercial metric standards of length, I have
to say that we have carefully read &lt;a href=&quot;https://www.gracesguide.co.uk/John_Edward_Sears&quot;&gt;Mr. Sears&lt;/a&gt;’
memorandum, and while we agree with him that
commercial standards of length, whether metric
or English, should be standardized at the temperature at which they are to be used, we do not
concur in his opinion that the mean workshop
temperature to be se1ected should be 62 °F.&lt;/p&gt;

  &lt;p&gt;There is, at the present time, a decided tendency away from the Fahrenheit temperature scale,
and we feel that the tendency should be encouraged. There is, in fact, a bill now pending in
Congress by which it is hoped to abolish the
Fahrenheit scale, at least from Government
publications.&lt;/p&gt;

  &lt;p&gt;The temperature 20 °C is coming more and
more to be accepted as the standard temperature
for industrial as well as scientific operations. The
sugar industry, for example, is practically on the
20 °C basis. All polariscopic tubes, flasks, etc.
used in making up sugar solutions are made
standard at that temperature. Very many hydrometers are standard at this temperature and the
glass volumetric apparatus standardized by this
bureau is on that basis and has been for the past
ten years or sore. Also many of the steel tapes
used in this country are standard at 20 °C.&lt;/p&gt;

  &lt;p&gt;I might add many other examples to show that
20 °C is being largely accepted as the standard
temperature in scientific and technical work.
Would it not, therefore, under the circumstances,
be better to standardize both the English and
metric commercial standards on this basis rather
than that of 62 °F? 20 °C would certainly have a
very great advantage over 62 °F if urged for
international adoption; and from a practical
point of view it would be no more difficult to
change the English commercial standard from
62 °F to 20 °C (68 °F), than to change the metric
standards from 0 °C to 16.67 °C (62 °F).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;By the 1910s, there really wasn’t a standard reference temperature as much as there were standard reference &lt;em&gt;temperatures&lt;/em&gt; for different industries and different countries. I’ll admit the specifics for why this was the case are beyond me. Whatever reasons various industries had at the time for different standard reference temperatures assuredly has a logic that eludes this political scientist. However, the years that followed eventually saw a renewed interest (from the American perspective) in standardizing this measurement and new measurements given ongoing electrification. American industry experts, bureaucrats, and metrologists wanted to standardize more measurements and expand the scope of the BIPM beyond what it had been doing to this point (before 1913). Ideally, it would further standardize international standards to what the United States had been doing through its &lt;a href=&quot;https://en.wikipedia.org/wiki/National_Institute_of_Standards_and_Technology#Bureau_of_Standards_(1901%E2%80%931988)&quot;&gt;Bureau of Standards&lt;/a&gt;: measuring at 20 °C.&lt;/p&gt;

&lt;p&gt;The Bureau of Standards prepared for the upcoming 1927 general conference of the BIPM by shoring up a united message from various industries about the value of 20 °C for standard reference temperature. The French position at this time seemed to concede defeat on 0 °C but wanted a bit more of a convoluted approach to thermal correction than anyone else would accept. The American position (p. 10) was “absolutely not” and the German position was, paraphrased, “hell no.” Whether the latter’s opposition was a function of the ridiculousness of the proposal or some animosity about the fallout of the first world war is not something I feel I can answer.&lt;/p&gt;

&lt;p&gt;Meanwhile, the British were still advocating for 62 °F, but found an appeal to Fahrenheit a tough sell. To insert a Swede into this conversation, &lt;a href=&quot;https://en.wikipedia.org/wiki/Carl_Edvard_Johansson&quot;&gt;Carl Edvard Johansson&lt;/a&gt; had commanded a lot of intellectual currency to this point—especially in the United States—with his gauge blocks. He argued that his increasingly popular gauge blocks were more durable at 20 °C than they were at 62 °F, at which point body heat exerts a stronger influence on the performance of the gauges. Further, standardizing between Celsius and Fahrenheit was easier at 20 °C than it was at 62 °F. 20 (Celsius) = 68 (Fahrenheit). 62 (Fahrenheit) = ~16.67 (Celsius). If you’re going to standardize, just do what the Americans are doing.&lt;/p&gt;

&lt;p&gt;Thus, what was a massive fight at earlier meetings of the BIPM and correspondence on this issue was settled with a voice vote in 1931. The standard reference temperature for industrial measurements became 20 °C. In what I think is the niftiest epilogue to this story, this 1931 voice vote on standard reference temperature has the distinction of being the very first international standard introduced by the &lt;a href=&quot;https://en.wikipedia.org/wiki/International_Organization_for_Standardization&quot;&gt;International Organization for Standardization&lt;/a&gt;. That’s right; &lt;a href=&quot;https://en.wikipedia.org/wiki/ISO_1&quot;&gt;it’s ISO 1&lt;/a&gt;. People in my field might recognize &lt;a href=&quot;https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes&quot;&gt;ISO 3166&lt;/a&gt; for country codes. You might have seen various ISO standards, like &lt;a href=&quot;https://en.wikipedia.org/wiki/ISO/IEC_8859-1&quot;&gt;ISO 8859&lt;/a&gt; for character encoding. &lt;a href=&quot;https://en.wikipedia.org/wiki/ISO_8601&quot;&gt;ISO 8601&lt;/a&gt; largely shapes how you see dates and time. None of those are the first post-war international standard. Instead standard reference temperature is ISO 1, an example of the kind of global governance of mundane things done through a &lt;em&gt;non&lt;/em&gt;-governmental organization of domestic standards agencies.&lt;/p&gt;

&lt;h2 id=&quot;isms&quot;&gt;The So-Called “-isms” and the Global Governance of Standard Reference Temperature&lt;/h2&gt;

&lt;p&gt;Students in my field are induced to think of things through the so-called “-isms”. I wish they wouldn’t? No matter, it’s how they’re induced to think and it’s how they’re inclined to think. You can tell an international relations story about this through these various -isms. Not that you should, but you could.&lt;/p&gt;

&lt;h3 id=&quot;realism&quot;&gt;“Realism”&lt;/h3&gt;

&lt;p&gt;You know how I think. &lt;a href=&quot;https://svmiller.com/blog/2025/04/stephen-a-smith-ir-scholarship/&quot;&gt;These people are clowns&lt;/a&gt; that &lt;a href=&quot;https://svmiller.com/blog/2024/05/assorted-tips-for-student-theses/#pickatheory&quot;&gt;have nothing to tell you about a question you should care to ask&lt;/a&gt;. Carr, Mearsheimer, Morgenthau, Walt, and Waltz would have no real explanation for this story, nor any capacity to care. They’re not particularly capable of explaining the things they like to talk about, let alone things that involve coefficients of thermal expansion, atmospheric pressure, and thermometry. That said, here are the things they would assuredly like to talk about with respect to this.&lt;/p&gt;

&lt;p&gt;Realists generally start from an orientation toward the world as one of conflict, and not cooperation. The impetus for an intergovernmental organization like BIPM might have been to harmonize measurements in order to cooperate, but it fell to inherent dysfunction even on what could be dismissed as a “low politics” issue.&lt;sup id=&quot;fnref:low&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:low&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; How “tragic” is that, from a realist position, that an IGO on such a “low politics” issue could fall to such dysfunction? It would make sense if you like to talk about &lt;a href=&quot;http://www.jstor.com/stable/2539078&quot;&gt;the “false promise” of IGOs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Unsurprisingly, war pervades why this dysfunction emerged and, arguably, serves as the backdrop against which it was ultimately resolved. Great power war put meetings of the BIPM on hiatus. Countries had their own national standards to which they needed to adhere for manufacturing and the war effort. Harmonizing or changing practices would have been an inefficient use of energy at this time, especially when national security is at stake. The end of the first world war (prior to the 1927 and 1931 meetings) and certainly the end of the second world war (prior to ISO 1) definitely accelerated the ascent of the United States as arguably the most powerful country on the planet. It’s not terribly surprising that the U.S. (from this perspective) threw enough weight around to resolve this issue. Take a look at these assorted measures of “power” from the Correlates of War project. I’m standardizing iron and steel production and primary energy consumption to be proportional to the system total in a given year.&lt;/p&gt;

&lt;div class=&quot;language-r highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;cow_nmc&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sumirst&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;sum&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;irst&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;na.rm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sumpec&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;sum&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pec&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;na.rm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.by&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%in%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;220&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;between&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1875&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1935&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pirst&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;irst&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sumirst&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ppec&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pec&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;sumpec&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pirst&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ppec&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;cinc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;gather&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;val&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;country&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;countrycode&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;countrycode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ccode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;cown&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;country.name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;case_when&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;pirst&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Iron and Steel Production&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ppec&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Primary Energy Consumption&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;cinc&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Composite Index of National Capabilities (CINC)&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;mutate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fct_inorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&amp;gt;%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ggplot&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;aes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;year&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;val&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;country&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;linetype&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;country&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;facet_wrap&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom_line&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;linewidth&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1.1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;scale_x_continuous&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;breaks&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;seq&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1875&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1935&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;by&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;labs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;linetype&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Proportion of System Total&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Various Measures of &apos;Power&apos; for Four Important States, 1875-1935&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;subtitle&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Pax Americana may have only started after World War II, but it became a clear powerhouse earlier than that.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;caption&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Data: Correlates of War National Material Capabilities (v. 6), by way of {peacesciencer}.
       Iron and steel production originally measured in thousands of tons. Primary energy consumption originally measured in thousands of coal-ton equivalents.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;img src=&quot;/images/global-governance-meter-standard-reference-temperature/power-fra-gmy-gbr-usa-1875-1935-1.png&quot; alt=&quot;plot of chunk power-fra-gmy-gbr-usa-1875-1935&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Perhaps realists don’t care about standard reference temperature and what that means for the history of the meter, but they did co-opt &lt;a href=&quot;https://en.wikipedia.org/wiki/Hegemonic_stability_theory&quot;&gt;hegemonic stability theory&lt;/a&gt; to be one of their things. The U.S. had weight to throw around after the first world war, and used it accordingly.&lt;/p&gt;

&lt;p&gt;At least from this perspective, if you had to talk about it. It’s still asking a lot for “realism” to have anything to say here. It’s primarily interested in great power war, not the bureaucratic minutiae of IGOs and fights over where the temperature dial should be to measure things.&lt;/p&gt;

&lt;h3 id=&quot;liberalism&quot;&gt;“Liberalism”&lt;/h3&gt;

&lt;p&gt;It’s tough to say what “liberalism” is in international relations. I know I have a PhD in this, but I’m often confused to what “liberalism” is. No matter, I think this is generally what students get on “liberalism”, at least as I would encourage them to see it.&lt;/p&gt;

&lt;p&gt;Where so-called “realism” conceptualizes an inherently conflictual system of sovereign states, so-called “liberalism” conceptualizes an international system of more than just sovereign states that is governed as much (or more) by its transactions as its conflict. A narrow focus on state-to-state violence betrays the full scope of international relations. Truly, anything spanning borders is “international” and coordination on measurements and standard reference temperature is “relations” of a kind. A realist might not care about this, but could bullshit you something if pressed. However, a so-called “liberal” would see a lot to like here given how they view the world.&lt;/p&gt;

&lt;p&gt;For one, read Doiron’s article and tell me if you recognize any of those names. Be honest, too. If you’re a nerd or versed in the history of Swedish contributions to science, you might recognize Carl Edvard Johansson. However, he’s not a head of state, a defense minister, or a foreign minister. He was an inventor and scientist working for the Ford Motor Company at this time. You might recognize Herbert Hoover, if you’re an American. He would be president soon in this story, but notice he wasn’t. He was the Secretary of Commerce at this point in the story. Realists famously blackbox the state and might make an occasional reference to a top-level diplomat or the state leader, neither of which fit Herbert Hoover in his role in the American government at this point.&lt;/p&gt;

&lt;p&gt;Instead, you’re seeing a bunch of actors in a bunch of roles you don’t know about, doing things on an international scale that would’ve shaped your life you were alive at this point. You’re seeing somewhat faceless bureaucrats working in domestic standards agencies like the American Bureau of Standards or its British equivalent. You’re reading about nameless, faceless experts in the BIPM and the authority vested in its secretariat to tell American bureaucrats to pound sand. Go look at Doiron’s list of actors comprising the U.S. industry consensus on p. 8 of its article. None of those consist of the Department of War in the United States.&lt;/p&gt;

&lt;p&gt;The familiar kind of actors permitted entry into a so-called “realist” story are nowhere to be seen here. There is no Woodrow Wilson or Robert Lansing. There is no Kaiser Wilhelm or Arthur Zimmermann. There is no David Lloyd George or Sir Edward Grey. There is no Raymond Poincaré or Théophile Delcassé. No one in that kind of position would have that kind of expertise. Thus, they outsource something important-but-obtuse like this to domestic non-state actors to figure it out. You wouldn’t get that in “realism”, but you’re going to get a better picture of it in “liberalism”. Indeed, I largely glossed over how much of this big ol’ snafu is a function of American domestic politics. This started because American bureaucrats and metrologists needed to satisfy legal requirements imposed by Congress.&lt;/p&gt;

&lt;h3 id=&quot;constructivism&quot;&gt;“Constructivism”&lt;/h3&gt;

&lt;p&gt;This is a challenge. Mr. Constructivism himself would say &lt;a href=&quot;https://www.google.se/books/edition/Social_Theory_of_International_Politics/ib8mAAAAQBAJ?hl=en&amp;amp;gbpv=0&quot;&gt;“constructivism is not a theory of international politics.”&lt;/a&gt;. That’s good as contextualization for what it ultimately is. Constructivism is primarily rooted in the sociology of knowledge, and is foremost interested in the ideational forces that construct the world and give it its meaning.&lt;/p&gt;

&lt;p&gt;There are several things here that would work well with a constructivist approach to understanding international relations, broadly understood. Notice there is a great deal of “learning” here. Yes, there is actual technical learning as actors at this time better hone their measurements. However, there is also active learning and an appeal to “experts” to “teach” and “inform.” Carl Edvard Johansson played an important role as a kind of educator informing stakeholders why 20 °C is a better reference temperature in relation to his gauge blocks. There is important teaching going on as the United States sent a battery of industry representatives to persuade other voting members of the BIPM of the “rightness” of its position. There needed to be active educating of the voting members of the BIPM why the French position at the 1931 general conference was a non-starter. Constructivism, as it’s done in international relations, isn’t too far afield from the academic study of education and learning. There is educating and there is persuasion happening in this story, often done by people with certain roles and identities.&lt;/p&gt;

&lt;p&gt;Admittedly, this kind of framework isn’t my forté. But you can flesh this out more if you had the spoons for it. The meter is, after all, an interesting social construction of the fraction of a line passing through Paris. We definitely construct the world around us through various means, even if the original idea is that the meter is based on “natural phenomena.”&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;I wrote this to flesh out something that is a part of a lecture I have to give every semester. The academic interest in global governance concerns some major questions about the movement of people, their basic human dignity, and the climate that they all share. However, this academic interest in some of our most salient and urgent questions comes with an appreciation of how this manifests in some mundane ways we all take for granted. None of us may care so much for the nitty gritty details of what a meter is, or the conditions for which (historically) something was a meter long. But that doesn’t preclude the meter from a conversation of global governance. It most certainly is part of global governance—arguably one of the earliest avenues of global governance. It just means we’re disinclined to think about it and miss some interesting international politics around the conditions for which something historically was a meter long.&lt;/p&gt;

&lt;p&gt;There is an important technical and scientific issue underpinning the fight about standard reference temperature, none of which are necessarily political. Thermal expansion is effectively a natural phenomena for which a “social construction” of it would be kind of silly. Further, measuring temperature was an uncertain enterprise around this time, beyond some temperatures that were known with relatively more precision. No matter, even this phenomena had an interesting political fight about what was an appropriate course of action. If you know where to look, or how to look, you’ll find these interesting stories.&lt;/p&gt;

&lt;p&gt;You could further contextualize these stories around the familiar “-isms” that have currency in an intro-level international relations track. Not that you &lt;em&gt;should&lt;/em&gt;, but you &lt;em&gt;could&lt;/em&gt;. I would ask for a bit more by way of explanation for how anarchy (a constant) can explain varying attitudes about standard reference temperature, even if great power war is a clear backdrop to this debate. I would ask for a bit more clarification about the underlying domestic politics motivating the U.S. position and French position, even if you could clearly see the kind of endowment advantage and authority that the BIPM had early into this debate. I would further ask why you’re bringing so-called “constructivism” into this in the first place, even if that particular “-ism” has a unique position as being an offshoot of the sociology of knowledge relative to other paradigms in international relations. I might ask that you theorize the political more than any of these particular “-isms” are willing to do as basic orientations toward international relations.&lt;/p&gt;

&lt;p&gt;No matter, anything spanning borders is “international relations”. Yes, even—and especially—standard reference temperature. It’s a cool-as-hell epilogue that it’s ISO 1 if you’re interested in global governance.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:uncertainty&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;For the sake of presentation, I will pass over the formalization of uncertainty that went into this bar-based measurement in order to better tell the political story I care about. Measurement of the bar in question included some a measure of uncertainty that, importantly, was &lt;a href=&quot;https://www.nist.gov/image/meter-bar-27&quot;&gt;subject to surface temperature&lt;/a&gt;. Perhaps it’s no surprise that the modern definition of meter &lt;a href=&quot;https://www.npl.co.uk/resources/the-si-units/the-redefinition-of-the-si-units&quot;&gt;anchors to time&lt;/a&gt;, not temperature. Time is the most precise thing we can measure. &lt;a href=&quot;#fnref:uncertainty&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:low&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;To the best of my knowledge, we have Stanley Hoffmann to blame for this distinction that has since infected how we teach international relations to students. He may have used it before &lt;a href=&quot;https://www.jstor.org/stable/20027004&quot;&gt;his 1966 publication in &lt;em&gt;Daedalus&lt;/em&gt;&lt;/a&gt;, though that is the first usage of the terms for which I’m aware. Hoffmann’s treatment of “high politics” and “low politics” has more contours than later invocations of these terms, but it should irk curious students all the same to use these terms in the context of a proposed explanation (“explanation”) as means to dismiss the importance of a question. Like, what even is that… &lt;a href=&quot;#fnref:low&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 05 Aug 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/08/global-governance-meter-standard-reference-temperature/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/08/global-governance-meter-standard-reference-temperature/</guid>
        
        
        <category>Political Science</category>
        
        <category>Teaching</category>
        
      </item>
    
      <item>
        <title>Cloud Storage, European Style</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 420px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/divorce-american-style.jpg&quot; alt=&quot;Who&apos;s to say the separation doesn&apos;t play out like the end of this movie, but...&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Who&apos;s to say the separation doesn&apos;t play out like the end of this movie, but...&lt;/dd&gt;
&lt;/dl&gt;

&lt;!-- *Last updated: 21 May 2025.*  --&gt;

&lt;p&gt;The current moment has led to a spate of enthusiasm in the Western world, outside the United States, to wean itself off American products in favor of European (or Canadian) alternatives. The underlying rationale for why this movement emerged is tragic. The weight of the moment and the movement it’s generated is heavier than any individual-level consumption decision, and it’s more than silly, simple jingoism that motivates its American equivalent. However, the weight of the moment does underscore the weight of the undertaking for anyone who wants to take part. Like moving a grand piano from one home to another, it’s an undertaking easier said than done.&lt;sup id=&quot;fnref:microsoft&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:microsoft&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;I’ve been a Dropbox user since 2008 and just about my entire life’s work has revolved around it for as long as I’ve had it. However, it’s time for a change for any number of reasons. Dropbox is a great product, but privacy concerns for an American company accountable to the &lt;a href=&quot;https://en.wikipedia.org/wiki/CLOUD_Act&quot;&gt;CLOUD Act&lt;/a&gt; are real. It’s also just a tad bit expensive for what I need. I need a family plan with at least a terabyte, which is available only for Americans. &lt;a href=&quot;https://www.dropbox.com/plan-configuration/dropbox-single-seat?option=family&quot;&gt;As of writing, that’s over $200 every year&lt;/a&gt;. That’s a good deal, all things considered, but it’s not the best deal if you intend to have just one cloud storage account (more on that later). It’s also charging me dollars I don’t have in abundance and would have to wire into an American bank account from Sweden. Given the aforementioned moment, it’s time for a switch.&lt;/p&gt;

&lt;p&gt;Here’s what I did, and will commit to doing for the time being. Perhaps this will help a few of you.&lt;/p&gt;

&lt;h2 id=&quot;switching-from-dropbox-to-koofr&quot;&gt;Switching from Dropbox to Koofr&lt;/h2&gt;

&lt;p&gt;I experimented with a few alternatives and settled on &lt;a href=&quot;https://koofr.eu/&quot;&gt;Koofr&lt;/a&gt; as my main cloud storage/productivity tool to replace Dropbox. Koofr is a Slovenian company and has data centers across the European Union. It’s also &lt;a href=&quot;https://koofr.eu/blog/posts/celebrating-7-years-of-koofr&quot;&gt;been around since 2013&lt;/a&gt;. If you’re looking to make the switch from Dropbox, it’s good to commit to a service that’s not a startup because the older companies more credibly signal staying power. That’s something you don’t appreciate until you see it in print. &lt;a href=&quot;https://www.engadget.com/dropbox-records-first-profit-ever-135846388.html&quot;&gt;Dropbox (at least since it went public) wasn’t profitable until 2020&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you’re using Dropbox as I did (i.e. for file-sharing, shared directories, and general academic productivity across multiple devices), you’ll find that Koofr does literally all of that. It has a built-in Microsoft Office app in the browser if, God help you, you’re into that sort of thing. It has file-versioning as well. There are some other perks I want to emphasize as well.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;It can connect to a host of external cloud services to facilitate the transfer of your files. I’ll note you &lt;em&gt;could&lt;/em&gt; do this and it would be the path of the absolute least resistance, but you would lose your timestamps as Koofr makes copies of the data. That would drive me up the wall, but perhaps a few of you may not mind it as much.&lt;/li&gt;
  &lt;li&gt;Koofr boasts that the only tracking tool they employ is a simple cookie to keep you logged in. It doesn’t advertise &lt;a href=&quot;https://en.wikipedia.org/wiki/Zero-knowledge_service&quot;&gt;“zero knowledge”&lt;/a&gt; or &lt;a href=&quot;https://en.wikipedia.org/wiki/End-to-end_encryption&quot;&gt;end-to-end encryption&lt;/a&gt; (E2EE) like some other alternatives, but &lt;a href=&quot;https://koofr.eu/privacy/&quot;&gt;the respect for privacy&lt;/a&gt; is discernible (beyond the obvious GPDR commitment).&lt;/li&gt;
  &lt;li&gt;Koofr compensates for the lack of zero-knowledge/E2EE by giving you a few so-called “safe boxes” (i.e. &lt;a href=&quot;https://koofr.eu/help/koofr-vault/&quot;&gt;its “vault” feature&lt;/a&gt;). If you understand how it works, it’s &lt;a href=&quot;https://koofr.eu/blog/posts/using-rclone-with-koofr-vault&quot;&gt;helping you do something you could do yourself&lt;/a&gt;. It’s actually quite refreshing for a company to be up front about that. It’s offering a service while pleading with you to do it yourself, and showing you how to do it.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://app.koofr.net/help/webdav&quot;&gt;Koofr also has WebDAV capabilities&lt;/a&gt;. There is an incredibly narrow intersection of people I know that 1) use Linux and 2) still rely on mp3s to be the basis of their music collection. That intersection might just have me in it, but it does mean I’m precluded from using iTunes and the default music app on my iPhone. Any alternative music player will have this functionality if you are going to populate with mp3s from a cloud storage company, and I kind of need my cloud storage service to provide it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The biggest drawback for Koofr is that it is incidentally one of the more expensive options, if not arguably the most expensive option among the European alternatives. I don’t think the price is so bad, or at least I have a price threshold for which that suffices (even if it’s arguably not optimal). I can’t speak for its business model and if the price is a creative way to acquiring capital to finance its development. It would be one thing if Koofr were as feature-poor as some alternatives, but it’s quite feature-rich. Other options will definitely beat Koofr to the floor in terms of price, but Koofr offers more than those that are doing this. Perhaps Koofr is aware of this with &lt;a href=&quot;https://koofr.eu/loyalty-discount/&quot;&gt;its loyalty discount&lt;/a&gt;, upwards of half the given rate in a given year. I can’t speak to you all, but I &lt;em&gt;hate&lt;/em&gt; moving literally anything. I can commit to this in the long run and in the long run it should be worth it.&lt;/p&gt;

&lt;p&gt;Koofr also doesn’t have a family plan of which I’m aware and I’m unaware of any developments toward that end. I would love to keep my wife and I under one plan, but I have a backup plan for that.&lt;/p&gt;

&lt;p&gt;This might also be a “me” thing, but Koofr has some default behavior I find a tiny bit cumbersome. Dropbox takes a lot of the guesswork from you on how to manage your files. You eventually get used to what it does and appreciate some of its features. You have a basic directory (i.e. “home”, if you’re on the browser) where everything is. Once something is in the cloud, you can choose to keep it there and off your computer. Koofr doesn’t quite work that way. On Linux, its default desktop sync will be at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/home/[insertusername]/Koofr&lt;/code&gt; (which is good and fine), but appears as “My desktop sync” in the Koofr app and on the web (i.e. ewww).&lt;sup id=&quot;fnref:ewww&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ewww&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; You can adjust this but it’s palpable that Koofr doesn’t want you to do it this way. I’m also &lt;a href=&quot;https://news.ycombinator.com/item?id=29186222&quot;&gt;showing my age here&lt;/a&gt;, but spaces in file names/folders just irk me. As far as I understand it, Koofr also discourages you from thinking about doing a &lt;a href=&quot;https://help.dropbox.com/sync/selective-sync-overview&quot;&gt;selective sync as Dropbox would do it&lt;/a&gt;. You would have to move files you want to archive outside of your desktop sync folder and to somewhere else on your account. It’s not the worst thing in the world (far from it), but it does mean my process had to belabor a bit more what I wanted to archive from day-to-day use. Perhaps that’s a good thing?&lt;/p&gt;

&lt;p&gt;You would be under &lt;em&gt;no&lt;/em&gt; obligation to click this link, but this would be &lt;a href=&quot;https://k00.fr/jy2zqc98&quot;&gt;a unique invite link to join Koofr and give it a shot&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;supplement-koofr-with-pcloud-as-the-backups-backup&quot;&gt;Supplement Koofr with pCloud as the Backup’s Backup&lt;/h2&gt;

&lt;p&gt;One piece of advice I picked up scanning subreddits on cloud storage suggested you should have a backup to your backup, the extent to which a service like Dropbox was my backup. Perhaps that’s an external hard drive. Perhaps that’s some secure storage facility/service somewhere as another service. Perhaps it’s another cloud storage company. No matter, back up your backup.&lt;/p&gt;

&lt;p&gt;For me, that was jumping on &lt;a href=&quot;https://www.pcloud.com/family.html?period=lifetime&quot;&gt;a “lifetime” family plan from pCloud for two terabytes&lt;/a&gt;. There was a particular fire sale happening on pCloud around Easter time where this 2 TB family plan was 400 Euros, and it’s conceivable that another fire sale might be forthcoming again. I splurged on it because I could, and you may find that in your interest as well.&lt;/p&gt;

&lt;p&gt;To be up front, you should be skeptical of services that offer so-called “lifetime” plans as they are for the “lifetime” of the company. A start-up company has every incentive to sell these for a quick influx of capital. A start-up company that sells them then won’t be around that long to honor it. Keep that in mind, and perhaps that will scare you off, But, pCloud is a Swiss company with the European part of its operations in Luxembourg and has also been around since 2013. Other companies that offer those “lifetime” deals (e.g. &lt;a href=&quot;https://icedrive.net/&quot;&gt;Icedrive&lt;/a&gt;, &lt;a href=&quot;https://internxt.com/&quot;&gt;Internxt&lt;/a&gt;) have been around half that time.&lt;/p&gt;

&lt;p&gt;pCloud has a few superlatives for how I intend to use it. For one, its Linux app mounts as an external/virtual hard drive. That makes it less optimal for real-time collaboration/syncing and suitable for seeing what’s in what is going to be my archive whenever I want to see it. The syncing itself is quite fast, at least for uploading things. I rather like it’s functionality for playing music or sorting/displaying photos. For a one-off purchase, and the backup of a backup, I’m quite happy with it. If I were using it as my main cloud storage option, I would find some of its performance a bit questionable and would be left wanting about some of its functionality for collaboration. However, it’s a good place to stick stuff.&lt;/p&gt;

&lt;p&gt;There are a few downsides worth calling out in particular. For one, pCloud’s customer support isn’t as responsive as Koofr or some of the other options. I didn’t find that terribly off-putting, but it can’t go unnoticed. The super privacy-focused user may find some of its privacy features only fine and express some reservation about the fact it has a data center in the United States. It vows it doesn’t have copies of your data across both jurisdictions, and I’ll trust that the case (given its incorporation in Switzerland).&lt;/p&gt;

&lt;h2 id=&quot;backup-to-the-backup-with-rclone&quot;&gt;Backup to the Backup with Rclone&lt;/h2&gt;

&lt;p&gt;Part of this transition has made me appreciate that I could be leaning a lot more on myself to do what I otherwise entrusted a Linux app to do for me. It meant learning more about &lt;a href=&quot;https://rclone.org/&quot;&gt;Rclone&lt;/a&gt; and doing some of this myself.&lt;/p&gt;

&lt;p&gt;I entrust the Koofr app on my desktop (laptop) to sync files to Koofr’s cloud, which then syncs with my laptop (desktop) when I’m working in the office (at home). On my desktop (my main computer), I setup Rclone to interact with pCloud largely following &lt;a href=&quot;https://rclone.org/pcloud/&quot;&gt;the instructions here&lt;/a&gt;. Then, I wrote a simple bash script to sync Koofr to pCloud, as follows.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;LOGFILE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/home/steve/Koofr/logs/&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;date&lt;/span&gt; +%Y-%m-%d&lt;span class=&quot;si&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.log&quot;&lt;/span&gt;

rclone &lt;span class=&quot;nb&quot;&gt;sync&lt;/span&gt; /home/steve/Koofr/ pcloudconfig: &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;--exclude&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;**archive*/**&apos;&lt;/span&gt; &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;--exclude&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;**[Tt]rash*/**&apos;&lt;/span&gt; &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;--exclude&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;pcloud-materials/**&apos;&lt;/span&gt; &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;-v&lt;/span&gt; &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;#    --dry-run \&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;--log-file&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$LOGFILE&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This process runs every day at 5 p.m, by way of &lt;a href=&quot;https://man7.org/linux/man-pages/man5/crontab.5.html&quot;&gt;crontab&lt;/a&gt;, syncing my pCloud account to square with the Koofr account. It excludes things that I’ve archived (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--exclude &apos;**archive*/**&apos;&lt;/code&gt;), things that are detritus/”trash” files created by both services (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--exclude &apos;**[Tt]rash*/**&apos;&lt;/code&gt;), and some startup documents that pCloud gives you when you create an account (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--exclude &apos;pcloud-materials/**&apos;&lt;/code&gt;). This script is verbose (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-v&lt;/code&gt;) and creates a log file when it’s done that tells me what synced. As I was experimenting with its behavior, I would do a dry run (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--dry-run&lt;/code&gt;) that informs me what it would synced/deleted. You might find that useful as you’re getting started.&lt;/p&gt;

&lt;h2 id=&quot;other-alternatives&quot;&gt;Other Alternatives&lt;/h2&gt;

&lt;p&gt;Feel free to poke around and explore your options, but here are the other ones I strongly considered before finding what works for me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Filen&lt;/strong&gt;: &lt;a href=&quot;https://filen.io/&quot;&gt;Filen&lt;/a&gt; intrigues me. Its development team is lightning fast with support- or sales-related questions and seem genuinely very interested in expanding the scope and quality of what they offer. It already boasts zero-knowledge encryption. But, it has no family plan nor does it seem tailored to collaboration and general office productivity like some others (e.g. Koofr, Dropbox, Jottacloud). Its apparently working on a family plan, but does not have one right now. It is also a bit unforgiving with syncing. Past versions of a file count and assorted detritus count as used space. Beyond that, there is so much to like about what it offers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Proton&lt;/strong&gt;: Proton Duo would be a no-brainer for &lt;a href=&quot;https://proton.me/drive/pricing&quot;&gt;what it includes&lt;/a&gt;, if it included a Linux client for its Drive service. However, reviews I’ve encountered of its service are more sanguine about its “storage” capabilities and less its syncing for day-to-day use. I can’t speak for that, though.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Jottacloud&lt;/strong&gt;: Jottacloud is fascinating to me. &lt;a href=&quot;https://jottacloud.com/en/pricing?category=jottacloud-personal&quot;&gt;The price can’t be beat&lt;/a&gt;. It’s super fast. It has a command-line tool for Linux (if not a Linux app). It’s also Nordic. I think I wanted the WebDAV support, though. I might come back to this, though, especially if it offers a Linux app beyond showing me how to do things in the command line. Jottacloud does a lot of things underneath the hood that I rather like. Those of you further removed from Northern Europe may find it a bit unresponsive? I’ve read such complaints.&lt;/p&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:microsoft&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;I’ve been a Linux enthusiast since 2004 and would cheerlead efforts for more robust and widespread proliferation among desktop users, replete with public backing for it. But I am a nerd, and best of luck to those wanting to quit Microsoft or Apple cold turkey. Google is entrenched, but solvable. Decent to arguably equivalent alternatives exist. I don’t think Microsoft is a solvable problem and the company has helped itself by being &lt;a href=&quot;https://www.fool.com/investing/2023/08/14/only-2-stocks-higher-credit-rating-us-government/&quot;&gt;more reliable than the American government&lt;/a&gt;. I’d rather lend Microsoft money than the U.S. government. You could say something similar about the entrenchment of Apple even as its user base is a little more, &lt;a href=&quot;https://medium.com/@abubakarrajput342/the-cult-of-apple-understanding-the-fandom-surrounding-the-iphone-a5a903403531&quot;&gt;shall we say, “dedicated.”&lt;/a&gt;. This is an opinionated take, but widespread public support for Apple exceeds the quality of the products they offer. The phone is better than the alternatives and its operating system is fine as a UNIX derivative. I’ll withhold further comment on what I think about its hardware and other services, though. &lt;a href=&quot;#fnref:microsoft&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ewww&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Some other options will install a default folder to your home directory and sync from that. Ewwwww. At least Koofr doesn’t do that. &lt;a href=&quot;#fnref:ewww&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Mon, 19 May 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/05/cloud-storage-european-style/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/05/cloud-storage-european-style/</guid>
        
        
        <category>Linux</category>
        
        <category>Computing</category>
        
      </item>
    
      <item>
        <title>Stephen A. Smith and International Relations Scholarship</title>
        <description>&lt;dl class=&quot;wp-caption alignright&quot; style=&quot;max-width: 275px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/stephen-a-smith-machiavelli.png&quot; alt=&quot;I used to be proficient at Photoshop in a past life. It&apos;s just easier for ChatGPT to do this for me instead (because it did).&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;I used to be proficient at Photoshop in a past life. It&apos;s just easier for ChatGPT to do this for me instead (because it did).&lt;/dd&gt;
&lt;/dl&gt;

&lt;!-- *Last updated: 02 October 2025.*  --&gt;

&lt;p&gt;&lt;em&gt;Are you explaining it or are you just talking about it?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is a question I routinely raise on student papers in my department in a curriculum that is wedded to the so-called “isms”. It’s pervasive here. Students think firmly inside those boxes. I don’t even want them thinking outside the box. I want them throwing the box away (or recycling it, whatever complies with local environmental regulations).&lt;/p&gt;

&lt;p&gt;If I’m asking you to explain something or make sense of something, I want you to actually do it. If I’m asking you a question, it’s because I want an answer. Answer the question. I don’t want you restating it, because restating the question as an answer is begging it. I don’t want you answering a question with an answer to a related or unrelated question I did not ask. Answer the question that I asked. If I want an explanation, give it. If you’re not explaining something to me, you’re just talking about it. I don’t want you just talking about it; anyone can do that. I want you explaining it.&lt;/p&gt;

&lt;p&gt;My go-to example for students at Stockholm University concerns a guy that maybe one or two people in the room have heard about. Several have been to the United States and a few (always the men) are aware of ESPN sports programming.  No matter, this fellow is named &lt;a href=&quot;https://en.wikipedia.org/wiki/Stephen_A._Smith&quot;&gt;Stephen A. Smith&lt;/a&gt;. He’s a “sports television personality” (we’ll go with that) who has become famous and wealthy for doing bombastic things with no real informational value. Shticks feature prominently into his repertoire, and one of his shticks is hating the Dallas Cowboys.&lt;/p&gt;

&lt;p&gt;Observe, from this video six years ago with respect to the 2018-19 NFL season. Therein, the Dallas Cowboys finished 10-6, beat the Seattle Seahawks in the wild card game, but lost to the eventual Super Bowl runner-up Los Angeles Rams in the next game.&lt;/p&gt;

&lt;div style=&quot;padding-bottom:15px; padding-top:15px&quot;&gt;
&lt;center&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/jrK-gUq6nRg&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;/div&gt;

&lt;p&gt;You may or may not have found that entertaining. You certainly didn’t find it informative of anything you may have cared about.&lt;/p&gt;

&lt;p&gt;I don’t know or care to know why Stephen A. Smith detests the Dallas Cowboys, but let’s dive a bit into this. The 2024 Dallas Cowboys finished 7-10, 3rd in the division, and did not make the playoffs. I’m sure Stephen A. Smith enjoyed talking about this, but anyone can do that if they’re interested. How do we &lt;em&gt;explain&lt;/em&gt; this disappointing season after a 2023 season in which Dallas finished 12-5 and won the division? To do that, you’d have to do more than just talk about it, or restate the season as disappointing. You’d have to understand a bit about the game itself, or at least try a little bit.&lt;/p&gt;

&lt;p&gt;For example, offensive tackle—especially the left “blindside” tackle—is a premium for pass protection in a pass-heavy game. Tyron Smith, an 8x Pro Bowl tackle, left in the off-season for a final payday with the New York Jets and the Cowboys needed to use their first round draft pick on his replacement. Tyler Guyton, &lt;a href=&quot;https://www.bloggingtheboys.com/2025/1/7/24336907/dallas-cowboys-tyler-guyton-rookie-season-questions-left-tackle-penalties-asim-richards&quot;&gt;had a disappointing season&lt;/a&gt; and arguably played out of position as a left tackle. He was a right tackle, for the most part, at Oklahoma. QB pressures, as a count, &lt;a href=&quot;https://www.pro-football-reference.com/years/2024/advanced.htm&quot;&gt;increased almost 33%&lt;/a&gt; &lt;a href=&quot;https://www.pro-football-reference.com/years/2023/advanced.htm&quot;&gt;from 2023&lt;/a&gt;. Perhaps it was a mistake for the Cowboys to feature Ezekiel Elliott as prominently as they did. Elliott was an amazing player for the Cowboys in his first few years, but injuries and wear and tear have caught up with the nine-year pro. The Cowboys switched defensive coordinators from 2023. &lt;a href=&quot;https://markbullock.substack.com/p/what-new-head-coach-dan-quinn-brings?r=fd8sn&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&amp;amp;triedRedirect=true&quot;&gt;Dan Quinn relied on a lot of Cover 3 with man coverage&lt;/a&gt; coordinating the Cowboys defense, but complemented it with some Cover 1 and Cover 2 looks. Mike Zimmer, his replacement, dialed down the Cover 1 and Cover 2 looks and placed &lt;a href=&quot;https://cowboyswire-eu.usatoday.com/story/sports/nfl/cowboys/2024/10/02/cowboys-mike-zimmer-scheme-coverages-impact-changes-quinn-2024/75488083007/&quot;&gt;more emphasis on Cover 3 (which is a base look just about everywhere in the NFL) and Cover 6&lt;/a&gt;. Coach what you know, and there’s always a peculiar song and dance making an outside hire to replace a guy who optimized a system in a particular way. However, this change comes after losing 2023 cornerback Stephon Gilmore to the Vikings and playing most of the season without Daron Bland (the other corner). The switch in philosophy may have adversely affected Markquese Bell, who played further outside the proverbial tackle box than he did under Quinn. Bell had a disappointing 2024 season (just six tackles) before a season-ending injury after nine games.&lt;/p&gt;

&lt;p&gt;I did not watch any of the NFL in 2024, so I can’t say any of these things with much confidence.&lt;sup id=&quot;fnref:cowboycaveats&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cowboycaveats&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; No matter, I feel I can offer them as at least partial explanations for why the Cowboys had a disappointing 2024 season (ignoring what other opponents, like what division rival and eventual Super Bowl champion Philadelphia Eagles, did to improve from 2023). It required effort. It required understanding basic strategies and logics that coaches employ, and knowing about the game itself. It willfully took something complex and distilled it into some simple parts that get at the essential features of the performance of an NFL team. It required contextualizing injury and attrition. It required understanding how sometimes the talent pool is shallow or mismatched for the philosophy of the coaching staff. I tried to do more than answer a question of why the Cowboys season was so disappointing by restating that it was. I tried to explain it, not just talk about it. Anyone can do the latter, and truly anyone can do that wearing a cowboy hat and being a troll about it. However, you are not informed. Perhaps that’s not the point of the &lt;a href=&quot;https://en.wikipedia.org/wiki/ESPN&quot;&gt;&lt;em&gt;Entertainment&lt;/em&gt; and Sports Programming Network (ESPN)&lt;/a&gt;, but it should leave you wanting more than you got.&lt;/p&gt;

&lt;p&gt;I go to this example because there is an entire strand of international relations scholarship that has long-worked on this exact same model. It has never seriously tried to explain (or explain well) the pressing questions of international relations. It’s instead been all too content to just talk about it and offer whatever entertainment that could be derived from this farce as having informational value.&lt;/p&gt;

&lt;p&gt;Take Kenneth Waltz, for example. Waltz had some real bangers, like this one (re: anarchy) on p. 232 of &lt;em&gt;Man, The State, and War&lt;/em&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Applied to international politics this becomes, in words previously used to summarize Rousseau, the proposition that wars occur because there is nothing prevent them. Rousseau’s analysis explains the recurrence of war without explaining any given war. He tells us that war may at any moment occur, and he tells us why this is so.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That something could happen is not an argument why it does or does not happen.&lt;sup id=&quot;fnref:whatcan&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:whatcan&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; I would say this is an exceptionally lazy argument, except I’d have to qualify it as an argument.&lt;sup id=&quot;fnref:infuriating&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:infuriating&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; A la &lt;a href=&quot;https://www.fulcrum.org/concern/monographs/7s75dd44v&quot;&gt;Wagner (2007)&lt;/a&gt; and my training in the Correlates of War tradition, just know that we conceptualize war as “severe” subsets of violent confrontations (i.e. not &lt;a href=&quot;https://en.wikipedia.org/wiki/Cola_wars&quot;&gt;“cola wars”&lt;/a&gt;). We operationalize them by fatalities. &lt;a href=&quot;https://internationalconflict.ua.edu/&quot;&gt;You can learn more about this here&lt;/a&gt; with respect to inter-state conflicts. &lt;a href=&quot;https://archive.org/details/formationofnatio0000char&quot;&gt;War may make the state and the state may make war&lt;/a&gt;, but “war” has never required sovereign states in order to happen.&lt;sup id=&quot;fnref:stilltho&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stilltho&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; Anarchy, a constant feature of the international system as we may describe it, is clearly not a sufficient condition for war. It’s not necessary for war either. Saying this, as he did, with such conviction belies the nonsense that it is.&lt;/p&gt;

&lt;p&gt;Also, take this from &lt;em&gt;Theory of International Politics&lt;/em&gt; as the seminal statement of the balance of power thesis (p. 119):&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Balance-of-power theory claims to explain a result (the recurrent
formation of balances of power), which may or may not accord
with the intentions of any of the units whose actions combine to
produce that result. To contrive and maintain a balance may be
the aim of one or more states, but then again it may not be.
According to the theory, balances of power tend to form whether some or all states consciously aim to establish and maintain a balance, or whether some or all states aim for universal domination.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ignore, for the moment, the omission of agency for states or heads of state in a tradition that goes out of its way to treat humans like they were objects in motion. That’s a disease that is endemic to this tradition, which it states up front as a disability to absolve itself from thinking about anything internal to the state in any detail. But what even is this? What does it mean that something “tends to form”, “which may or may not accord with the intentions of any of the units?” Feel free to read the few pages before it where he assumes a system of independent states and the mechanisms at their disposal to achieve these ends “in more or less sensible ways” (whatever that means). You’re still left with the question of what on earth Waltz is trying to say. What is he trying to say? I’m putting a few words into the mouth of the late &lt;a href=&quot;https://www.cambridge.org/core/books/great-powers-and-the-international-system/7C91F241C5010EF74A71D91E77CB9B69&quot;&gt;Bear Braumoeller (2013, p. 14)&lt;/a&gt;, but it’s supremely rich that Waltz spends the bulk of his first chapter (second section, especially) complaining that competing theories of international politics to his are so imprecise that hypotheses cannot be stated in ways that would make falsification possible. Waltz is just as imprecise as what he’s criticizing.&lt;sup id=&quot;fnref:moreonpolarity&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:moreonpolarity&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;I never met Waltz. He retired before I entered the profession and passed away in 2013. I’ve not encountered many people in my field rolling their eyes at him as if he were a troll like Stephen A. Smith. However, accusing others of making imprecise arguments by making an even louder imprecise argument is something I’d imagine Stephen A. Smith doing if he were on an “Author Meets Critics” panel at ISA. I just can’t be as deferential in the absence of information to John Mearsheimer, though. The mechanism is the same, but louder and more bombabstic. Like Stephen A. Smith, Mearsheimer has a shtick. He has a few of them, actually, and he’s the primary inspiration for the image.&lt;sup id=&quot;fnref:comeonguysreally&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:comeonguysreally&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt; Let’s start with this opening salvo from &lt;a href=&quot;https://www.mearsheimer.com/wp-content/uploads/2019/06/Why-the-Ukraine-Crisis-Is.pdf&quot;&gt;“Why the Ukraine Crisis is the West’s Fault”&lt;/a&gt; (which, Jesus Christ, that article title).&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Putin’s pushback should have come as no surprise. After all, the West had been moving into Russia’s backyard and threatening its core  strategic interests, a point Putin made emphatically and repeatedly. Elites in the United States and Europe have been blindsided by events only because they subscribe to a flawed view of international politics. They tend to believe that the logic of realism holds little relevance in the twenty-first century and that Europe can be kept whole and free on the basis of such liberal principles as the rule of law, economic interdependence, and democracy.&lt;/p&gt;

  &lt;p&gt;But this grand scheme went awry in Ukraine. The crisis there shows
that realpolitik remains relevant—and states that ignore it do so at
their own peril. U.S. and European leaders blundered in attempting
to turn Ukraine into a Western stronghold on Russia’s border. Now
that the consequences have been laid bare, it would be an even greater
mistake to continue this misbegotten policy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;“Only the U.S. and the West do dipshit things in the name of domestic politics and ideology while poor hapless Russia is simply responding to ironclad laws of nature.” This is not a serious statement. This is a shtick, like Stephen A. Smith in a cowboy hat. It’s a recurring gag. It’s the IR analogue to Andrew Dice Clay’s “nursery rhymes” bit. I would say it’s funnier than Clay’s “Mother Goose” but Clay’s most grotesque and woefully cringe material isn’t a pretense for an ethnic cleansing campaign. If this isn’t supposed to entertain, was it supposed to seriously inform? I would think the answer is an obvious no. It’s not supposed to explain the underlying logic of what the U.S. and Europe have done. It sure as hell doesn’t explain what Russia has done or is doing. It’s designed to get the kind of engagement and recognition like the kind the Russian Ministry of Foreign Affairs would provide. &lt;a href=&quot;https://x.com/mfa_russia/status/1498336076229976076&quot;&gt;And they have provided it&lt;/a&gt;. &lt;a href=&quot;https://www.mid.ru/en/foreign_policy/news/1536579/&quot;&gt;On more than one occasion&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Btw, this is pages 2-3 of &lt;em&gt;Tragedy of Great Power Politics&lt;/em&gt;.&lt;sup id=&quot;fnref:huntington&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:huntington&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;There are no status quo powers in the international system, save for
the occasional hegemon that wants to maintain its dominating position
over potential rivals. Great powers are rarely content with the current distribution of power; on the contrary, they face a constant incentive to
change it in their favor. They almost always have revisionist intentions,
and they will use force to alter the balance of power if they think it can be
done at a reasonable price. At times, the costs and risks of trying to shift
the balance of power are too great, forcing great powers to wait for more
favorable circumstances. But the desire for more power does not go away,
unless a state achieves the ultimate goal of hegemony. Since no state is
likely to achieve global hegemony, however, the world is condemned to
perpetual great-power competition.&lt;/p&gt;

  &lt;p&gt;This unrelenting pursuit of power means that great powers are inclined
to look for opportunities to alter the distribution of world power in their
favor. They will seize these opportunities if they have the necessary capa­
bility. Simply put, great powers are primed for offense. But not only does
a great power seek to gain power at the expense of other states, it also
tries to thwart rivals bent on gaining power at its expense. Thus, a great
power will defend the balance of power when looming change favors
another state, and it will try to undermine the balance when the direction
of change is in its own favor.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Mearsheimer is complaining that the United States did what we would expect them to do in the 1990s, under the circumstances. States maximize relative power (p. 163, same book), except when they shouldn’t, for &lt;a href=&quot;https://thespinoff.co.nz/internet/11-04-2022/no-one-in-tech-gets-the-semi-ironic-tilde&quot;&gt;&lt;em&gt;~ reasons ~&lt;/em&gt;&lt;/a&gt;. &lt;a href=&quot;https://tompepinsky.com/2022/03/03/heres-why-mearsheimers-realist-take-is-so-exasperating/&quot;&gt;Tom Pepinsky  notes&lt;/a&gt; how frustrating it is that Mearsheimer is able to effortlessly weave between arguments of what states do and what states &lt;em&gt;should&lt;/em&gt; do, often in the same paragraph, and in ways that contradict each other. Frustrating? Yes. But this is the dude wearing Machiavelli’s robe as a greeting. If we’re asking for an explanation, we’re not getting it. If we’re asking for sincerity, that’s on us.  He’s content to talk about it, though for what I’m sure is a hefty speaker’s fee. If you want some insight into Russia’s invasion of Ukraine, I can point you to &lt;a href=&quot;https://www.theguardian.com/profile/olga-chyzh&quot;&gt;Olga Chyzh’s commentaries on it&lt;/a&gt;. I can point you to &lt;a href=&quot;https://journals.sagepub.com/toc/cmpb/41/5&quot;&gt;the special issue that came out last year in &lt;em&gt;Conflict Management and Peace Science&lt;/em&gt;&lt;/a&gt; that explored the fundamental bargaining problems that incentivized Russia for war and make an off-ramp difficult to find. Olga’s brilliant and publicly accessible and your university library already paid for access to this special issue (along with the rest of the journal/publisher’s catalog). Even if you find yourself behind &lt;em&gt;The Guardian&lt;/em&gt;’s paywall or aren’t at a university with a SAGE or EBSCOhost subscription, you will learn more about the situation at a fraction of the cost. &lt;a href=&quot;mailto:raleigh@chartwellspeakers.com?subject=John Mearsheimer Booking Inquiry&quot;&gt;Please contact Raleigh Addington at Chartwell Speakers if you’d like to pay more to learn less, though&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Again, from &lt;em&gt;Tragedy of Great Power Politics&lt;/em&gt; (pp. 30-32), where Mearsheimer says he’s proposing an explanation of the behavior in the international system.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The first assumption is that the international system is anarchic, which
does not mean that it is chaotic or riven by disorder. It is easy to draw that
conclusion, since realism depicts a world characterized by security competition and war… The second assumption is that great powers inherently possess some
offensive military capability, which gives them the wherewithal to hurt
and possibly destroy each other… The third assumption is that states can never be certain about other
states’ intentions. The fourth assumption is that survival is the primary goal of great powers… The fifth assumption is that great powers are rational actors. They are
aware of their external environment and they think strategically about
how to survive in it.&lt;/p&gt;

  &lt;p&gt;As emphasized, none of these assumptions alone dictates that great
powers as a general rule should behave aggressively toward each other.
There is surely the possibility that some state might have hostile intentions, but the only assumption dealing with a specific motive that is common to
all states says that their principal objective is to survive, which by itself is a
rather harmless goal. Nevertheless, when the five assumptions are married
together, they create powerful incentives for great powers to think and act
offensively with regard to each other. In particular, three general patterns
of behavior result: fear, self-help, and power maximization.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;This is a description of the international system masquerading as an explanation of the international system&lt;/em&gt;.&lt;sup id=&quot;fnref:wendtwagner&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wendtwagner&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt; It doesn’t explain the behavior of states in it, but talks about essential assumptions we make about the absence of a global sovereign in a system where the primary units have instruments for harm. Like Waltz’s (1959) appeal to Rousseau, Mearsheimer writes this to imply he’s said something more than he has. It’s a clever writing device to say something with a demonstrative authority to belie the nonsense it is. Talking heads on cable television—like Stephen A. Smith—do this all the time with their delivery of the spoken (if not written) word. The international system has always been anarchic. All states—let alone great powers—possess the capacity for harm toward others (whether it’s horses or nuclear weapons). We can qualify, perhaps, how much weight we want to put on the certainty assumption, but sure, probability is never 0 or 1 in a real world governed by at least a little noise/chance.&lt;sup id=&quot;fnref:magaexample&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:magaexample&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; States exist to not go the way of the Polish-Lithuanian Commonwealth, which was conspired out of existence in 1795. Got it. Trivial, but got it. States are rational/strategic actors. Sure, Mearsheimer never belabors what he means by that, and likely did not consult &lt;a href=&quot;https://sites.lsa.umich.edu/tsebelis/wp-content/uploads/sites/246/2015/03/abuse_of_probability_1989_apsr.pdf&quot;&gt;Tsebelis (1989) for caveats&lt;/a&gt;,  but we’ll worry about those details later. We’ve identified five constants that (near direct quote) “when married together, create powerful incentives for great powers to think and act offensively with regard to each other.” I’ve no idea what that is supposed to mean (i.e. this is more of a word salad than you appreciate after a first reading), but we’ve identified behavior that varies across time and space as functions of five things we believe do not vary. To borrow &lt;a href=&quot;https://later.com/social-media-glossary/ate/&quot;&gt;lingo popular in the drag community&lt;/a&gt;, Mearsheimer thinks he ate with that passage and left no crumbs. I’d say there were crumbs but the damn thing fell on the ground and we’re almost 25 years past the five-second rule. The flies already got to it.&lt;/p&gt;

&lt;p&gt;“Such a distinguished professor at a prestigious university can’t simply be a troll” asks the curious reader who did not enter graduate school in the afterglow of &lt;a href=&quot;https://en.wikipedia.org/wiki/Perestroika_Movement_(political_science)&quot;&gt;the so-called Perestroika movement in the discipline&lt;/a&gt;. The discipline leveraging greater clarity and technological sophistication became quite the existential threat to the engagement troll that suddenly finds itself with a diminished platform. No, the engagement trolls still feature prominently in the outlets more accessible to the general public (whether periodicals like &lt;em&gt;Foreign Affairs&lt;/em&gt; or cable television networks like CNN). They’re still getting their speaker fees and are getting enough of them to justify paying for an agent as a business expense. They still found ample time to publish &lt;a href=&quot;https://muse.jhu.edu/pub/6/article/446963/summary&quot;&gt;complaints about “rigor” in theoretical argumentation&lt;/a&gt; before &lt;a href=&quot;https://doi.org/10.1177/1354066113494320&quot;&gt;courting the same community to complain about the quantitative folks&lt;/a&gt;. The blue hairs doing this are fine, but their graduate students found it tough-sledding to run back the adviser’s playbook in an academic climate more interested in explanations than conjecture. I’m going to link to &lt;a href=&quot;https://willopines.wordpress.com/2015/07/10/trolling-for-resurrection-the-death-throes-of-a-network-or-the-success-of-science/&quot;&gt;Will Moore’s 2015 blog post on this&lt;/a&gt; and implore you to read it in its entirety if you haven’t. I came for the stuff I already knew and figured out pretty quickly in graduate school about the Mearsheimer/Walt types. I stayed (as you definitely should!) for the details I did not know &lt;a href=&quot;https://willopines.wordpress.com/wp-content/uploads/2015/07/security-war-1993.pdf&quot;&gt;about a hiring spat involving UC San Diego from the early 1990s&lt;/a&gt;. Get a load of this.&lt;/p&gt;

&lt;dl class=&quot;wp-caption aligncenter&quot; style=&quot;max-width: 653px&quot;&gt;

&lt;dt&gt;&lt;a href=&quot;&quot;&gt;&lt;img class=&quot;&quot; src=&quot;/images/moore2015-excerpt.png&quot; alt=&quot;Totally normal stuff. Not at all ridiculous.&quot; /&gt;&lt;/a&gt;&lt;/dt&gt;

&lt;dd&gt;Totally normal stuff. Not at all ridiculous.&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;This is the behavior of someone tacitly acknowledging that what he offers was in less demand and does not want to operate on market conditions. It’s the confession of a professor whose PhD products were becoming uncompetitive in a changing job market that became more interested in signals than noise. It’s tough to read those letters from Mearsheimer and Walt and feel anything but an intense level of second-hand embarrassment for these two in sending it. Departments were increasingly &lt;a href=&quot;https://www.howtogeek.com/702931/what-do-swipe-left-and-swipe-right-mean/&quot;&gt;swiping left&lt;/a&gt; and it bothered these people enough to do this. This was an era before widespread internet use, but this is, spiritually, identical to &lt;a href=&quot;https://digitalsociety.id/2019/05/27/whatever-youre-ugly-anyway-and-the-sobering-reality-of-online-rejection/2767/&quot;&gt;“whatever you’re ugly anyway.”&lt;/a&gt; Rejection fed derision. I don’t know if either sender wore a fedora in front of their typewriter.&lt;/p&gt;

&lt;p&gt;It’s not that these people lost a platform. They still had outlets to, again, &lt;a href=&quot;https://muse.jhu.edu/pub/6/article/446963/summary&quot;&gt;complain about scientific modeling&lt;/a&gt; and their name still carries enough wait to repeat their basic complaints in outlets like &lt;a href=&quot;https://doi.org/10.1177/135406611349432&quot;&gt;&lt;em&gt;European Journal of International Relations&lt;/em&gt;&lt;/a&gt; or &lt;a href=&quot;https://www.cambridge.org/core/journals/perspectives-on-politics/article/abs/how-can-we-make-political-science-less-technocentric-widen-rather-than-narrow-its-distance-from-the-government/61C5381AD9CD4367D17CDDC3A4143B6B&quot;&gt;&lt;em&gt;Perspectives on Politics&lt;/em&gt;&lt;/a&gt;. There are also &lt;em&gt;Foreign Affairs&lt;/em&gt; and &lt;em&gt;Foreign Policy&lt;/em&gt; too, which are a bit more geared for the general public than academic readers. Even if you humor the notion that they were being “deplatformed” (to use that language), it’s more the case that their energies shifted to arguably bigger (and certainly more lucrative) venues that were more content with content for content’s sake. Cable news or various periodicals/newspapers won’t demand answers the same way &lt;em&gt;International Studies Quarterly&lt;/em&gt; or &lt;em&gt;International Organization&lt;/em&gt; would. It’s incidentally a bigger stage too. It’s difficult to be sympathetic at all with these complaints under these circumstances.  If Stephen A. Smith left ESPN, he’d still have a platform somewhere (&lt;a href=&quot;https://www.sportsbusinessjournal.com/Articles/2024/10/11/skip-bayless-media-future/&quot;&gt;Skip Bayless still does!&lt;/a&gt;). However, the troll would still complain, much like a troll like Megyn Kelly complains about being “canceled” by NBC on a new platform on SiriusXM. Perhaps the new platform requires even less effort, but the bottom line isn’t adversely affected. God forbid we be “rigorous” though in saying what we mean, meaning what we say, and bringing evidence to support the claims we want to make.&lt;/p&gt;

&lt;p&gt;Yes, that was a clumsy pivot to another instance that is not as widely known, but it’s troll-like behavior emerged in a symposium that was required reading or me in graduate school. This was, for lack of a better term, the “rigor” debate in &lt;em&gt;International Security&lt;/em&gt; 1999. It was &lt;a href=&quot;https://muse.jhu.edu/pub/6/article/446963/pdf&quot;&gt;introduced by Stephen Walt&lt;/a&gt; and &lt;a href=&quot;https://www.jstor.org/stable/i323327&quot;&gt;the subsequent symposium later that year&lt;/a&gt; is a sight to behold if you know how to read between the lines. To summarize, Walt was complaining that the discipline’s move toward theoretical clarity (i.e. actually being clear in your assumptions and what you’re arguing) was cramping his style. Here is the official complaint, on p. 8:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;My argument is straightforward. The central aim of social science is to develop knowledge that is relevant to understanding important social problems. Among other things, this task requires theories that are precise, logically consistent, original, and empirically valid. Formal techniques facilitate the construction of precise and deductively sound arguments, but recent efforts in security studies have generated comparatively few new hypotheses and have for the most part not been tested in a careful and systematic way. The growing technical complexity of recent formal work has not been matched by a corresponding increase in insight, and as a result, recent formal work has relatively little to say about contemporary security issues.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It’s tough for me to take the “allies balance against threat” guy seriously when he follows that with this tasty lick on p. 13.&lt;sup id=&quot;fnref:walt1985&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:walt1985&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt; Emphasis added.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;These criteria provide a set of hurdles that any social science approach must try to overcome. Although all three are important, the latter two criteria—originality and empirical validity—are especially prized. &lt;strong&gt;A consistent, precise yet trivial argument is of less value than a bold new conjecture that helps us understand some important real-world problem, even if certain ambiguities and tensions remain.&lt;/strong&gt; Similarly, a logically consistent but empirically false theory is of little value, whereas a roughly accurate but somewhat imprecise theory may be extremely useful even though it is still subject to further refinement.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Translation, a la Stephen A. Smith: “I’d rather just talk about how the Cowboys suck than to explain why they do.”&lt;/p&gt;

&lt;p&gt;There’s also this one on the folk theorem (pp. 18-19).&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Another reason why logical consistency is not enough is the well-known
problem of ”multiple equilibria.” Over the past three decades, game theorists
have devised ways to build more realistic models by relaxing certain key
assumptions (such as the belief that the players have full information). Unfortunately, these more complicated games often contain several equilibrium
solutions (i.e., solutions a rational actor would not depart from unilaterally),
which means that logical deduction alone cannot tell you which outcome is
going to occur. This problem is compounded by the so-called folk theorem, which says that in repeated games with incomplete information and an appropriate discount for the future payoffs, there are always multiple Nash equilibria. Although it is sometimes possible to identify which equilibria will be
preferred—Schelling’s famous discussion of ”focal points” was an important
effort in this area—”formal mathematical game theory has said little or nothing
about where these expectations come from.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The lay reader may not have raised the kind of quizzical eyebrow I raised reading this, but here’s a way of contextualizing this from my perspective. I tell students “simple is good; simplistic is bad.” All modeling is an exercise in simplification, taking a complex social “object” (e.g. “war”, “state”, “democracy”) and reducing it to essential components that get at the core of the thing in question. It’s why I make allusions to maps or model airplanes as metaphors for what we do and what we want students to think about doing. We can make things more complex and potentially risk generalizability, but I assure you that placing heretofore unmodeled multiple equilibria selection at the core of a process is not that complex. What Walt wants instead is not simplification, but &lt;em&gt;gross simplification.&lt;/em&gt; I like the “luddite” metaphor that &lt;a href=&quot;https://www.jstor.org/stable/2539251&quot;&gt;Niou and Ordeshook (1999) use in response&lt;/a&gt; to this. Walt yearns for simpler days of yesteryear where we could be comfortable not thinking about hard stuff or details. It’s just as incurious as an appeal to Rousseau.&lt;/p&gt;

&lt;p&gt;I read &lt;a href=&quot;https://www.jstor.org/stable/i323327&quot;&gt;the full symposium&lt;/a&gt; in response to this when I was in graduate school and would encourage you to do as well if you have not already. &lt;a href=&quot;https://www.jstor.org/stable/2539249&quot;&gt;Bueno de Mesquita and Morrow (1999)&lt;/a&gt; largely take Walt (1999) to task for misreading what he cites and for being alarmingly uninterested in 1) the implications of these contributions and 2) making consistent arguments. &lt;a href=&quot;https://www.jstor.org/stable/2539250&quot;&gt;Martin (1999)&lt;/a&gt; repeats much of the same, adds the observation that people like Walt (1999) aren’t being “canceled” (in modern lingo), while also digging into how eager Walt (1999) seems to say “we already knew that” in response to efforts to clarify or move beyond what counted as classic security studies 40 years before the article. &lt;a href=&quot;https://www.jstor.org/stable/2539253&quot;&gt;Zagare (1999)&lt;/a&gt; notes the whole of Walt (1999) is an unstructured mess where nothing follows whatever point Walt wants to communicate.&lt;sup id=&quot;fnref:familiar&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:familiar&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt; &lt;a href=&quot;https://www.jstor.org/stable/2539252&quot;&gt;Powell (1999)&lt;/a&gt;, who always did &lt;a href=&quot;https://svmiller.com/blog/2024/10/absolute-gains-relative-gains-ir-theory/&quot;&gt;great/challenging work for the -ism field&lt;/a&gt;, clarifies how valuable the formal modeling stuff is and offers the pithy complaint that Walt got 44 pages for his screed while every other author in the symposium got ten.&lt;/p&gt;

&lt;p&gt;But I want to conclude with &lt;a href=&quot;https://www.jstor.org/stable/2539251&quot;&gt;Niou and Ordeshook (1999)&lt;/a&gt;, as I think their “luddite” metaphor is more a four-letter word than seven-letter word when you spell it out. Consider how they close their retort in this (truncated) passage spanning pages 94-96.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The study of politics is, as we argue elsewhere, a field more akin to engineering than to science. Of necessity, our discipline must deal with phenomena that are both too complex for simple, closed-form analysis and too complex for the imprecision of other approaches. This, perhaps, is the attractiveness of imprecision and journalistic discourse-it gives the impression of understanding without revealing the inherent inadequacies of our ideas.&lt;/p&gt;

  &lt;p&gt;[…]&lt;/p&gt;

  &lt;p&gt;Finally, we are puzzled most of all by Walt’s assertion that “formal rational choice theorists have been largely absent from the major international security debates of the past decade (such as the nature of the post-Cold War world; the character, causes, and strength of the democratic peace; the potential contribution of security institutions; the causes of ethnic conflict; the future role of nuclear weapons; or the impact of ideas and culture on strategy and conflict)” (p. 46). Even if we were to agree with this statement, we would add that the contributions of Walt’s “other approaches” to this list of security issues escape us as well. But the list is revealing, for it is the product of someone concerned not with science and empirical regularity as those terms need to be understood for the development of cumulative knowledge, but instead with the commentary and informal discussion we find in newspapers and popular journals that has too long appeared under the label “political science.” Such discussion and commentary may be entertaining and even sometimes enlightening, but it remains mere journalism until it can be given the solid scientific grounding that formal theorists pursue.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The references to “newspapers” and “journalism” is thinly veiled if you know how to read between the lines. You know that Stephen A. Smith would still call himself a “journalist” too. There might be a bit of a hubris in the political scientist that dismisses the endeavors of journalism as 100% description and 0% explanation. That may not be 100% warranted, but it feels like it’s &lt;a href=&quot;https://link.motherjones.com/public/36678690&quot;&gt;at least 99% warranted in the American context&lt;/a&gt; when even “description” is a charitable euphemism for what transpires. The Trump-covering &lt;del&gt;stenographer&lt;/del&gt;“journalist”, the flamboyant ESPN personality, and Stephen Walt aren’t explaining anything. Not a damned thing. It’s even more frustrating when we care deeply about the thing in question. But they are certainly talking about it. Any yahoo with a keyboard or some other type of creative outlet can do that, though.&lt;/p&gt;

&lt;p&gt;I know I’m writing this mostly for me, but it’s a point I want to impress upon students (even if my illustration is very niche). The questions we’re asking about the world around us are far more important than the Dallas Cowboys, which makes the demand for explanation infinitely greater and more important than the demand for conjecture. I want explanations. Be wary of those who only offer the ability to talk about it. I’m not saying explanations are easy, but I am saying they are at a greater premium than whatever a booking agent would quote you for a speaker fee. Try to answer the question; don’t beg it.&lt;/p&gt;
&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:cowboycaveats&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Notice I said nothing about the merits of Mike McCarthy as play-caller. Cowboy fans seemed to love &lt;a href=&quot;https://www.reddit.com/r/cowboys/comments/1fsiaz3/why_does_mike_mccarthy_refuse_to_change_his_play/&quot;&gt;complaining about Mike McCarthy as a play-caller&lt;/a&gt; and how uninspiring his route tree was for his wide receiver corp. In the case above, my eyes typically gravitate toward the caliber of the offensive (and defensive) line. It’s not lost on me that the Cowboys were at their most recent best when their offensive line consisted of all-pros like Travis Frederick, Zack Martin, and Tyron Smith. I’m deliberately downplaying “play-calling” (which is often a generic complaint when specific things aren’t working) and perhaps the caliber of the wide receivers because my perspective places considerable emphasis on play in the trenches. I’ll also confess that the finer points of route trees and coverage shells are beyond my comprehension. Urban Meyer once said &lt;a href=&quot;https://www.news-herald.com/2012/08/30/ohio-state-football-preview-d-line-brings-strength-quickness/&quot;&gt;“If you want to have a bad team, have a bad defensive line.”&lt;/a&gt; I love the sentiment from an offense-oriented coach, but I politely disagree. I think it’s the offensive line. That’s at least my perspective, but I’ll defer to Meyer because he knows more than me. Notice, though, I’m being upfront about my perspective and am acknowledging its limitations. &lt;a href=&quot;https://svmiller.com/blog/2021/09/rationalist-explanations-war/#perspective&quot;&gt;That translates to international relations scholarship&lt;/a&gt;. See also &lt;a href=&quot;https://svmiller.com/blog/2024/05/assorted-tips-for-student-theses/#pickatheory&quot;&gt;the fourth bullet point here&lt;/a&gt;. &lt;a href=&quot;#fnref:cowboycaveats&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:whatcan&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;There is very real Stephen A. Smith energy in that passage. In the second clip in the video above, Smith summarizes some plight of the Dallas Cowboys by saying “What can go wrong, will go wrong. It’s just who the Cowboys are.” Again, maybe it’s entertaining, but it sure as shit isn’t informative and doesn’t explain anything. &lt;a href=&quot;#fnref:whatcan&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:infuriating&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;For those of us who have worked on territorial conflict, the realist dismissal of knowing any particular war and why it happened (i.e. “without explaining any given war”) is particularly infuriating. Every war might as well be World War 1. “Geopolitics” (a term I’ve always found weird) kind of &lt;a href=&quot;https://www.sciencedirect.com/topics/social-sciences/territorial-conflict&quot;&gt;nudged us to think about this stuff&lt;/a&gt; and it predates Kenneth Waltz getting his dissertation at Columbia. &lt;a href=&quot;https://en.wikipedia.org/wiki/Lewis_Fry_Richardson&quot;&gt;Lewis Fry Richardson&lt;/a&gt; had already been working on this topic as we might know it now. I think &lt;em&gt;Statistics of Deadly Quarrels&lt;/em&gt; was published posthumously, but &lt;a href=&quot;https://www.jstor.org/stable/2981156&quot;&gt;he had stuff in print precededing Waltz’s statement&lt;/a&gt;. The Correlates of War project would be about 15 years away from producing the data and more general statements that might provide better context to what Richardson was doing. Perhaps finding it intellectually incurious is strong language on my part, but it’s hard not to feel that way as a graduate student after reading &lt;a href=&quot;https://doi.org/10.1177/0022343392029003008&quot;&gt;Diehl (1992)&lt;/a&gt;. Gate-keeper effects are strong in this profession and are often unstated. Keep this footnote in mind for when I reference &lt;a href=&quot;https://willopines.wordpress.com/2015/07/10/trolling-for-resurrection-the-death-throes-of-a-network-or-the-success-of-science/&quot;&gt;the 2015 Will Moore post&lt;/a&gt;. &lt;a href=&quot;#fnref:infuriating&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:stilltho&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;However, it is still imperative to understand that what we know about a war will importantly hinge on whether all, some, or none of the participants are states. &lt;a href=&quot;https://academic.oup.com/isq/article/66/2/sqac011/6569150&quot;&gt;Don’t pool types of war together&lt;/a&gt;. &lt;a href=&quot;https://internationalconflict.ua.edu/wp-content/uploads/2023/06/mars-online-reply.pdf&quot;&gt;Please don’t&lt;/a&gt;. &lt;a href=&quot;#fnref:stilltho&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:moreonpolarity&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;This passage is inspired/derived from an email to a student on this exact topic. It’s interesting that Waltz criticizes the ambiguity of “polarity” and its multiple definitions in this book when he’s comparably evasive about what he means by it. This is a long-running complaint of mine that  we don’t appreciate &lt;a href=&quot;https://www.cambridge.org/core/journals/international-organization/article/abs/what-was-bipolarity/DA9DF542DE678DCAB2EEAAAD02708530&quot;&gt;Wagner (1993)&lt;/a&gt; enough. We have no firm definition of what was “bipolarity” and why it should have mattered at all for the behavior of states living in it. We variously define it as a system of just two states (which is wrong and has never existed), a system of two hostile blocs (which begs the question about the behavior we want to explain), and a system where two states basically guaranteed their own survival from other states (which does not imply a hypothesis of the rivalry that they had and why they cared about each other at all). This will matter a great deal for hypotheses about what “tends to form” irregarding what “may or may not accord with the intentions” of states (again, whatever that means). If we don’t know what it was, why should we believe any behavior followed from it? I don’t think Bruce Bueno de Mesquita published &lt;a href=&quot;https://ciaotest.cc.columbia.edu/isa/deb02/&quot;&gt;this 1999 ISA conference paper&lt;/a&gt; in anything other than his textbooks, but notice that bipolarity (whatever that was) led to peace through certainty. So the story goes. That works if and only if power were &lt;em&gt;equal&lt;/em&gt; in a system of two units. Not “balanced”. &lt;em&gt;Equal&lt;/em&gt;. The moment we relax that and note it was balanced “enough” is the moment we betray a hypothesis about what “tends to form.” Suddenly, imbalances “tend to form” and now it may have led to the “long peace” through &lt;em&gt;uncertainty&lt;/em&gt;. I can’t falsify this fucking hypothesis. Isn’t that a problem, according to Waltz (1979, chp. 1)? It would be if you wanted to explain something. It wouldn’t be if you were content to just talk about it. &lt;a href=&quot;#fnref:moreonpolarity&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:comeonguysreally&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;If my academic website had a 1990s splash page followed by a Photoshop job of me cosplaying Niccolo Machiavelli, you would not take me seriously. You would deride me for this obviously clownish behavior. Why is he any different? Why does he get a pass for this conceit? Lots of people say they’ve read &lt;em&gt;The Prince&lt;/em&gt;, but has anyone who has said that asked themselves &lt;a href=&quot;https://engelsbergideas.com/essays/why-machiavelli-wrote-the-prince/&quot;&gt;why Machiavelli wrote it&lt;/a&gt; and what he might have been trying to accomplish? Are you asking me to believe in the sincerity of the messenger under these circumstances? Do you? Come on, guys… &lt;a href=&quot;#fnref:comeonguysreally&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:huntington&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;I will never pass up an opportunity to note that &lt;em&gt;Tragedy of Great Power Politics&lt;/em&gt; was given &lt;a href=&quot;https://www.amazon.com/Tragedy-Great-Power-Politics/dp/0393978397&quot;&gt;a front-cover endorsement by Samuel Huntington&lt;/a&gt;, who at the time was in between making &lt;a href=&quot;https://en.wikipedia.org/wiki/Clash_of_Civilizations&quot;&gt;an evidently ridiculous argument with a dog whistle&lt;/a&gt; and &lt;a href=&quot;https://en.wikipedia.org/wiki/Who_Are_We%3F_The_Challenges_to_America&apos;s_National_Identity&quot;&gt;an even more ridiculous argument with a foghorn&lt;/a&gt;. “Game recognize game” is a roundabout way of putting it… &lt;a href=&quot;#fnref:huntington&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:wendtwagner&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;I attribute this sentence to an undergraduate class I took with Alexander Wendt at The Ohio State University, which I think was the first undergraduate class he taught after moving there. What follows in this paragraph is mostly inspired by Wagner (2007). You should all read Wagner (2007). &lt;a href=&quot;#fnref:wendtwagner&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:magaexample&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;You can conjure the hypothetical MAGA red hat on the way to the voting booth in November being &lt;a href=&quot;https://en.wikipedia.org/wiki/A_Christmas_Carol&quot;&gt;visited by Christmas ghosts&lt;/a&gt;, or &lt;a href=&quot;https://en.wikipedia.org/wiki/Conversion_of_Paul_the_Apostle&quot;&gt;blinded by the Almighty&lt;/a&gt;, to change their intended vote. The probability of such a late reckoning emerging as an accumulation of the inherent contradictions that underpin this devotion the leader is asymptote to 0. But it’s not 0. &lt;a href=&quot;#fnref:magaexample&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:walt1985&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://doi.org/10.2307/2538540&quot;&gt;Walt (1985)&lt;/a&gt; is 40 pages of a closed circle. “Threat” = “perceived intentions.” I perceived an “intention”, and now it’s a threat, and it’s totally a system-level variable and not a domestic factor. Got it. &lt;a href=&quot;https://www.jstor.org/stable/2706698&quot;&gt;“Power -&amp;gt; threat”, but don’t call it “balance of power”. Call it “balance of threat”&lt;/a&gt;. Also got it. I will leave aside the important point that alliances are more than just something like the &lt;a href=&quot;https://en.wikipedia.org/wiki/Franco-Russian_Alliance&quot;&gt;“all the homies hate Germany” Franco-Russian alliance&lt;/a&gt;. Alliances are vehicles to coordinate mutual foreign policy. Russia, for example, routinely uses them as &lt;a href=&quot;https://posc3610.svmiller.com/alliance-1/posc3610-lecture-alliance-1.pdf&quot;&gt;a form of bilateral relationship management&lt;/a&gt; and not threat-balancing, per se. Alliances might also be a means to settle pressing foreign policy questions that allies themselves have. These can be the familiar entente (like the one &lt;a href=&quot;https://en.wikipedia.org/wiki/Entente_Cordiale&quot;&gt;the Brits and French signed after the Fashoda crisis&lt;/a&gt;). They could also be &lt;a href=&quot;https://doi.org/10.1177/073889429601500104&quot;&gt;the document to outright transfer territory or settle a dispute over it&lt;/a&gt;. Alliances are a classically “realist” topic, but the realist treatment of alliances is quite simplistic. &lt;a href=&quot;#fnref:walt1985&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:familiar&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;A realist offering an argument with a conclusion that does not logically follow the premises. Hey, that only happens all the time… &lt;a href=&quot;#fnref:familiar&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Fri, 18 Apr 2025 00:00:00 +0000</pubDate>
        <link>http://svmiller.com/blog/2025/04/stephen-a-smith-ir-scholarship/</link>
        <guid isPermaLink="true">http://svmiller.com/blog/2025/04/stephen-a-smith-ir-scholarship/</guid>
        
        
        <category>Teaching</category>
        
        <category>Political Science</category>
        
      </item>
    
  </channel>
</rss>
