|
|
ix | |
Preface |
|
xi | |
Introduction: Getting Started |
|
xiii | |
Datasets |
|
xiv | |
|
Chapter 1 Introduction to Stata |
|
|
1 | (12) |
|
Information about a Dataset |
|
|
2 | (1) |
|
Information about Variables |
|
|
2 | (2) |
|
|
4 | (1) |
|
|
4 | (1) |
|
Printing Results and Copying Output |
|
|
5 | (2) |
|
A Closer Look: Weighting the gss2012 and nes2012 Datasets |
|
|
7 | (1) |
|
|
8 | (2) |
|
|
10 | (1) |
|
|
11 | (2) |
|
Chapter 2 Descriptive Statistics |
|
|
13 | (24) |
|
Interpreting Measures of Central Tendency and Variation |
|
|
13 | (1) |
|
Describing Nominal Variables |
|
|
14 | (2) |
|
Describing Ordinal Variables |
|
|
16 | (1) |
|
Describing Interval Variables |
|
|
17 | (4) |
|
Obtaining Bar Charts and Histograms |
|
|
21 | (4) |
|
Obtaining Case-Level Information with sort and list |
|
|
25 | (2) |
|
|
27 | (9) |
|
|
36 | (1) |
|
Chapter 3 Transforming Variables |
|
|
37 | (16) |
|
Transforming Categorical Variables |
|
|
38 | (2) |
|
Transforming Interval Variables |
|
|
40 | (2) |
|
A Closer Look: The xtile Command |
|
|
42 | (2) |
|
The label define and label values Commands |
|
|
44 | (1) |
|
Creating an Additive Index |
|
|
45 | (2) |
|
Creating Indicator Variables |
|
|
47 | (2) |
|
|
49 | (3) |
|
|
52 | (1) |
|
Chapter 4 Making Comparisons |
|
|
53 | (28) |
|
Cross-Tabulation Analysis |
|
|
53 | (2) |
|
|
55 | (2) |
|
A Closer Look: The format Command |
|
|
57 | (1) |
|
Graphing an Interval-Level Dependent Variable |
|
|
57 | (4) |
|
Graphing a Categorical Dependent Variable |
|
|
61 | (1) |
|
A Closer Look: The replace Command |
|
|
62 | (1) |
|
Strip Charts: Graphs for Small-n Datasets |
|
|
63 | (3) |
|
|
66 | (13) |
|
|
79 | (2) |
|
Chapter 5 Making Controlled Comparisons |
|
|
81 | (22) |
|
Cross-Tabulation Analysis with a Control Variable |
|
|
82 | (2) |
|
A Closer Look: The If Qualifier |
|
|
84 | (2) |
|
Bar Charts for Controlled Comparisons with a Categorical Dependent Variable |
|
|
86 | (1) |
|
Mean Comparison Analysis with a Control Variable |
|
|
87 | (1) |
|
An Example of Interaction |
|
|
87 | (1) |
|
An Example of an Additive Relationship |
|
|
88 | (1) |
|
Bar Charts and Box Plots for Controlled Mean Comparisons |
|
|
89 | (2) |
|
|
91 | (10) |
|
|
101 | (2) |
|
Chapter 6 Making Inferences about Sample Means |
|
|
103 | (10) |
|
|
104 | (2) |
|
Testing the Difference between Two Sample Means |
|
|
106 | (1) |
|
Extending the mean and lincom Commands |
|
|
107 | (2) |
|
|
109 | (3) |
|
|
112 | (1) |
|
Chapter 7 Chi-Square and Measures of Association |
|
|
113 | (18) |
|
Analyzing Ordinal-Level Relationships |
|
|
114 | (3) |
|
|
117 | (1) |
|
Analyzing an Ordinal-Level Relationship with a Control Variable |
|
|
118 | (2) |
|
Analyzing Nominal-Level Relationships |
|
|
120 | (1) |
|
Analyzing Unweighted Data with the tabulate Command |
|
|
121 | (1) |
|
|
122 | (7) |
|
|
129 | (2) |
|
Chapter 8 Correlation and Linear Regression |
|
|
131 | (18) |
|
The correlate Command and the regress Command |
|
|
131 | (3) |
|
A Closer Look: R-Squared and Adjusted R-Squared: What's the Difference? |
|
|
134 | (1) |
|
Creating a Scatterplot with a Linear Prediction Line |
|
|
135 | (1) |
|
|
136 | (2) |
|
A Closer Look: Bubble Plots |
|
|
138 | (1) |
|
Correlation and Regression with Weighted Data |
|
|
138 | (2) |
|
|
140 | (7) |
|
|
147 | (2) |
|
Chapter 9 Dummy Variables and Interaction Effects |
|
|
149 | (18) |
|
Regression with Dummy Variables |
|
|
149 | (4) |
|
A Closer Look: The test Command |
|
|
153 | (1) |
|
Interaction Effects in Multiple Regression |
|
|
154 | (3) |
|
Graphing Linear Prediction Lines for Interaction Relationships |
|
|
157 | (3) |
|
|
160 | (6) |
|
|
166 | (1) |
|
Chapter 10 Logistic Regression |
|
|
167 | (22) |
|
The logit Command and the logistic Command |
|
|
168 | (3) |
|
Logistic Regression with Multiple Independent Variables |
|
|
171 | (2) |
|
A Closer Look: The estimates Command and the lrtest Command |
|
|
173 | (2) |
|
Working with Predicted Probabilities |
|
|
175 | (1) |
|
The margins Command with the atmeans Option |
|
|
176 | (3) |
|
The margins Command with the over Option |
|
|
179 | (3) |
|
|
182 | (1) |
|
|
182 | (5) |
|
|
187 | (2) |
|
Chapter 11 Doing Your Own Political Analysis |
|
|
189 | (9) |
|
|
189 | (1) |
|
|
190 | (1) |
|
Economic Performance and Election Outcomes |
|
|
190 | (1) |
|
State Courts and Criminal Procedure |
|
|
190 | (1) |
|
Electoral Turnout in Comparative Perspective |
|
|
191 | (1) |
|
|
191 | (1) |
|
|
191 | (1) |
|
|
191 | (1) |
|
|
192 | (2) |
|
|
194 | (3) |
|
|
197 | (1) |
|
|
198 | (1) |
|
Data, Hypotheses, and Analysis |
|
|
198 | (1) |
Conclusions and Implications |
|
198 | (1) |
Notes |
|
199 | |