Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: detonator plot with three grouping variables


From   Ronnie Babigumira <[email protected]>
To   [email protected]
Subject   st: detonator plot with three grouping variables
Date   Wed, 8 May 2013 23:49:19 +0200

Hi,
I am trying to create a detonator plot like the one in this example http://www.ats.ucla.edu/stat/stata/faq/barcap.htm only I have 3 levels. Here is an example using the accessible auto data

sysuse auto,clear
egen lwst = fill(1,2,1,2)
recode rep78 (1 2 = 3)

What I would like to do is add error bars to this plot

gr bar price, over(lwst) over(foreign) over(rep78)

Any help is much appreciated

Best,

Ronnie



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index