Stata offers 4 weighting options: frequency weights (fweight), analytic weights (aweight), probability weights (pweight) and importance weights (iweight). This document aims at laying out precisely how Stata obtains coefficients and standard errors when you use one of these options, and what kind of weighting to use, depending on the problem.