Blog71.7K views4,201 votes0 replies2,541 following
Fixed-Effects Panel Regression in Stata: What the Within Transformation Actually Drops
Fixed-effects regression in Stata sweeps out entity-specific intercepts, but the within transformation drops all time-invariant variables and requires strict exogeneity. This blog walks through the mechanics, a worked firm-level example, and the trade-offs you accept when you type xtreg, fe.