Jimbo Brand's Avatar

Jimbo Brand

@jamesbrandecon.bsky.social

Economist at Microsoft, PhD from UT Austin. Views are my own

763 Followers  |  235 Following  |  39 Posts  |  Joined: 21.09.2023
Posts Following

Posts by Jimbo Brand (@jamesbrandecon.bsky.social)

dbreg

Things are grim. But in more frivolous news...

@jamesbrandecon.bsky.social and I have been chipping away at `dbreg`, a 📦 for running big regression models on database backends. For the right kinds of problems, the speed-ups are near magical.

Website: grantmcdermott.com/dbreg/

#rstats

[1/2]

26.01.2026 16:57 — 👍 68    🔁 15    💬 4    📌 1

yeah your collaborator on dbreg is definitely a little too willing to vibe-code to get things finished quickly.... Been interesting to see when it bites. But my thinking is that the only way I can figure out how to manage the LLM well enough is to stretch the limits, break things, then fix/iterate

07.01.2026 22:56 — 👍 1    🔁 0    💬 0    📌 0
(Essentially) free verification of facts and skills

New blog post, on the impact of cheap verification on data science hiring, work, and compensation: jamesbrandecon.github.io/blog/posts_h...

02.01.2026 19:17 — 👍 1    🔁 0    💬 0    📌 0

You say MCMC but I've thought about this before and didn't immediately see the gains. GPU speeds up some bayesian stuff (variational inf) but MCMC is basically happening in serial so what's the benefit? Just that each draw requires matmul which is now gpu-fast?

05.12.2025 05:14 — 👍 2    🔁 0    💬 1    📌 0

+1 and because the (implicit) exclusion restriction isn't as front and center. Easier for most, I think, to wave hands and say generally "I hope unobservables aren't too bad" than to say "boy unobservables are really bad here but I found one special variable that fixes it"

15.11.2025 22:07 — 👍 1    🔁 0    💬 1    📌 0
2025-07-14_LLMs-for-Imputation

Wrote a second blog post! This time it's about using LLMs as part of an ensemble imputation method, relying on their "knowledge" of the world to provide additional prediction signal. Seems to work well, especially for bigger models!

jamesbrandecon.github.io/blog/posts_h...

15.07.2025 13:49 — 👍 2    🔁 0    💬 0    📌 0
Post image

P.S. I also tried to make plotting easier. Here, for example, are estimates from a model with two product characteristics and correlated preferences. More to come, including docs to make it easier to dig through the "problem" objects to extract results.

01.05.2025 22:25 — 👍 1    🔁 0    💬 0    📌 0

As with FRACDemand (which is now registered!), the coolest thing here is that it's fast. less than a minute to define the problem, estimate it, and calculate price elasticities for 500 markets with 20 products each

01.05.2025 22:25 — 👍 1    🔁 0    💬 1    📌 0
Preview
GitHub - jamesbrandecon/FKRBDemand.jl Contribute to jamesbrandecon/FKRBDemand.jl development by creating an account on GitHub.

Have a day off so I made some small updates to FKRBDemand.jl (new name!). Hopefully it's now easier to use the Fox-Kim-Ryan-Bajari method to estimate a random coefficient model with market-level data (2-step approach described here: www.jamesbrandecon.com/blog/0jxkvfr...)

github.com/jamesbrandec...

01.05.2025 22:25 — 👍 8    🔁 2    💬 1    📌 0

Congratulations, Jeff!

08.03.2025 02:44 — 👍 2    🔁 0    💬 1    📌 0

Nice, thanks for explaining! Agreed, it seems useful to help see how I'm using memory while building something (which I still wish I understood better)

20.01.2025 00:50 — 👍 1    🔁 0    💬 1    📌 0

Is the goal just that GC can catch when to run? Or is there another performance benefit I don't understand? Seems like a lot of additional code so I'm assuming there's more value

19.01.2025 19:30 — 👍 1    🔁 0    💬 1    📌 0

This point you've been on has stuck with me as an industry guy. How do firms succeed while being terrible at stats reasoning? Because some big ideas are robust to that bad logic and (like VCs?) you get a lot of shots and only need a few to pay off. That changes how to think of data work for the firm

18.01.2025 15:52 — 👍 2    🔁 0    💬 1    📌 0
Post image Post image

Finally, we put this all in a Julia package! Trying to take seriously that these complex methods cost a lot of time and effort to implement, we tried to make it as easy as possible to use our methods for estimation, inference, and some basic counterfactuals 6/6

17.01.2025 15:46 — 👍 1    🔁 0    💬 0    📌 0
Post image

Third, we apply our method to real demand from 12 categories of products at a large retail food chain. Our estimates agree with our simulations — constraints matter, and imposing them generates more reasonable elasticities and counterfactuals (below) 5/

17.01.2025 15:46 — 👍 0    🔁 0    💬 1    📌 0
Post image

Second, we show in simulations that our method improves upon the previous state of the art for this model, both because we can fully enforce constraints and because doing so gives us more accurate estimates of price elasticities. 4/

17.01.2025 15:46 — 👍 0    🔁 0    💬 1    📌 0
Post image

This two-step approach not only helps us impose new constraints -- it also guarantees that our constraints are satisfied *everywhere*, which we show is often not true of the best previous approach 3/

17.01.2025 15:46 — 👍 0    🔁 0    💬 1    📌 0

First, we develop a new quasi-Bayes approach to solve this (hard!) problem. We show that imposing constraints on nonparametric demand curves is better suited to MCMC sampling approaches than frequentist optimization, and develop a two-step process for sampling in our setting 2/

17.01.2025 15:46 — 👍 1    🔁 0    💬 1    📌 0
Post image

New paper with @adam-n-smith.bsky.social
papers.ssrn.com/sol3/papers....

Our paper develops a new approach for estimating demand nonparametrically while imposing economic constraints and comes with a new package, NPDemand.jl! Some things we do in the paper 1/

17.01.2025 15:46 — 👍 37    🔁 10    💬 3    📌 1

The paper looks really nice, but Prop 2 (no ME) feels stronger than is useful in practice... do we hold ourselves to that standard for any other measurement tool? Or am I being unfair/missing something

11.12.2024 17:43 — 👍 1    🔁 0    💬 0    📌 0

Ditto, my brain hurts enough switching between the languages themselves. Adding UI as another thing to switch is a pain

08.12.2024 18:55 — 👍 0    🔁 0    💬 0    📌 0

Wow, as an increasingly frequent R user I wish I'd known this was possible months ago -- thanks for figuring this out in public

08.12.2024 17:57 — 👍 5    🔁 0    💬 1    📌 0

Been (finally) reading through it in detail recently -- great paper!

27.11.2024 15:28 — 👍 1    🔁 0    💬 0    📌 0

Agreed (and I get this argument from ML people a lot), but funny enough we'll never know the counterfactual there either! I could walk around in the dark and get where I'm going but it'd still be nice to have the lights on

26.11.2024 04:43 — 👍 1    🔁 0    💬 0    📌 0

My experience is that the former often dominates, and is the default even in settings where academics would lean toward the latter (when estimating the value in the world is statistically hard) but folks are surprisingly open to understanding the issues with "ML everything" when demonstrated

26.11.2024 04:36 — 👍 0    🔁 0    💬 1    📌 0

There's definitely some of "just do whatever works" in my experience but there are also a ton of people (often PhDs) trying to do things as right as possible under constraints, including experimentation and causal inference

26.11.2024 04:30 — 👍 2    🔁 0    💬 1    📌 0

Agreed, I wondered how reallocating regular up to premium is being counted. New planes with 50% premium seems high! Curious to see how premium margins decline (seems like they have to?) as lower WTP customers are forced into it just by prevalence

23.11.2024 23:33 — 👍 0    🔁 0    💬 1    📌 0

Awesome find. Silly question -- what does "incremental" here really mean? Net new seats mostly come from new planes/routes (I assume) and I don't see how 85% can be premium. Any idea?

23.11.2024 20:01 — 👍 1    🔁 0    💬 1    📌 0
Search Jobs | Microsoft Careers

My group at Microsoft is hiring again! This time looking for junior candidates specifically wanting to study advertising. Academic friends (econ or business school especially), please let me know if you have PhD students we should look at!

Listing here: jobs.careers.microsoft.com/global/en/jo...

12.11.2024 02:47 — 👍 3    🔁 1    💬 0    📌 0

Oh yeah? Well where else can you get a "taco" with a hot dog in it?

23.10.2024 01:48 — 👍 0    🔁 0    💬 1    📌 0