Bridging Prediction and Intervention Problems in Social Systems