A Statistical Test For Causality