Heart rate variability, a measure of the autonomic nervous system's regulation of the heart, is an independent risk factor for cardiac arrhythmias, heart attack or sudden death.