Rethinking determinism in social science