Greg Faletto

Greg Faletto

@gregoryfaletto.com

Statistician, Data Scientist.

589 followers846 following1.1K posts

Pinned

Version 1.10 of {fetwfe}, my package for difference-in-differences under staggered adoptions, is now available on CRAN: cran.r-project.org/web/packages... Blog post: gregoryfaletto.com/2026/05/23/n... Brief explainer on the package, and description of the updates, in the thread below.

cran.r-project.orgfetwfe: Fused Extended Two-Way Fixed EffectsCalculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimato...
Greg Faletto@gregoryfaletto.com

Interested in doing some causal inference over the long weekend? Version 1.5.0 of the {fetwfe} package for difference-in-differences under staggered adoptions is now on CRAN! Details on what's new below: cran.r-project.org/web/packages...

Version 1.10 of {fetwfe}, my package for difference-in-differences under staggered adoptions, is now available on CRAN: cran.r-project.org/web/packages... Blog post: gregoryfaletto.com/2026/05/23/n... Brief explainer on the package, and description of the updates, in the thread below.

cran.r-project.orgfetwfe: Fused Extended Two-Way Fixed EffectsCalculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimato...
Greg Faletto@gregoryfaletto.com

Interested in doing some causal inference over the long weekend? Version 1.5.0 of the {fetwfe} package for difference-in-differences under staggered adoptions is now on CRAN! Details on what's new below: cran.r-project.org/web/packages...

View full thread

Version 1.10 of {fetwfe}, my package for difference-in-differences under staggered adoptions, is now available on CRAN: cran.r-project.org/web/packages... Blog post: gregoryfaletto.com/2026/05/23/n... Brief explainer on the package, and description of the updates, in the thread below.

cran.r-project.orgfetwfe: Fused Extended Two-Way Fixed EffectsCalculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimato...
Greg Faletto@gregoryfaletto.com

Interested in doing some causal inference over the long weekend? Version 1.5.0 of the {fetwfe} package for difference-in-differences under staggered adoptions is now on CRAN! Details on what's new below: cran.r-project.org/web/packages...

View full thread

There are also expanded features for statistical inference. P values and confidence intervals are available for all estimated treatment effects, and there's a "selected" binary column indicating whether the cohort ATTs were estimated as exactly 0--which serves as an asymptotic 100% CI.

Cluster-robust standard errors are also now implemented. It is also worth noting that this update fixes errors in the previous package versions in the standard error calculations. This affects both point estimates and p-values.

Version 1.10 of {fetwfe}, my package for difference-in-differences under staggered adoptions, is now available on CRAN: cran.r-project.org/web/packages... Blog post: gregoryfaletto.com/2026/05/23/n... Brief explainer on the package, and description of the updates, in the thread below.

cran.r-project.orgfetwfe: Fused Extended Two-Way Fixed EffectsCalculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimato...
Greg Faletto@gregoryfaletto.com

Interested in doing some causal inference over the long weekend? Version 1.5.0 of the {fetwfe} package for difference-in-differences under staggered adoptions is now on CRAN! Details on what's new below: cran.r-project.org/web/packages...

View full thread

FETWFE is a middle ground. It regularizes the coefficients in the ETWFE regression towards each other, so that if e.g. within a cohort the treatment effect is the same in time periods t and t + 1, we only estimate one TE for those two time periods, preserving unbiasedness with better efficiency.

What's new in version 1.10.0 compared to the previous CRAN release: first of all, the package now provides convenience functions for event study estimates and plots.

Version 1.10 of {fetwfe}, my package for difference-in-differences under staggered adoptions, is now available on CRAN: cran.r-project.org/web/packages... Blog post: gregoryfaletto.com/2026/05/23/n... Brief explainer on the package, and description of the updates, in the thread below.

cran.r-project.orgfetwfe: Fused Extended Two-Way Fixed EffectsCalculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimato...
Greg Faletto@gregoryfaletto.com

Interested in doing some causal inference over the long weekend? Version 1.5.0 of the {fetwfe} package for difference-in-differences under staggered adoptions is now on CRAN! Details on what's new below: cran.r-project.org/web/packages...

View full thread

