M-estimation for common epidemiological measures: introduction and applied examples | Synapse