Kamal Romero's Avatar

Kamal Romero

@kamromero.bsky.social

Strictly increasing, strictly concave, and satisfy Inada conditions. #Macroeconomics #dataBS #Rstats #JuliaLang #Python #F1

776 Followers  |  1,268 Following  |  117 Posts  |  Joined: 11.09.2024  |  1.8339

Latest posts by kamromero.bsky.social on Bluesky

Alternatively

04.09.2025 22:51 โ€” ๐Ÿ‘ 126    ๐Ÿ” 26    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 4
Preview
Anthropic uses a questionable dark pattern to obtain user consent for AI data use in Claude Anthropicโ€™s new data policy raises legal concerns with its use of questionable dark patterns.

Anthropic uses questionable dark patterns to obtain usersโ€™ consent to the use of AI data in Claude: the-decoder.com/anthropic-us...
#Claude #DataProtection

06.09.2025 13:39 โ€” ๐Ÿ‘ 2    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

โ€œel comercio internacional no es una guerra de paรญses, sino un mercado gigantesco donde las empresas y los consumidores hacen lo mismo de siempre: vender, comprar y organizarse lo mejor que pueden. Es una liga en la que todos pueden ganar algo.โ€

05.09.2025 07:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Inmigraciรณn y crimen: lo que dice la evidencia Entre otros temas, este verano ha estado marcado por la agitaciรณn del fantasma de la inmigraciรณn por parte de los partidos de ultraderecha. Primero alentando los progromos en Torre Pacheco, despuรฉs ve...

Desgraciadamente, importantes partidos y medios de comunicaciรณn continรบan dando eco y espacio a la idea de que la inmigraciรณn trae crimen. ยฟPero quรฉ dice la evidencia? A esto respondo en mi nueva entrada en @nadaesgratis.bsky.social
nadaesgratis.es/santiago-san...

04.09.2025 08:38 โ€” ๐Ÿ‘ 15    ๐Ÿ” 11    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 3
IDEAS/RePEc link to RePEc:eee:moneco:v:10:y:1982:i:2:p:139-162

Trends and random walks in macroeconmic time series : Some evidence and implications
by Nelson, Charles R. & Plosser, Charles I. (1982)

29.07.2025 02:43 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Charles Plosser, RIP - Marginal REVOLUTION Alas, and still an underrated economist.

Charles Plosser, RIP - Marginal REVOLUTION

19.08.2025 23:27 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Charlie Plosser served as a faculty member and Dean of the Business School at the University of Rochester. He served as editor of the Journal of Monetary Economics (with Bob King), and later the President of the Philadelphia Fed. A serious and sensible economist. RIP.

20.08.2025 18:31 โ€” ๐Ÿ‘ 4    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Charles I. Plosser passed away on August 14, 2025. Here is an obituary www.hoover.org/profiles/cha...

Among his many influential academic contributions, one might mention "Real Business Cycles" (1983, together with John B. Long).

people.bu.edu/rking/EC702/...

20.08.2025 21:00 โ€” ๐Ÿ‘ 4    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
ggdiagram: Object-Oriented Diagram Plots with 'ggplot2' Creates diagrams with an object-oriented approach. Geometric objects have computed properties with information about themselves (e.g., their area) or about their relationships with other objects (e.g, the distance between their edges). The objects have methods to convert them to geoms that can be plotted in 'ggplot2'.

New on CRAN: ggdiagram (0.1.0). View at https://CRAN.R-project.org/package=ggdiagram

19.08.2025 17:03 โ€” ๐Ÿ‘ 6    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

๐Ÿ“ "Mastering Debugging in R"

๐Ÿ‘ค Cosima Meyer (@cosima.bsky.social)

๐Ÿ“– Master R debugging! Learn `debug()`, `browser()`, `undebug()`, and visualize code flow with `{flow}`.

๐Ÿ”— https://cosimameyer.com/post/mastering-debugging-in-r/

#rladies #rstats #oldiebutgoodie

08.07.2025 07:24 โ€” ๐Ÿ‘ 6    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

โ—๏ธOur next workshop will be on August 28th, 6 pm CEST, on Efficient R by @selina-b.bsky.social
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky #RStats

17.08.2025 13:03 โ€” ๐Ÿ‘ 19    ๐Ÿ” 11    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 3
Post image

After I set up a Python environment to run LLMs locally with Docker Model Runner, I wondered if you could use the same workflow with R. The short answer is, "Hell Yeah!"

It took me 5 minutes to run LLMs with R using the ellmer library. Working on a step-by-step tutorial...

#RStats #LLM #Docker

17.08.2025 13:32 โ€” ๐Ÿ‘ 32    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
library(tidyverse)

# Review the data (df). Missing data is denoted by โ€œMRโ€.

df

# A tibble: 6 x 6
     id form  var1  var2  var3  var4 
  <dbl> <chr> <chr> <chr> <chr> <chr>
1    10 "a"   3     4     3     3    
2    11 "b"   3     MR    2     4    
3    12 "b"   1     3     1     MR   
4    13 ""    MR    MR    MR    MR   
5    14 ""    MR    MR    MR    MR   
6    15 ""    1     2     3     MR   

# (01) Only keep rows where respondent has missing responses for AT LEAST ONE variable (var1:var4). 

df %>%
  filter(if_any(var1:var4, ~ . == "MR"))

# A tibble: 5 x 6
     id form  var1  var2  var3  var4 
  <dbl> <chr> <chr> <chr> <chr> <chr>
1    11 "b"   3     MR    2     4    
2    12 "b"   1     3     1     MR   
3    13 ""    MR    MR    MR    MR   
4    14 ""    MR    MR    MR    MR   
5    15 ""    1     2     3     MR   

# (02) Only keep rows where respondent has missing responses for ALL variables (var1:var4). 

df %>%
  filter(if_all(var1:var4, ~ . == "MR"))

# A tibble: 2 x 6
     id form  var1  var2  var3  var4 
  <dbl> <chr> <chr> <chr> <chr> <chr>
1    13 ""    MR    MR    MR    MR   
2    14 ""    MR    MR    MR    MR   

# (03) Remove rows where respondent has missing responses for ALL variables (var1:var4). 

df %>%
  filter(!if_all(var1:var4, ~ . == "MR"))

# A tibble: 4 x 6
     id form  var1  var2  var3  var4 
  <dbl> <chr> <chr> <chr> <chr> <chr>
1    10 "a"   3     4     3     3    
2    11 "b"   3     MR    2     4    
3    12 "b"   1     3     1     MR   
4    15 ""    1     2     3     MR

library(tidyverse) # Review the data (df). Missing data is denoted by โ€œMRโ€. df # A tibble: 6 x 6 id form var1 var2 var3 var4 <dbl> <chr> <chr> <chr> <chr> <chr> 1 10 "a" 3 4 3 3 2 11 "b" 3 MR 2 4 3 12 "b" 1 3 1 MR 4 13 "" MR MR MR MR 5 14 "" MR MR MR MR 6 15 "" 1 2 3 MR # (01) Only keep rows where respondent has missing responses for AT LEAST ONE variable (var1:var4). df %>% filter(if_any(var1:var4, ~ . == "MR")) # A tibble: 5 x 6 id form var1 var2 var3 var4 <dbl> <chr> <chr> <chr> <chr> <chr> 1 11 "b" 3 MR 2 4 2 12 "b" 1 3 1 MR 3 13 "" MR MR MR MR 4 14 "" MR MR MR MR 5 15 "" 1 2 3 MR # (02) Only keep rows where respondent has missing responses for ALL variables (var1:var4). df %>% filter(if_all(var1:var4, ~ . == "MR")) # A tibble: 2 x 6 id form var1 var2 var3 var4 <dbl> <chr> <chr> <chr> <chr> <chr> 1 13 "" MR MR MR MR 2 14 "" MR MR MR MR # (03) Remove rows where respondent has missing responses for ALL variables (var1:var4). df %>% filter(!if_all(var1:var4, ~ . == "MR")) # A tibble: 4 x 6 id form var1 var2 var3 var4 <dbl> <chr> <chr> <chr> <chr> <chr> 1 10 "a" 3 4 3 3 2 11 "b" 3 MR 2 4 3 12 "b" 1 3 1 MR 4 15 "" 1 2 3 MR

I often need to filter data in #rstats based on many variables. The dplyr::if_any() and dplyr::if_all() functions are really handy for this.

More examples here: cghlewis.github.io/data-wrangli...

16.08.2025 14:58 โ€” ๐Ÿ‘ 80    ๐Ÿ” 10    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 3
Post image

Just an honest labor statistician collecting the data, crunching the numbers, and reporting them fairly, and definitely not an extremist ideologue with an axe to grind, unshackled from respect for the law or political norms.

14.08.2025 01:56 โ€” ๐Ÿ‘ 2092    ๐Ÿ” 633    ๐Ÿ’ฌ 60    ๐Ÿ“Œ 49

ยฟAlguien por acรก que estรฉ trabajando o quiere empezar a trabajar con esta librerรญa? Ya he empezado, pero definitivamente voy a pasar todos mis anรกlisis de encuestas de Stata a R {survey}

14.08.2025 10:53 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

