Linear causal analysis