![]() (If so, please report back here!) And then, you should have what you need for your actual application.Īdded in edit - the author's original Stata Journal article is available for free download at and perhaps among the extensive writeup there will be found some relevant examples. ![]() If not, perhaps you can alter the second two examples to produce success. Stata has different modes of complaining here, depending on whether you specified -tw- or not (for one -scatter- that should not make much of a difference in terms of. Perhaps the first two examples suffice for you. Description The line options determine the look of a line in some contexts. All options are rightmost see G-4 concept: repeated options. ![]() Or, possibly, the options need to be placed differently, although I admit the section of the help titled "Placement of options" did not reveal to me the problem with my naive code.īut for me this would all now be trial and error. Description Options Remarks and examples Also see Syntax See G-4 linepatternstyle, G-4 linewidthstyle, G-4 colorstyle, G-4 linestyle, and G-4 pstyle. For g3 and g4, though, the graph combine that is obviously used to produce the array of plots does not seem to notice the options. The results were as I hoped for g1 and g2. Regress price mpg headroom trunk length turn if foreign=1Ĭoefplot domestic foreign, drop(_cons) xline(0) graphregion(color(white)) bgcolor(white) name(g2)Ĭoefplot domestic || foreign, drop(_cons) xline(0) graphregion(color(white)) bgcolor(white) name(g3)Ĭoefplot domestic || foreign, yline(0) bycoefs vertical byopts(yrescale) graphregion(color(white)) bgcolor(white) name(g4)Copy this into your do-file editor and run it. Regress price mpg headroom trunk length turn if foreign=0 Regress price mpg headroom trunk length turnĬoefplot, drop(_cons) xline(0) graphregion(color(white)) bgcolor(white) name(g1) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |