Manasvini Singh's Avatar

Manasvini Singh

@vinisingh.bsky.social

Asst Prof @CarnegieMellon • Health and Behavioral economist • Enjoy limericks, fantasy, and mezcal • also go by Vini https://www.manasvinisingh.com/ (opinions mine)

3,142 Followers  |  493 Following  |  232 Posts  |  Joined: 16.07.2023  |  1.6532

Latest posts by vinisingh.bsky.social on Bluesky

Food $500
Rent $1500
Utilities $300
Gas $150
Bribes and fascism stuff $20 trillion

Someone who is good at the economy please help me budget this, my society is dying

28.10.2025 20:30 — 👍 172    🔁 9    💬 1    📌 0

My vote in the 2028 D primary for POTUS will hinge almost entirely on the % of this Administration they promise to imprison

15.10.2025 00:43 — 👍 3115    🔁 530    💬 70    📌 32

🤯🤯🤯 Now this is what I'm talking about!

14.10.2025 00:33 — 👍 5    🔁 0    💬 0    📌 0

nooooooo it was one coding session, it didn't mean anything

13.10.2025 23:44 — 👍 4    🔁 0    💬 1    📌 0

yes absolutely ... the dangers of errant merges are dire 😭 and it feels even more dangerous when i'm just learning R and there is no simple way to inspect my merges. at least tidylog may provide a good first step!

13.10.2025 23:28 — 👍 2    🔁 0    💬 0    📌 0

omg perfect!!! thank you! tidylog seems to be exactly what I was looking for (I wanted dplyr's many-to-many error but for other kids of errors as well, e.g., if i tried doing m:1 but there were multiple records in the second data)

13.10.2025 23:23 — 👍 5    🔁 0    💬 2    📌 0

yep, basically wondering whether i have to write this every time i use join()

merge_flag = case_when(
!is.na(x) & !is.na(y) ~ "matched",
!is.na(x) & is.na(y) ~ "X_only",
is.na(x) & !is.na(y) ~ "Y_only",
TRUE ~ "error"
)

13.10.2025 23:12 — 👍 1    🔁 0    💬 2    📌 0

yup yup i just meant to say that diagnostics are trickier. I've tried to write my own function, but at least at this stage of learning it's not pretty easy for me :) if i use my own (clunky) function, it seems I lose the rich functionality of R's native join? Maybe soon though! 🤞

13.10.2025 23:08 — 👍 1    🔁 0    💬 0    📌 0
An R package for joining tables It is a joy to join tables in R with `joyn`

This is the only package I found aimed at that issue. But the "relationship = ..." doesn't show warnings when it should

randrescastaneda.github.io/joyn/

13.10.2025 22:36 — 👍 2    🔁 0    💬 1    📌 0

I finally made the switch to R from stata, and as a fierce long-time defender of stata, I can concede that R is leagues better in almost every way.

Still, I do wish there was an easier way to diagnose merges w/o complicated code. GPT hasn't helped, and joyn doesn't seem to do it right. Any advice?

13.10.2025 22:02 — 👍 31    🔁 2    💬 6    📌 1

dammit i did not see the first comment

10.10.2025 17:16 — 👍 0    🔁 0    💬 0    📌 0
10.10.2025 17:10 — 👍 1    🔁 0    💬 1    📌 0

Crying (complimentary)

24.09.2025 17:07 — 👍 8    🔁 1    💬 1    📌 0

JDM folk: please submit :)

22.09.2025 14:29 — 👍 5    🔁 1    💬 0    📌 0
Video thumbnail

A woman protesting outside the ICE facility in Broadview, Illinois, was brutally assaulted by goons who used mace and sting balls on her.

20.09.2025 00:45 — 👍 6807    🔁 4357    💬 1746    📌 1207

so many dead canaries and we just keep on mining

17.09.2025 23:10 — 👍 30400    🔁 7166    💬 276    📌 167
Introduction to Working with Data: R Version

