Enviar por SMS: Inverse probability weighted M-estimators for sample selection, attrition, and stratification