% Run the correlation analysis on hypothetical data
% AUTHOR: Borgo-Soranzo-Grassi
span = [2 4 4 4 5 5 3 3 2 1 2 6 6 6 5 4 4 4 3 3];
errors = [4 2 2 4 3 4 3 2 2 6 5 1 2 1 1 2 2 1 2 3];
[R,P,RLO,RUP] = corrcoef(span, errors);