New The Effect materials today: introductions to basic coding and data manipulation in R, Stata, and Python. Get the wheels turning on using these languages with data with these intro pages and exercises:
nickchk.com/Coding%20and...
nickchk.com/Coding%20and...
nickchk.com/Coding%20and...

05.09.2025 20:29 — 👍 46    🔁 16    💬 1    📌 2

For those still complaining -- in this day and age! -- about tables/figures at the end of the paper because it's a "hassle to scroll up and down", here's a tip.

If you click on a link on a page (e.g. to a fig/table), you can return instantly to that page by:

Preview: ⌘ + [
Adobe: ⌘ + left arrow

31.08.2025 19:55 — 👍 4    🔁 2    💬 0    📌 0

Haha no, I wish I was that smart

05.08.2025 21:35 — 👍 0    🔁 0    💬 0    📌 0

*leans in to make sure #17 is really what it says*

05.08.2025 17:10 — 👍 2    🔁 0    💬 2    📌 0

‘My position on OpenAI has hardened in recent months, as they have themselves recognized that their only path to profitability is to follow the models of…Meta (Facebook) & Alphabet (Google) by creating dependency and/or addiction for an entire generation’.

Always read @mattseybold.bsky.social

22.07.2025 20:27 — 👍 37    🔁 14    💬 1    📌 1

lol he might need to update his examples! bsky.app/profile/thet...

23.07.2025 10:35 — 👍 1    🔁 0    💬 0    📌 0

2020: Thank god for healthcare workers, we would be dead without you

2025: Thank god for lawyers, we would be dead without you

30.06.2025 22:11 — 👍 1    🔁 0    💬 0    📌 0
Preview
GitHub - asacarny/drug-ndc-rxnorm: Code to create a list of NDCs (National Drug Codes) for opioids, benzodiazepines, and other related drugs using RxNorm Code to create a list of NDCs (National Drug Codes) for opioids, benzodiazepines, and other related drugs using RxNorm - asacarny/drug-ndc-rxnorm

Trying to identify opioids and other drugs in pharmacy data (claims, PDMP, etc.)? Use my code to quickly build a list of national drug codes (NDCs) using the free public database RxNorm.

I wrote this code to replace the CDC's now-discontinued opioid NDC dataset.

github.com/asacarny/dru...

30.06.2025 13:17 — 👍 40    🔁 18    💬 3    📌 2

What ... is this ... peculiar stirring ... within mine breast .... could it be -- aye -- hope?!

25.06.2025 16:34 — 👍 8    🔁 2    💬 0    📌 0
Preview
U.S. college is first to decline federal science grants because of new DEI language Williams College says NSF and NIH requirement related to discrimination “undermines” academic freedom

Another one joins the list (though i can still count them on one hand) ... show us the way, Williams!

www.science.org/content/arti...

08.06.2025 09:48 — 👍 1    🔁 0    💬 0    📌 0

The Republican Party has fully embraced fascism and destroyed American democracy. But some Democrats still say Latinx. I have never felt more politically homeless.

07.06.2025 01:09 — 👍 3860    🔁 467    💬 39    📌 10
Preview
Media coverage of Kilmar Abrego Garcia hurt Trump, not Democrats Public opinion on immigration has shifted — and pundits need to catch up

New piece! Media coverage of Kilmar Abrego Garcia hurt Trump, not Democrats. An actually data-driven analysis of some stale conventional wisdom.

Alt title: Matt Yglesias is wrong about Democrats and Abrego Garcia🧵

05.06.2025 12:05 — 👍 2075    🔁 595    💬 45    📌 76

the brown representation in current US politics has been killing me day in and day out ... but this!!!!! omg my heart. PLZ NEW YORK ... plz. PLZ!!!!!!!

04.06.2025 21:57 — 👍 5    🔁 0    💬 0    📌 0

Today I gave a talk in Rome and choked up reflecting on the rare, incredible bonds that unite the global academic community. No matter where we're from, we speak the same language & believe in the same things (progress, truth, science). What an honor to belong here, even in these tumultuous times.

28.05.2025 15:40 — 👍 38    🔁 2    💬 0    📌 0

@vinisingh is following 20 prominent accounts