To encourage a certain behavior, policymakers can choose carrots or sticks. There’s evidence that the sticks are more effective.