{"id":390784,"date":"2025-02-23T22:31:50","date_gmt":"2025-02-24T04:31:50","guid":{"rendered":"https:\/\/policyanalysislab.com\/?p=13649"},"modified":"2025-02-23T22:31:50","modified_gmt":"2025-02-24T04:31:50","slug":"political-ideology-and-doge-layoffs","status":"publish","type":"post","link":"https:\/\/www.r-bloggers.com\/2025\/02\/political-ideology-and-doge-layoffs\/","title":{"rendered":"Political ideology and DOGE layoffs"},"content":{"rendered":"<!-- \r\n<div style=\"min-height: 30px;\">\r\n[social4i size=\"small\" align=\"align-left\"]\r\n<\/div>\r\n-->\r\n\r\n<div style=\"border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;\">\r\n[This article was first published on  <strong><a href=\"https:\/\/policyanalysislab.com\/r\/political-ideology-and-doge-layoffs\/\"> R \u2013 Policy Analysis Lab<\/a><\/strong>, and kindly contributed to <a href=\"https:\/\/www.r-bloggers.com\/\" rel=\"nofollow\">R-bloggers<\/a>].  (You can report issue about the content on this page <a href=\"https:\/\/www.r-bloggers.com\/contact-us\/\">here<\/a>)\r\n<hr>Want to share your content on R-bloggers?<a href=\"https:\/\/www.r-bloggers.com\/add-your-blog\/\" rel=\"nofollow\"> click here<\/a> if you have a blog, or <a href=\"http:\/\/r-posts.com\/\" rel=\"nofollow\"> here<\/a> if you don't.\r\n<\/div>\n\n<p><strong>Summary: <\/strong>This post reproduces Dr. Adam Bonica\u2019s analysis into the relationship between the ideological alignment of government agencies and the targeting of layoffs by the Department of Government Efficiency (DOGE). <\/p>\n\n\n\n<p><strong>Credit:<\/strong> Dr Adam Bonica is a Professor of Political Science at Stanford University (<a href=\"https:\/\/web.stanford.edu\/~bonica\/\" rel=\"nofollow\" target=\"_blank\">link<\/a>). He can be found on Bluesky at <a href=\"https:\/\/bsky.app\/profile\/adambonica.bsky.social\" rel=\"nofollow\" target=\"_blank\">@adambonica.bsky.social\u202c<\/a>. His original analysis was posted on Bluesky on the 20 February 2025 and can be found <a href=\"https:\/\/bsky.app\/profile\/adambonica.bsky.social\/post\/3lil7yl2jvk26\" rel=\"nofollow\" target=\"_blank\">here<\/a>. <\/p>\n\n\n\n<p><strong>Note<\/strong>: This post reproduces research relevant to public policy analysis. It presents findings without endorsing or critiquing the implications of the original research. Errors and\/or omissions are the responsibility of the author.<\/p>\n\n\n\n<p><strong>Packages: <\/strong>ddplyr, ggplot2, readr and stargazer<\/p>\n\n\n\n<p><strong>Data:<\/strong> <a href=\"http:\/\/policyanalysislab.com\/shared\/insights\/2025\/250224_DOGE\/Data\/250222%20-%20Agency%20Ideology%20and%20DOGE%20Firings.csv\" rel=\"nofollow\" target=\"_blank\">Data used in this post<\/a> was drawn from the <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1l80SG27cxUOAHknYvmp-LV6Ag5phGlBVJbqG2U066AI\/edit?usp=sharing\" rel=\"nofollow\" target=\"_blank\">Google Sheet<\/a> shared by Dr Bonica on the 22nd of February 2025. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Background<\/h3>\n\n\n\n<p><em>The <a href=\"https:\/\/doge.gov\/\" rel=\"nofollow\" target=\"_blank\">Department of Government Efficiency (DOGE) <\/a>is a temporary contracted organization<\/em> <em>with the<a href=\"https:\/\/en.wikipedia.org\/wiki\/Department_of_Government_Efficiency\" rel=\"nofollow\" target=\"_blank\"> apparent purpose <\/a>to carry out Trump\u2019s agenda of federal spending cuts and deregulation and to \u201cmodernize federal technology and software to maximize governmental efficiency and productivity\u201d. Key initiatives include departmental spending audits, reducing diversity and inclusion programs (claiming $1 billion in savings), cutting foreign aid through USAID, offering federal workforce buyouts, and attempting to restructure the Consumer Financial Protection Bureau. <\/em><\/p>\n\n\n\n<p><em>While DOGE has reported achieving savings, the actual fiscal impact of its work remains unverified.<\/em> <em>Critics, like former CBO director Douglas Holtz-Eakin, have also suggested the department\u2019s focus is ideologically driven, targeting agencies based on political disagreement rather than efficiency metrics <em>(<a href=\"https:\/\/www.bbc.com\/news\/articles\/c23vkd57471o\" rel=\"nofollow\" target=\"_blank\">source<\/a>)<\/em>. A contention that appeared to have some support, based on <a href=\"https:\/\/bsky.app\/profile\/adambonica.bsky.social\/post\/3lil7yl2jvk26\" rel=\"nofollow\" target=\"_blank\">analysis shared by Dr Adam Bonica on Bluesky<\/a> of the association between DOGE layoffs and an agencies perceived ideological leaning (below)<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot-1024x614.jpg?w=450&#038;ssl=1\" alt=\"\" class=\"wp-image-13665\" srcset_temp=\"https:\/\/i0.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot-1024x614.jpg?w=450&#038;ssl=1 1024w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot-300x180.jpg 300w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot-768x461.jpg 768w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot-1536x922.jpg 1536w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot-1320x792.jpg 1320w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/plot.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" data-recalc-dims=\"1\" \/><figcaption class=\"wp-element-caption\"><strong>Source: <\/strong><a href=\"https:\/\/bsky.app\/profile\/adambonica.bsky.social\/post\/3lil7yl2jvk26\" rel=\"nofollow\" target=\"_blank\">@adambonica.bsky.social<\/a>, Bluesky.<\/figcaption><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Project setup <\/h3>\n\n\n\n<p>The code below loads the packages needed to reproduce the analysis and creates a number of simple functions to help us clean the agency names. <\/p>\n\n\n\n<p><em><strong>Note: <\/strong>The prefixes used for object names are based on <a href=\"https:\/\/www.gilesd-j.com\/2023\/01\/28\/spaghetti-code-dieting-tips\/#object_style\" rel=\"nofollow\" target=\"_blank\">this style guide<\/a>. <\/em><\/p>\n\n\n\n<p><strong>Code: project setup<\/strong><\/p>\n\n\n\n<pre>#Project Setup: Install and load necessary packages etc ----\nlibrary(dplyr)\nlibrary(ggplot2)\nlibrary(readr)\nlibrary(stargazer)\n\n#Create functions for cleaning labels ----\n#Extract text between brackets\n#(assumed to be parent agency of department)\nfnc_extract_brackets &lt;- function(text) {\n  matches &lt;- regexpr(&quot;\\\\(([^)]+)\\\\)&quot;, text)\n  has_brackets &lt;- matches != -1\n  result &lt;- ifelse(has_brackets,\n                   substring(text, matches + 1, matches + attr(matches, &quot;match.length&quot;) - 2),\n                   NA_character_)\n  return(result)\n}\n\n#Remove bracketed text \nfnc_remove_brackets &lt;- function(text) {\n  trimws(gsub(&quot;\\\\([^)]+\\\\)&quot;, &quot;&quot;, text))\n}\n\n#acronym function\nfnc_create_acronym&lt;- function(texts, ignore_words = c(&quot;of&quot;, &quot;the&quot;, &quot;and&quot;, &quot;in&quot;, &quot;on&quot;, &quot;at&quot;, &quot;to&quot;, &quot;for&quot;)) {\n  sapply(texts, function(text) {\n    words &lt;- strsplit(trimws(text), &quot;\\\\s+&quot;)[[1]]\n    words &lt;- words[!tolower(words) %in% tolower(ignore_words)]\n    abbrev &lt;- toupper(substr(words, 1, 1))\n    paste(abbrev, collapse=&quot;&quot;)\n  })\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Taking a look at the data<\/h3>\n\n\n\n<p>Taking a look at the data, the variable \u2018agency\u2019 appears to provide the name of the government body, with the parent agency listed in brackets. For instance, the entry \u2018Department of the Army (DOD)\u2019 indicates the agency is the \u2018<a href=\"https:\/\/en.wikipedia.org\/wiki\/United_States_Department_of_the_Army\" rel=\"nofollow\" target=\"_blank\">Department of the Army<\/a>\u2018 and the parent agency is DOD (the Department of Defence). The budget and staff numbers of each agency are then listed under the \u2018annual_budget_usd\u2019 and \u2018total_staff\u2019 respectively. <\/p>\n\n\n\n<p>Whether an agency has been targeted for layoffs or dismantling by DOGE is listed under the doge_layoffs and targeted_for_dismantling variables. <\/p>\n\n\n\n<p>The variable perceived_ideological_estimate is sourced from <a href=\"https:\/\/cdn.vanderbilt.edu\/vu-my\/wp-content\/uploads\/sites\/349\/2019\/04\/14093717\/RCL_JOP2017.pdf\" rel=\"nofollow\" target=\"_blank\">research that investigated the <em>perceived <\/em>ideology of government agencies<\/a>. Ranging from -2 to +2, agencies perceived as \u2018liberal\u2019 tend to have scores below 0, while those perceived as more conservative have scores above 0. Although the distribution is close to normal, there are slightly more agencies in the data set with scores above zero (54%) than below zero (46%).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-1024x745.png?w=450&#038;ssl=1\" alt=\"\" class=\"wp-image-13671\" style=\"width:562px;height:auto\" srcset_temp=\"https:\/\/i1.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-1024x745.png?w=450&#038;ssl=1 1024w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-300x218.png 300w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-768x558.png 768w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image.png 1184w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Data cleaning<\/h3>\n\n\n\n<p>To make the data easier to work with, the code below makes a number of minor tweaks to the source data. Firstly, the variable names are converted to lowercase for the sake of consistency. Both the doge_layoffs and targeted_for_dismantling variables are also converted from numeric to logical to reflect them being binary. To make it easier to visualize the agency-level data the name of a government body is also abbreviated using the acronym function defined in the code above.<\/p>\n\n\n\n<p><strong>Code: data cleaning<\/strong><\/p>\n\n\n\n<pre>#Import data ----\ndta_doge&lt;-read_csv(&quot;.\/Data\/250222 - Agency Ideology and DOGE Firings.csv&quot;)\n\n#Data Wrangling and Cleaning ---- \n#change variable names to lower case\nnames(dta_doge)&lt;-names(dta_doge) |&gt; tolower()\n\n#take a look at the data\nstr(dta_doge)\nsummary(dta_doge)\n\n#distribution of ideology scores\nprop.table(table(dta_doge$perceived_ideology_estimate&gt;0)) |&gt; round(2)\nhist(dta_doge$perceived_ideology_estimate)\n\n#change dummy variables to logical\ndta_doge&lt;-dta_doge |&gt; \n  mutate(doge_layoffs= as.logical(doge_layoffs),\n         targeted_for_dismantling= as.logical(targeted_for_dismantling))\n\n#Clean agency name labels\ndta_doge&lt;-dta_doge |&gt; \n  mutate(parent_agency= fnc_extract_brackets(agency),\n         agency_name =  fnc_remove_brackets(agency),\n         agency_initials=fnc_create_acronym(agency_name) )<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Political ideology vs DOGE layoffs <\/h3>\n\n\n\n<p>For the sake of brevity, we won\u2019t precisely reproduce Adam\u2019s plot, but focuses on the most important features. Note that the agency size presented on the Y axis uses a logarithmic scale and only organizations with staff sizes between 500 and 1,000,000 employees are presented.<\/p>\n\n\n\n<p>If DOGE layoffs were unrelated to the ideology of an agency, we might expect as many layoffs on the right side of the dotted line to the left. However, this doesn\u2019t appear to be the case. Instead, agencies with more \u2018liberal\u2019 ideological scores appear to have been disproportionately targeted for layoffs compared to those with more \u2018conservative\u2019 ideological scores.  <\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i2.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-1.png?w=450&#038;ssl=1\" alt=\"\" class=\"wp-image-13672\" srcset_temp=\"https:\/\/i2.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-1.png?w=450&#038;ssl=1 899w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-1-300x251.png 300w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-1-768x643.png 768w\" sizes=\"(max-width: 899px) 100vw, 899px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n<p><strong>Visualizing layoffs vs. ideological leaning<\/strong>:<\/p>\n\n\n\n<pre>#Explanatory Analysis ---- \n#Reproduce analysis completed by @adambonica.bsky.social's\n\n# Reproduction of @adambonica.bsky.social's plot\n#create filtered dataset for plot \ndta_plt_doge&lt;-dta_doge |&gt; \n  filter(total_staff&gt;500,\n         total_staff&lt;10^6)\n\n#create scatter plot with vertical line at zero perceived ideology  \nplt_doge&lt;-ggplot(data=dta_plt_doge,\n       aes(x = perceived_ideology_estimate, y = total_staff)) +\n  # Add grid lines\n  geom_hline(yintercept = c(1000, 10000, 100000, 1000000), \n             color = &quot;gray90&quot;, linetype = &quot;dashed&quot;) +\n  geom_vline(xintercept = 0, color = &quot;gray60&quot;, linetype = &quot;dashed&quot;) +\n  # Add agency acronyms colored according to DOGE layoff variable\n  geom_text(aes(label = agency_initials,\n                color = doge_layoffs), \n            size=3)+ \n  # Scale transformations\n  scale_y_log10(breaks = c(1000, 10000, 100000, 1000000),\n                labels = scales::comma) +\n  scale_x_continuous(breaks = seq(-2, 2, 1)) +\n  theme_minimal()+\n  theme(\n      plot.title = element_text(face = &quot;bold&quot;, size = 16),\n      plot.subtitle = element_text(size = 14),\n      plot.caption = element_text(size = 10, hjust = 0))+\n  # Custom colors\n  scale_color_manual(values = c(&quot;gray60&quot;, &quot;red&quot;),\n                     name = &quot;Layoff Status&quot;,\n                     labels = c(&quot;No Layoffs&quot;, &quot;Layoffs&quot;)) +\n\n  # Labels\n  labs(title = &quot;Empirical Evidence of Ideological Targeting in Federal Layoffs&quot;,\n       subtitle = &quot;Agencies seen as liberal are significantly more likely to face DOGE layoffs.&quot;,\n       x = &quot;Perceived Ideological Leaning\\n(\u2190 More Liberal | More Conservative \u2192)&quot;,\n       y = &quot;Agency Size (Number of Staff)&quot;,\n       caption = &quot;Note: Analysis includes only agencies with 500+ staff members. Ideology estimates are based on survey responses from 1,500+ federal executives rating agencies\npolicy views as liberal to conservative across both Democratic and Republican administrations.\nSource: Richardson, Clinton, &#038; Lewis (2018). Elite Perceptions of Agency Ideology and Workforce Skill. The Journal of Politics 80(1).&quot;) \n\nplt_doge<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Does ideology predict DOGE layoffs?<\/h3>\n\n\n\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 33%\"><div class=\"wp-block-media-text__content\">\n<p>To investigate this relationship further, Dr Bonica uses a OLS linear probability model to examine the extent which DOGE\u2019s layoff decisions can be predicted by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How liberal or conservative an agency is perceived to be;  <\/li>\n\n\n\n<li>How many people work at the agency; and\/or<\/li>\n\n\n\n<li>How big the agency\u2019s budget is.<\/li>\n<\/ul>\n\n\n\n<p>If a factor has something to say about predicting agency layoffs by DOGE it will likely be \u2018statistically significant\u2019 in the model results. With a positive coefficient suggesting a factor increases the probability of layoffs, and a negative coefficient suggesting it decreases the probability of layoffs (<a href=\"https:\/\/www.econometrics-with-r.org\/11.1-binary-dependent-variables-and-the-linear-probability-model.html\" rel=\"nofollow\" target=\"_blank\">see here if you\u2019re rusty on regression<\/a>).<\/p>\n\n\n\n<p>As noted by Dr Bonica, the results paint a similar picture to the plot: agencies perceived to be more liberal are more likely to have experienced layoffs. The more conservative an agency is, the less likely it has experienced layoffs. Even after accounting for the agency\u2019s size and annual budget.<\/p>\n\n\n\n<p><\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-2.png?w=450&#038;ssl=1\" alt=\"\" class=\"wp-image-13680 size-full\" srcset_temp=\"https:\/\/i1.wp.com\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-2.png?w=450&#038;ssl=1 577w, https:\/\/policyanalysislab.com\/wp-content\/uploads\/2025\/02\/image-2-194x300.png 194w\" sizes=\"(max-width: 577px) 100vw, 577px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>Although the data has been updates since Adam made his first estimate, the code below produces an almost identical result to Adam. With Agency Ideology once again having the strongest predictive power across variables included in the model:<\/p>\n\n\n\n<table style=\"text-align:center\"><tr><td colspan=\"2\" style=\"border-bottom: 1px solid black\"><\/td><\/tr><tr><td style=\"text-align:left\"><\/td><td><em>Dependent variable:<\/em><\/td><\/tr>\n<tr><td><\/td><td colspan=\"1\" style=\"border-bottom: 1px solid black\"><\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td>DOGE Layoffs<\/td><\/tr>\n<tr><td colspan=\"2\" style=\"border-bottom: 1px solid black\"><\/td><\/tr><tr><td style=\"text-align:left\">Agency Ideology<\/td><td>-0.210<sup>***<\/sup><\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td>(0.039)<\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td><\/td><\/tr>\n<tr><td style=\"text-align:left\">Log(Total Staff)<\/td><td>0.020<\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td>(0.029)<\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td><\/td><\/tr>\n<tr><td style=\"text-align:left\">Log(Annual Budget)<\/td><td>0.056<sup>**<\/sup><\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td>(0.024)<\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td><\/td><\/tr>\n<tr><td style=\"text-align:left\">Constant<\/td><td>-1.140<sup>***<\/sup><\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td>(0.416)<\/td><\/tr>\n<tr><td style=\"text-align:left\"><\/td><td><\/td><\/tr>\n<tr><td colspan=\"2\" style=\"border-bottom: 1px solid black\"><\/td><\/tr><tr><td style=\"text-align:left\">Observations<\/td><td>118<\/td><\/tr>\n<tr><td style=\"text-align:left\">R<sup>2<\/sup><\/td><td>0.266<\/td><\/tr>\n<tr><td style=\"text-align:left\">Adjusted R<sup>2<\/sup><\/td><td>0.247<\/td><\/tr>\n<tr><td style=\"text-align:left\">Residual Std. Error<\/td><td>0.395 (df = 114)<\/td><\/tr>\n<tr><td style=\"text-align:left\">F Statistic<\/td><td>13.778<sup>***<\/sup> (df = 3; 114)<\/td><\/tr>\n<tr><td colspan=\"2\" style=\"border-bottom: 1px solid black\"><\/td><\/tr><tr><td style=\"text-align:left\"><em>Note:<\/em><\/td><td style=\"text-align:right\"><sup>*<\/sup>p<0.1; <sup>**<\/sup>p<0.05; <sup>***<\/sup>p<0.01<\/td><\/tr>\n<\/table>\n\n\n\n<p><strong>Code: linear probability model<\/strong><\/p>\n\n\n\n<pre>#reproduce Adam's linear probability model \nmod_lm_doge&lt;-lm(data=dta_doge, doge_layoffs ~ perceived_ideology_estimate + log(total_staff) + log(annual_budget_usd))\n\n#display results \nsummary(mod_lm_doge)\n\nstargazer(mod_lm_doge,\n          dep.var.labels ='DOGE Layoffs',\n          covariate.labels = c('Agency Ideology','Log(Total Staff)','Log(Annual Budget)','Constant'),\n          type=&quot;html&quot;, \n          digits=3,\n          out=&quot;mod_lm_doge results.html&quot;)<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Concluding remarks: <\/strong><\/h3>\n\n\n\n<p>This post reproduces Dr. Bonica\u2019s findings suggesting a significant relationship between an agency\u2019s perceived ideology and its likelihood of facing DOGE-mandated workforce reductions. <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1l80SG27cxUOAHknYvmp-LV6Ag5phGlBVJbqG2U066AI\/edit?usp=sharing\" rel=\"nofollow\" target=\"_blank\">The latest dataset is available here<\/a> for those interested in conducting additional analyses. <\/p>\n\n\n\n<p>Although there\u2019s more that can be done with the data, the main point of this post was to demonstrate how to reproduce the analysis using R. For ongoing developments in this research, including potential methodological refinements and new findings, make sure to follow <a href=\"https:\/\/bsky.app\/profile\/adambonica.bsky.social\/post\/3lil7yl2jvk26\" rel=\"nofollow\" target=\"_blank\">the original thread<\/a> and Dr Bonica himself <a href=\"https:\/\/bsky.app\/profile\/adambonica.bsky.social\" rel=\"nofollow\" target=\"_blank\">@adambonica.bsky.social<\/a>.<\/p>\n\n\n\n<p><strong>A note how AI<\/strong> <strong>was used:<\/strong> AI was used to draft code for the data cleaning functions and plots. AI tools were also used to improve how some ideas and concepts were communicated, but the lion\u2019s share of grammatical and spelling errors are my own. <\/p>\n\n\n\n<p><\/p>\n\n<div style=\"border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;\">\r\n<div style=\"text-align: center;\">To <strong>leave a comment<\/strong> for the author, please follow the link and comment on their blog: <strong><a href=\"https:\/\/policyanalysislab.com\/r\/political-ideology-and-doge-layoffs\/\"> R \u2013 Policy Analysis Lab<\/a><\/strong>.<\/div>\r\n<hr \/>\r\n<a href=\"https:\/\/www.r-bloggers.com\/\" rel=\"nofollow\">R-bloggers.com<\/a> offers <strong><a href=\"https:\/\/feedburner.google.com\/fb\/a\/mailverify?uri=RBloggers\" rel=\"nofollow\">daily e-mail updates<\/a><\/strong> about <a title=\"The R Project for Statistical Computing\" href=\"https:\/\/www.r-project.org\/\" rel=\"nofollow\">R<\/a> news and tutorials about <a title=\"R tutorials\" href=\"https:\/\/www.r-bloggers.com\/how-to-learn-r-2\/\" rel=\"nofollow\">learning R<\/a> and many other topics. <a title=\"Data science jobs\" href=\"https:\/\/www.r-users.com\/\" rel=\"nofollow\">Click here if you're looking to post or find an R\/data-science job<\/a>.\r\n\r\n<hr>Want to share your content on R-bloggers?<a href=\"https:\/\/www.r-bloggers.com\/add-your-blog\/\" rel=\"nofollow\"> click here<\/a> if you have a blog, or <a href=\"http:\/\/r-posts.com\/\" rel=\"nofollow\"> here<\/a> if you don't.\r\n<\/div>","protected":false},"excerpt":{"rendered":"<div style = \"width:60%; display: inline-block; float:left; \"> This post reproduces Dr. Adam Bonica&#8217;s analysis into the relationship between the ideological alignment of government agencies and the targeting of layoffs by the Department of Government Efficiency (DOGE).<\/div>\n<div style = \"width: 40%; display: inline-block; float:right;\"><\/div>\n<div style=\"clear: both;\"><\/div>\n","protected":false},"author":1786,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"aioseo_notices":[],"jetpack-related-posts":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/390784"}],"collection":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/users\/1786"}],"replies":[{"embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/comments?post=390784"}],"version-history":[{"count":4,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/390784\/revisions"}],"predecessor-version":[{"id":399945,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/390784\/revisions\/399945"}],"wp:attachment":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/media?parent=390784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/categories?post=390784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/tags?post=390784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}