![]() ![]() The text option just allows me to place text at a given location. All coefficients whose confidence interval (marked by the horizontal lines) does not touch the zero line are significant. We will also immediately add an option that draws a line at the 0 on the x axis, xline (0). This prevents me from having _N (total number of observations in the data set) dots all right on top of each other, which will use up more resources. It is simple: After running a regression analysis, we just type coefplot. ![]() The restriction if _n=1 tells stata to only use observation number one. What I did was create the average price and mpg as varabiles, then drew my primary scatter plot and then overlaid a single dot. (scatter avgmpg price if _n=1, mcolor(red) legend(off) /// I came up with the following work around: You can put a line using xline and yline options (see below). ![]() tline() is an extension to xline() see TS tsline for examples using tline(). The Data plot - Histogram with xline in Stata - Stack Overflow Web1 day ago. yline(), xline(), and tline() are used with twoway to add lines to the plot region. I recently had the need to put a single dot of a different color on a graph, and noted that stata doesn't have an option to allow you to place a single dot on a graph. The option color (red30) makes the oft flash manager how to create. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |