Statistical Inference with Different Missing-data Mechanisms