Statistics and Machine Learning Methods for EHR Data