Intelligent people make the best CEOs. Software engineers are probably more intelligent, on average, than others. I think it might be better to look at IQ+EQ and see if there's a correlation there instead (although that data is probably not feasible to obtain).