A device (1) is described for analyzing electrocardiogram data. The device comprises processing means for comparing at least one parameter derived from a temporal sequence of electrocardiogram data with a previously recorded distribution of that parameter obtained from the user under a plurality of different physiological conditions. Based on the comparison, a signal representative of a risk of a myocardial infarction occurring in the body of the user is provided. A corresponding, method, device and computer application for installing on a user device also is described.