Theory-Based Data Analysis for the Social Sciences