This works, and is unbiased. But maybe all of these separate TEs are overkill, and some of them might actually be equal (like the ATT for the same cohort in adjacent time periods). If so, ETWFE is inefficient (if you speak econometrics) or has a poor bias/variance tradeoff (if you speak ML).

Version 1.10 of {fetwfe}, my package for difference-in-differences under staggered adoptions, is now available on CRAN: cran.r-project.org/web/packages... Blog post: gregoryfaletto.com/2026/05/23/n... Brief explainer on the package, and description of the updates, in the thread below.

cran.r-project.orgfetwfe: Fused Extended Two-Way Fixed EffectsCalculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimato...
Greg Faletto@gregoryfaletto.com

Interested in doing some causal inference over the long weekend? Version 1.5.0 of the {fetwfe} package for difference-in-differences under staggered adoptions is now on CRAN! Details on what's new below: cran.r-project.org/web/packages...

Briefly, under staggered adoptions, the two-way fixed effects estimator is biased for the average treatment effect on the treated units. It turns out that estimating a single coefficient for the treatment effect on all cohorts at all times doesn't aggregate into a sensible estimate of the ATT.

Greg Faletto reposted

As many standardized-test-takers know, there are two ways to score highly on a test: learn the material, or guess what the question-writer is thinking. LLMs have gotten really good at the second part!

Grace@gracekind.net

There’s some cool recent research on this phenomenon! It turns out vision language models excel at image benchmarks *even when the actual images aren’t provided,* because the answers are implicit in the questions! arxiv.org/abs/2603.21687

Oh wow, this is how I'm finding out the transformers finally came for IID data

Can we all agree that naming your ice cream flavor a multisyllable made-up word that includes an intentional misspelling of "mocha" is insufficient notice that it contains a nontrivial amount of caffeine

"We are projecting onto an astral plane of heretofore unknown quality, with perfect genius that God himself could ne'er have foreseen." --an LLM after a couple rounds of iteration to get code that actually runs and does what it's supposed to do

It sort of feels like if you pay $8 million for a 30 second Super Bowl ad, they should throw in the rights to refer to it as the Super Bowl instead of the "big game"

So it seems like one of the highest-leverage things you can do is learn one of VS Code/Positron/Antigravity/Cursor/Windsurf. Because then you pretty much know the rest of them too

Greg Faletto reposted

As a person who does believe capable AI risks are real, it’s frustrating to see the community not exactly behaving responsibly. If you can’t find it in yourself to say or do something about a literal, present, AI harm (Grok being used for abuse) what is the point of you

Greg Faletto reposted

Confidence interval discussion time! The perfect opportunity to repost this blog post answering the question you haven’t dared to ask: www.the100.ci/2024/12/05/w...

the100.ciWhy you are not allowed to say that your 95% confidence interval contains the true parameter with a probability of 95%A shibboleth is a custom, such as a choice of phrasing, that distinguishes one group of people from another. The term goes back to the Hebrew Bible, in which the inhabitants of Gilead identify members...
Darren Dahly@statsepi.bsky.social

This is an education problem, not a tool problem; and we don't want people simply moving from thinking p-values are magic to thinking confidence intervals are.

Greg Faletto reposted

📣We're hosting a rainbowR conference, to connect and promote LGBTQ+ people in the #RStats community and to showcase examples of working with LGBTQ+ data 🌈🎉 To help us plan, if you'd be interested in attending or speaking, please fill in this very short form (1-2 mins) docs.google.com/forms/d/1Tx0...

docs.google.comInterested in a rainbowR Conference?rainbowR (https://rainbowr.org) is hosting a virtual conference (tentative date: February 26, 2026). The aim of the conference is to connect and promote LGBTQ+ people in the R community, and to showca...

Starting to think a big divide in whether or not people like AI is: "do you do the kind of work where it's much easier to check and fix an 80% reliable solution than it is to just do it yourself from scratch?"

If you're comparing different packages for difference-in-differences under staggered adoptions, I've created two functions to help: * attgtToFetwfeDf() takes a data set that is formatted for did::att_gt() and converts it to the format needed for the methods in {fetwfe}.

this rules. Haven't taken the plunge to pay for Gemini access, been making the most of my free daily 2.5 Pro prompts for math. The CLI preview access is a super helpful workaround. I just put my prompt in a text file along with the pdf I had uploaded in a question I had asked in the web interface.