ME at the Margins: Average Marginal Effects, Marginal Effects at the Mean, and Stata’s margins command

Seems that my students and I are not the only ones who are occasionally baffled by Stata’s margins command, which does all sorts of amazing things. Margins is incredibly powerful, and the accompanying marginsplot command almost always does just the right thing. These commands come with excellent documentation, but at a mere 58 pages (not…