Statistical Methods For Analyzing The Electronic Health Records Data