Dedication |
|
v |
|
Acknowledgments |
|
vii |
|
Preface to the Third Edition |
|
xiii |
|
Preface to the Second Edition |
|
xv |
|
Preface to the First Edition |
|
xvii |
|
|
|
1 |
(34) |
|
|
1 |
(4) |
|
1.2 Types of Stata graphs |
|
|
5 |
(10) |
|
|
15 |
(5) |
|
|
20 |
(9) |
|
|
29 |
(6) |
|
|
35 |
(54) |
|
2.1 Overview of the Graph Editor |
|
|
36 |
(7) |
|
|
43 |
(4) |
|
|
47 |
(7) |
|
|
54 |
(8) |
|
|
62 |
(11) |
|
2.6 Hiding and showing objects |
|
|
73 |
(3) |
|
2.7 Locking and unlocking objects |
|
|
76 |
(2) |
|
2.8 Using the Graph Recorder |
|
|
78 |
(4) |
|
2.9 Graph Editor versus Stata commands |
|
|
82 |
(7) |
|
|
89 |
(72) |
|
|
89 |
(17) |
|
3.2 Regression fits and splines |
|
|
106 |
(2) |
|
3.3 Regression confidence interval fits |
|
|
108 |
(4) |
|
|
112 |
(7) |
|
|
119 |
(2) |
|
|
121 |
(2) |
|
|
123 |
(10) |
|
|
133 |
(8) |
|
|
141 |
(6) |
|
|
147 |
(5) |
|
|
152 |
(9) |
|
4 Scatterplot matrix graphs |
|
|
161 |
(12) |
|
|
161 |
(3) |
|
|
164 |
(5) |
|
|
169 |
(1) |
|
|
170 |
(3) |
|
|
173 |
(54) |
|
|
173 |
(4) |
|
5.2 Graphing bars over groups |
|
|
177 |
(6) |
|
5.3 Options for controlling gaps between bars |
|
|
183 |
(5) |
|
5.4 Options for sorting bars |
|
|
188 |
(5) |
|
5.5 Controlling the categorical axis |
|
|
193 |
(8) |
|
5.6 Legends and labeling bars |
|
|
201 |
(12) |
|
5.7 Controlling the y axis |
|
|
213 |
(5) |
|
5.8 Changing the look of bars |
|
|
218 |
(3) |
|
|
221 |
(6) |
|
|
227 |
(36) |
|
6.1 Specifying variables and groups |
|
|
227 |
(6) |
|
6.2 Options for controlling gaps between boxes |
|
|
233 |
(2) |
|
6.3 Options for sorting boxes |
|
|
235 |
(3) |
|
6.4 Controlling the categorical axis |
|
|
238 |
(6) |
|
|
244 |
(6) |
|
6.6 Controlling the y axis |
|
|
250 |
(4) |
|
6.7 Changing the look of boxes |
|
|
254 |
(4) |
|
|
258 |
(5) |
|
|
263 |
(26) |
|
7.1 Specifying variables and groups |
|
|
263 |
(5) |
|
7.2 Options for controlling gaps between dots |
|
|
268 |
(3) |
|
7.3 Options for sorting dots |
|
|
271 |
(3) |
|
7.4 Controlling the categorical axis |
|
|
274 |
(3) |
|
|
277 |
(2) |
|
7.6 Controlling the y axis |
|
|
279 |
(3) |
|
7.7 Changing the look of dot rulers |
|
|
282 |
(3) |
|
|
285 |
(4) |
|
|
289 |
(18) |
|
|
289 |
(2) |
|
|
291 |
(2) |
|
8.3 Changing the look and color and exploding pie slices |
|
|
293 |
(2) |
|
|
295 |
(5) |
|
|
300 |
(3) |
|
|
303 |
(4) |
|
9 Options available for most graphs |
|
|
307 |
(88) |
|
9.1 Changing the look of markers |
|
|
307 |
(13) |
|
9.2 Creating and controlling marker labels |
|
|
320 |
(3) |
|
9.3 Connecting points and markers |
|
|
323 |
(4) |
|
9.4 Setting and controlling axis titles |
|
|
327 |
(3) |
|
9.5 Setting and controlling axis labels |
|
|
330 |
(9) |
|
9.6 Controlling axis scales |
|
|
339 |
(4) |
|
|
343 |
(3) |
|
|
346 |
(15) |
|
|
361 |
(13) |
|
9.10 Adding text to markers and positions |
|
|
374 |
(5) |
|
9.11 Options for text and textboxes |
|
|
379 |
(9) |
|
9.12 More options controlling the display of text |
|
|
388 |
(7) |
|
10 Standard options available for all graphs |
|
|
395 |
(16) |
|
10.1 Creating and controlling titles |
|
|
395 |
(6) |
|
10.2 Using schemes to control the look of graphs |
|
|
401 |
(3) |
|
10.3 Sizing graphs and their elements |
|
|
404 |
(2) |
|
10.4 Changing the look of graph regions |
|
|
406 |
(5) |
|
11 Styles for changing the look of graphs |
|
|
411 |
(20) |
|
|
411 |
(1) |
|
|
412 |
(2) |
|
|
414 |
(1) |
|
|
415 |
(1) |
|
|
416 |
(4) |
|
|
420 |
(2) |
|
|
422 |
(1) |
|
|
423 |
(2) |
|
|
425 |
(1) |
|
|
426 |
(1) |
|
|
427 |
(1) |
|
|
428 |
(3) |
|
|
431 |
(54) |
|
12.1 Overview of statistical graph commands |
|
|
431 |
(7) |
|
12.2 Common options for statistical graphs |
|
|
438 |
(6) |
|
12.3 The marginsplot command |
|
|
444 |
(12) |
|
12.4 Saving, redisplaying, and combining graphs |
|
|
456 |
(10) |
|
12.5 More examples: Putting it all together |
|
|
466 |
(11) |
|
|
477 |
(2) |
|
|
479 |
(3) |
|
|
482 |
(3) |
Subject index |
|
485 |
|