![]() ![]() Rotated text–“orient(vertical)”–labels each group of indicators. Because all indicators point in the same direction, the wavy pattern within a narrow area around 0 reveals lack of systematic differences between groups.Īdded ylines demarcate group of indicators, added xlines a region of 0.20 standard differences below and above 0. I used a narrow aspect ratio to focus the gaze of the reader towards 0, a location where points of the scatterplot should agglomerate. All indicators point in the same direction (they are good attributes), a practice one should follow when assessing balance. The dataset consists of twenty indicators from an experimental sample of rural communities. “tebalance summarize”) to feed a balance test graph. Using “symxsize(10)” and “symysize(1),” I changed the symbols to increase the length of the lines. Using “bmargin(0 0 0 -4),” I trimmed the top distance to put the legend closer to the graph. I changed the default options of the legend extensively. I used added text to make explicit to the reader the event of interest. Using “symxsize(2)” and “symysize(3),” I changed the symbols to mimic the bars. Using “ring(0)” and “position(11),” I placed the legend inside and towards the top-left area. Double and special commas allowed me to use two rows of labels on the x-axis. To provide a cleaner look, I removed the lines from both the x- and y-axis while keeping the ticks. In this example the aspect ratio is 0.25. The stacked bars simply are two bar-series overlaid, an approach I prefer. Difference-in-Differences: Regression results by time period (many observations and time periods).Difference-in-Differences: Descriptive statistics (many time periods).Difference-in-Differences: Descriptive statistics (few time periods).Scatter plot combined with the densities of the variables.Local linear regression with histogram of the x-variable.Functions that illustrate an economic theory. ![]() Making explicit all default options, the code is comprehensive but clear, allowing you to fine-tune all components of the graph-plot region aspect ratio format and content of both x- and y-axis colors and line widths added text and lines legend. Obviating the need for the venerable “auto.dta” dataset, the datasets are from my research. The three files are contained within a zip file you can download. Stata code and datasets to produce a wide array of graphsĮach example below consists of a dataset, a do-file, and a LaTeX file that imports the figure, resizes it, and provides it with title and footnotes. ![]()
0 Comments
Leave a Reply. |