![]() ![]() Stata labels the axes using the variable labels, if they are defined, or variable names if not. To produce a simple scatterplot of fertility change by social setting you use the command graph twoway scatter change setting To whet your appetite, here’s the plot that we will produce in this section: infile str14 country setting effort change /// To read the data from net-aware Stata type. In this section I will illustrate a few plots using the data on fertility decline first used in Section 2.1. I do not recomment this practice, however, because it conflicts with the goals of documenting and ensuring reproducibility of all the steps in your research.Īll the graphs in this section (except where noted) use a custom scheme with blue titles and a white background, but otherwise should look the same as your own graphs. Stata 10 introduced a graphics editor that can be used to modify a graph interactively. I will also describe briefly bar plots, available through the bar subcommand, and other plot types. These are available in Stata through the twoway subcommand, which in turn has many sub-subcommands or plot types, the most important of which are scatter and line. The most common graphs in statistics are X-Y plots showing points or lines. Stata has excellent graphic facilities, accessible through the graph command, see help graph for an overview. Introduction Data Management Graphics Programming 3 Stata Graphics ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |