We consider a general statistical model defined by moment restrictions when data are missing at random. Using inverse probability weighting, we show that such a model is equivalent to a model for the observed variables only, augmented by a moment condition defined by the missingness mechanism. Our framework covers parametric and semiparametric mean regressions and quantile regressions. We allow for missing responses, missing covariates and any combination of them. The equivalence result sheds new light on various aspects of missing data, and provides guidelines for building efficient estimators.