1. A method of automatically determining which type of treatment is most appropriate for a patient, the method comprising: transforming a time domain electrocardiogram (ECG) signal from the patient into frequency domain data; processing the frequency domain data to determine the variance of the energy distributed across a selected frequency range relative to a reference frequency of the spectrum of the ECG signal; and determining the type of treatment based on the determined variance.