목차

Dedication                                                                       v
Acknowledgments                                                               vii
Preface to the Second Edition                                                  xii
Preface to the First Edition                                                     xv
1. Introduction                                                                   1
   1.1 Using this book                                                           1
   1.2 Types of Stata graphs                                                    5
   1.3 Schemes                                                                 14
   1.4 Options                                                                  20
   1.5 Building graphs                                                          28
2. Editor
   2.1 Overview of the Graph Editor
   2.2 Object Browser                                                          41
   2.3 Modifying objects                                                        45
   2.4 Adding objects                                                           52
   2.5 Moving objects                                                           60
   2.6 Hiding and showing objects                                               71
   2.7 Locking and Unlocking objects                                            74
   2.8 Using the Graph Recorder                                                76
   2.9 Graph Editor versus Stata commands                                     80
3. Twoway graphs                                                               87
   3.1 Scatterplots                                                               87
   3.2 Regression fits and splines                                               104
   3.3 Regression confidence interval fits                                       106
   3.4 Line plots                                                               110
   3.5 Area plots                                                               117
   3.6 Bar plots                                                                119
   3.7 Range plots                                                              121
   3.8 Distribution plots                                                         131
   3.9 Options                                                                   139
   3.10 Overlaying plots                                                         143
4. Scatterplot matrix graphs                                                     153
   4.1 Marker options                                                           153
   4.2 Controlling axes                                                          156
   4.3 Matrix options                                                            161
   4.4 Graphing by groups                                                      162
5. Bar graphs                                                                   165
   5.1 Y variables                                                              165
   5.2 Graphing bars over groups-                                             169
   5.3 Options for controlling gaps between bars                               175
   5.4 Options of sorting bars                                                  180
   5.5 Controlling the categorical axis                                          185
   5.6 Legends and labeling bars                                               193
   5.7 Controling the y axis                                                    205
   5.8 Changing the look of bars                                               210
   5.9 Graphing by groups                                                      213
6. Box plots                                                                    219
   6.1 Specifying variables and groups                                         219
   6.2 Options for controlling gaps between boxes                             225
   6.3 Options for sorting boxes                                               227
   6.4 controlling the categorical axis                                          230
   6.5 Controlling legends                                                      236
   6.6 Controlling the y axis                                                   242
   6.7 Changing the look of boxes                                             246
   6.8 Graphing by groups                                                     250
7. Dot plots                                                                    255
   7.1 Specifying variables and groups                                         255
   7.2 Options for controlling gaps between dots                               260
   7.3 Options for sorting dots                                                 263
   7.4 controlling the categorical axis                                          266
   7.5 Controlling legends                                                      269
   7.6 Controlling the y axis                                                   271
   7.7 Changing the look of dot rulers                                         274
   7.8 Graphing by groups                                                     277
8. Pie charts                                                                   281
   8.1 Types of pie charts                                                     281
   8.2 Sorting pie slices                                                       283
   8.3 Changing the look and color and exploding pie slices                   285
   8.4 Slice labels                                                              287
   8.5 Controlling legends                                                      292
   8.6 Graphing by groups                                                      295
9. Options available for most graphs                                            299
   9.1 Changing the look of markers                                           299
   9.2 Creating and controlling marker labels                                   312
   9.3 Connecting points and markers                                          315
   9.4 setting and controlling axis titles                                        319
   9.5 setting and controlling axis labels                                        322
   9.6 Controlling axis scales                                                   331
   9.7 Selecting an axis                                                        335
   9.8 Graphing by groups                                                      338
   9.9 controlling legends                                                       353
   9.10 Adding text to markers and positions                                   366
   9.11 More options for text and textboxes                                    371
10. Standard options available for all graphs                                    381
   10.1 Creating and controlling titles                                           381
   10.2 Using schemes to control the look of graphs                           387
   10.3 Sizing graphs and their elements                                       390
   10.4 Changing the look of graph regions                                    392
11. Styles for changing the look of graphs                                     397
   11.1 Angles                                                                 397
   11.2 Colors                                                                 398
   11.3 Clock position                                                         400
   11.4 Compass direction                                                    401
   11.5 Connecting points                                                     402
   11.6 Line patterns                                                          406
   11.7 Line width                                                             408
   11.8 Margins                                                                409
   11.9 Marker size                                                            411
   11.10 Orientation                                                            412
   11.11 Marker symbols                                                       413
   11.12 Text size                                                              414
12. Appendix                                                                   417
   12.1 Overview of statistical graph commands                                417
   12.2 Common options for statistical graphs                                  424
   12.3 Saving, redisplaying, and combining graphs                            430
   12.4 More examples: Putting it all together                                  440
   12.5 Common mistakes                                                      451
   12.6 Customizing schemes                                                   453
   12.7 Online supplements                                                    456
Subject index                                                                  457