[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: alternative to rcap
I can't seem to figure this out. I have data from a table that I would
like to plot. The data looks like this:
country sex mean se x
USA Male 269.34 (2.29) 1
USA Female 277.60 (2.17) 1
England Male 267.80 (2.52) 1
England Female 266.78 (2.56) 1
Scotland Male 264.91 (4.69) 1
Scotland Female 267.65 (3.56) 1
. . . .
. . . .
Scotland Female 400.65 (4.73) 10
I would like to plot the means for each country-sex cell (with t-shaped
error bars that are +/- 2*se) as lines with x on the x-axis.
I could do this with twoway rcap by defining y1=y+2*se and y2=y-2*se, but
that only plots the error bars without connecting the points. Is
there a way to connect the points or is there a better alternative to
Thank you for your help.
Dimitriy V. Masterov
Center for Social Program Evaluation
1155 East 60th St. Room 038
Chicago, IL 60637
1312 East 53rd St., Apt.309
Chicago, IL 60615
* For searches and help try: