Preface |
|
x | |
Motivation and Purpose |
|
x | |
About the National Study of Youth and Religion |
|
xi | |
A Note on Versions |
|
xii | |
A Note on Notation |
|
xiii | |
References |
|
xiii | |
Acknowledgments |
|
xiv | |
About the Author |
|
xv | |
|
PART I FOUNDATIONS FOR WORKING WITH STATA |
|
|
|
Chapter 1 Getting to Know Stata 15 |
|
|
2 | (22) |
|
|
3 | (2) |
|
Getting Started With Data Files |
|
|
5 | (2) |
|
Opening and Saving Stata Data Files |
|
|
6 | (1) |
|
|
7 | (16) |
|
|
10 | (1) |
|
Using Different Types of Data Files in Stata |
|
|
11 | (5) |
|
|
16 | (1) |
|
|
17 | (3) |
|
Types of Variables in Data Files |
|
|
20 | (3) |
|
|
23 | (1) |
|
|
24 | (42) |
|
Intuition and Stata Commands |
|
|
25 | (1) |
|
The Structure of Stata Commands |
|
|
26 | (3) |
|
|
27 | (1) |
|
|
27 | (1) |
|
|
28 | (1) |
|
|
28 | (1) |
|
Executing a Command Using the Command Window |
|
|
28 | (1) |
|
|
29 | (28) |
|
|
29 | (6) |
|
|
35 | (2) |
|
|
37 | (5) |
|
|
42 | (11) |
|
|
53 | (4) |
|
Nonessential, Everyday Commands |
|
|
57 | (7) |
|
|
58 | (1) |
|
|
58 | (2) |
|
|
60 | (2) |
|
|
62 | (1) |
|
|
62 | (2) |
|
Summary of Commands Used in This Chapter |
|
|
64 | (1) |
|
|
65 | (1) |
|
Chapter 3 Do Files and Data Management |
|
|
66 | (40) |
|
|
67 | (15) |
|
Opening and Saving Do Files |
|
|
69 | (1) |
|
Translation From the Command Window |
|
|
70 | (9) |
|
Getting the Most Out of Do Files |
|
|
79 | (3) |
|
|
82 | (20) |
|
|
82 | (6) |
|
|
88 | (6) |
|
|
94 | (5) |
|
|
99 | (3) |
|
Summary of Commands Used in This Chapter |
|
|
102 | (1) |
|
|
103 | (3) |
|
PART II QUANTITATIVE ANALYSIS WITH STATA |
|
|
|
Chapter 4 Descriptive Statistics |
|
|
106 | (25) |
|
|
107 | (13) |
|
Histograms and Bar Graphs |
|
|
112 | (8) |
|
Measures of Central Tendency and Variability |
|
|
120 | (9) |
|
|
126 | (3) |
|
Summary of Commands Used in This Chapter |
|
|
129 | (1) |
|
|
130 | (1) |
|
Chapter 5 Relationships Between Nominal and Ordinal Variables |
|
|
131 | (28) |
|
|
132 | (25) |
|
|
142 | (3) |
|
|
145 | (2) |
|
|
147 | (4) |
|
|
151 | (6) |
|
Summary of Commands Used in This Chapter |
|
|
157 | (1) |
|
|
158 | (1) |
|
Chapter 6 Relationships Between Different Measurement Levels |
|
|
159 | (24) |
|
|
160 | (17) |
|
|
161 | (1) |
|
Testing a Specific Value (One-Sample t Test! |
|
|
162 | (2) |
|
Testing the Mean of Two Groups (Independent-Samples t Test) |
|
|
164 | (4) |
|
|
168 | (6) |
|
Multivariate Means Graphs |
|
|
174 | (3) |
|
Analysis of Variance (ANOVA) |
|
|
177 | (4) |
|
Summary of Commands Used in This Chapter |
|
|
181 | (1) |
|
|
182 | (1) |
|
Chapter 7 Relationships Between Interval-Ratio Variables |
|
|
183 | (27) |
|
|
184 | (9) |
|
|
186 | (7) |
|
|
193 | (15) |
|
Multiple Linear Regression |
|
|
197 | (3) |
|
Dichotomous (Dummy) Variables and Linear Regression |
|
|
200 | (4) |
|
|
204 | (4) |
|
Summary of Commands Used in This Chapter |
|
|
208 | (1) |
|
|
209 | (1) |
|
Chapter 8 Enhancing Your Command Repertoire |
|
|
210 | (29) |
|
|
211 | (8) |
|
Ways to Search and Access |
|
|
211 | (3) |
|
|
214 | (5) |
|
Advanced Convenience Commands |
|
|
219 | (11) |
|
|
219 | (3) |
|
|
222 | (3) |
|
|
225 | (3) |
|
|
228 | (2) |
|
Expanding Stata's Capabilities |
|
|
230 | (7) |
|
Summary of Commands Used in This Chapter |
|
|
237 | (1) |
|
|
238 | (1) |
Chapter Exercise Solutions |
|
239 | (20) |
Alphabetical Command Index and Glossary |
|
259 | |