En mi experiencia (negativa) a este respecto, estas inercias dependen en parte de coordinadores de asignaturas que por un lado no desean aprender otras herramientas, y por el otro, les viene bien que la universidad les pague su herramientad de trabajo. Esto es solo anecdรณtico, habrรก muchas mรกs cosas

14.08.2025 10:48 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

I had a great time presenting a #useR2025 workshop with @statsteph.bsky.social and Rebecca Powell on "Complex Survey Data Analysis"!

If you'd like to check out the materials, we cover survey design, descriptive analysis, statistical testing, & more: tidy-survey-r.github.io/user-2025-su...

#RStats

13.08.2025 14:09 โ€” ๐Ÿ‘ 47    ๐Ÿ” 10    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 3

"The fourth problem is that some of those people are investors in financial assets such as inflation-protected securities (TIPS) that are directly linked to the BLSโ€™s estimates of inflation, as well as other assets that depend on the credibility of official US statistics."

14.08.2025 10:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

"But while Trumpโ€™s fans may applaud McEntarferโ€™s fate as a suitable punishment for faking the numbers, his opponents will view it as opening the door to future fakery. This is the third piece of bad news: there are many people who used to trust the BLSโ€™s numbers, but no longer will"

14.08.2025 10:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

"First, like much of what Trump does, it serves as a distraction. Second, Trumpโ€™s behaviour signals to his supporters that US statistics are not the outcome of an impartial and professional process โ€” they are invented for political reasons and only a fool would take them seriously."

14.08.2025 10:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

"Trumpโ€™s decision โ€” shameless even by his standards โ€” is bad news for at least four reasons. " (continue)

14.08.2025 10:43 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

1/ ๐Ÿ’ก We just published a new working paper on SSRN exploring how AI is reshaping the architecture of innovation ecosystems.

๐Ÿ”— dx.doi.org/10.2139/ssrn...

๐Ÿงต 1/8

13.08.2025 13:11 โ€” ๐Ÿ‘ 7    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

There are some R packages that just feel like magic. I first encountered the datapasta package by Miles McBain when I was working with an EMG system that didnโ€™t export the data in a user-friendly format.

13.08.2025 13:23 โ€” ๐Ÿ‘ 8    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It's pretty clear that people are only gay if the marginal benefit is less than the marginal cost of dating men.

13.08.2025 10:27 โ€” ๐Ÿ‘ 73    ๐Ÿ” 5    ๐Ÿ’ฌ 5    ๐Ÿ“Œ 1
Preview
Understanding the US net foreign asset position Andrew Atkeson discusses changes in how much the United States is indebted to the rest of the world.

After the Great Recession, the US started accumulating significant liabilities to foreigners. We spoke with Andrew Atkeson of UCLA about how to interpret this trend and what it means for American households. #econsky www.aeaweb.org/research/net...

13.08.2025 13:24 โ€” ๐Ÿ‘ 9    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If you like how Argentina has produced economic statistics, you'll love this guy.

11.08.2025 23:20 โ€” ๐Ÿ‘ 789    ๐Ÿ” 148    ๐Ÿ’ฌ 14    ๐Ÿ“Œ 8

Trump's nominee for BLS commissioner, EJ Antoni, is disastrously terrible. He's a 1200%, 1300% maybe 1400% in-the-tank Trumper, with few credentials beyond a history of misrepresenting or misunderstanding economic statistics. He has shown no commitment to truth
www.washingtonpost.com/business/202...

11.08.2025 23:18 โ€” ๐Ÿ‘ 1558    ๐Ÿ” 552    ๐Ÿ’ฌ 82    ๐Ÿ“Œ 73
Preview
Trump Nominates EJ Antoni to BLS Commissioner | Econbrowser From CNBC:

Menzie Chinn provides a useful roundup of some of the recent misrepresentations and basic misunderstandings of government statistics from Trump's nominee to be our next BLS Commissioner. The clear theme is a commitment to winning a partisan news cycle over the truth: econbrowser.com/archives/202...

12.08.2025 15:24 โ€” ๐Ÿ‘ 293    ๐Ÿ” 111    ๐Ÿ’ฌ 22    ๐Ÿ“Œ 5
OSF

๐Ÿšจ

I have a new paper with a fantastic team (thanks to @jgeller1phd.bsky.social!) with a nice mix of theoretical & applied perspectives on beta regression modeling (i.e., proportions). It's fully reproducible with #rstats code.

Great resource for teaching & self-learning!

osf.io/preprints/ps...

13.08.2025 12:35 โ€” ๐Ÿ‘ 43    ๐Ÿ” 14    ๐Ÿ’ฌ 8    ๐Ÿ“Œ 0

@kamromero is following 20 prominent accounts