eventOccs = load('eventsequence.txt');

% Output the counts of event type occurrences.
typeCounts = histc(eventOccs(:,2), [1 2 3 4])

% Plot the occurrence times
% plot(eventOccs(:,1));
% plot(diff(eventOccs(:,1)));

% Calculate the distances between occurrences
[A, means, stds] = eventDists(eventOccs);

% Output the means and stds
means
stds
