Unified Causality Analysis Based on the Degrees of Freedom