function [correlation]=ridgeCorrelation(data,kin,coeffs) prediction=coeffs(1)+data*coeffs(2:end); correlation=corr(kin,prediction); end