|
List of Boxes and Figures |
|
|
ix | |
Preface |
|
xi | |
A Quick Reference Guide to R Companion Functions |
|
xv | |
|
Chapter 1 Getting Started |
|
|
1 | (12) |
|
|
2 | (1) |
|
Installing R and Downloading the R Companion Workspace |
|
|
3 | (4) |
|
|
7 | (1) |
|
|
7 | (1) |
|
Managing R Output: Graphics and Text |
|
|
8 | (2) |
|
|
10 | (1) |
|
|
11 | (2) |
|
Chapter 2 Descriptive Statistics |
|
|
13 | (18) |
|
Interpreting Measures of Central Tendency and Variation |
|
|
14 | (1) |
|
Describing Nominal Variables (Unordered Factors) |
|
|
14 | (1) |
|
Describing Ordinal Variables (Ordered Factors) |
|
|
15 | (2) |
|
Describing Interval Variables (Numerics) |
|
|
17 | (5) |
|
Obtaining Case-Level Information |
|
|
22 | (2) |
|
|
24 | (7) |
|
Chapter 3 Transforming Variables |
|
|
31 | (10) |
|
Collapsing Numeric Variables |
|
|
32 | (3) |
|
Creating Indicator Variables |
|
|
35 | (2) |
|
Creating an Additive Index |
|
|
37 | (2) |
|
|
39 | (2) |
|
Chapter 4 Making Comparisons |
|
|
41 | (18) |
|
Cross-Tabulations and Mosaic Plots |
|
|
42 | (2) |
|
|
44 | (1) |
|
|
45 | (2) |
|
|
47 | (3) |
|
Graphing Indicator Variables |
|
|
50 | (2) |
|
|
52 | (1) |
|
|
53 | (6) |
|
Chapter 5 Making Controlled Comparisons |
|
|
59 | (22) |
|
Cross-Tabulation Analysis with a Control Variable |
|
|
60 | (3) |
|
Mean Comparison Analysis with a Control Variable |
|
|
63 | (1) |
|
Example of an Interaction Relationship |
|
|
64 | (1) |
|
Example of an Additive Relationship |
|
|
65 | (1) |
|
Graphing Relationships with a Control Variable |
|
|
66 | (1) |
|
Graphing a Numeric Dependent Variable |
|
|
66 | (4) |
|
Graphing an Indicator Variable |
|
|
70 | (2) |
|
|
72 | (1) |
|
|
72 | (9) |
|
Chapter 6 Making Inferences about Sample Means |
|
|
81 | (10) |
|
Finding the 95 Percent Confidence Interval of the Population Mean |
|
|
82 | (1) |
|
Testing Hypothetical Claims about the Population Mean |
|
|
83 | (2) |
|
Making Inferences about Two Sample Means |
|
|
85 | (2) |
|
|
87 | (4) |
|
Chapter 7 Chi-Square and Measures of Association |
|
|
91 | (16) |
|
|
92 | (1) |
|
Analyzing an Ordinal-Level Relationship |
|
|
93 | (3) |
|
|
96 | (1) |
|
Analyzing an Ordinal-Level Relationship with a Control Variable |
|
|
96 | (3) |
|
Analyzing a Nominal-Level Relationship with a Control Variable |
|
|
99 | (3) |
|
|
102 | (5) |
|
Chapter 8 Correlation and Linear Regression |
|
|
107 | (20) |
|
|
108 | (1) |
|
|
109 | (2) |
|
|
111 | (2) |
|
|
113 | (2) |
|
Correlation and Regression with Weighted Data |
|
|
115 | (4) |
|
|
119 | (8) |
|
Chapter 9 Dummy Variables and Interaction Effects |
|
|
127 | (14) |
|
Regression with Dummy Variables |
|
|
127 | (5) |
|
Interaction Effects in Multiple Regression |
|
|
132 | (4) |
|
|
136 | (5) |
|
Chapter 10 Logistic Regression |
|
|
141 | (24) |
|
Logistic Regression with One Independent Variable |
|
|
143 | (2) |
|
Logistic Regression with Multiple Independent Variables |
|
|
145 | (3) |
|
Working with Predicted Probabilities: Models with One Independent Variable |
|
|
148 | (5) |
|
Working with Predicted Probabilities: Models with Multiple Independent Variables |
|
|
153 | (1) |
|
The Sample Averages Method |
|
|
153 | (2) |
|
The Probability Profile Method |
|
|
155 | (2) |
|
An Additional Example of Multivariate Logistic Regression |
|
|
157 | (4) |
|
|
161 | (4) |
|
Chapter 11 Doing Your Own Political Analysis |
|
|
165 | (14) |
|
|
165 | (1) |
|
|
166 | (1) |
|
Economic Performance and Election Outcomes |
|
|
166 | (1) |
|
State Courts and Criminal Procedures |
|
|
167 | (1) |
|
Electoral Turnout in Comparative Perspective |
|
|
167 | (1) |
|
|
167 | (1) |
|
|
168 | (1) |
|
SPSS- and Stata-Formatted Datasets |
|
|
168 | (2) |
|
|
170 | (4) |
|
|
174 | (1) |
|
PDF Format or Hand-Coded Data |
|
|
175 | (2) |
|
|
177 | (1) |
|
|
177 | (1) |
|
|
178 | (1) |
|
Data, Hypotheses, and Analysis |
|
|
178 | (1) |
|
Conclusions and Implications |
|
|
178 | (1) |
Appendix |
|
179 | (1) |
Table A-1 |
|
179 | (3) |
Table A-2 |
|
182 | (6) |
Table A-3 |
|
188 | (3) |
Table A-4 |
|
191 | |