Hello!
I am creating a bar graph with confidence intervals(picture attached below). It would be nice if I could label the bars itself so that it shows the values it conforms to. Does anyone have any suggestions? This is the code I used so far:
twoway (bar avg_vote_2010 gender,barwidth(0.8)) ///
(rcap low_val_2010 hi_val_2010 gender), ///
xlabel( 0 "Female" 1 "Male", noticks) ///
ytitle("Voting 2010 Average") by(actualtreatment)
My goal is to label the bars with the values of the variable "avg_vote_2010." This would be similar in effect to the "blabel" option for the "graph bar" command. I would greatly appreciate any suggestions!
Array
Related Posts with How can I label the values of the bars within a twoway bar graph?
Why is a squared term in panel data fixed effects considered redundantI have the following equation: xtreg lwage educ black Hispanic experience expersq married union, fe …
Heteroskedasticity and autocorrelation in a random effects model with small sampleHi I'm estimating a model for the freight rate as the dependent variable. My model has three explana…
outreg2 with incorrect asterisk in excelHi Statalists, I find an issue with outreg2 for exporting regression results out to the excel, that…
Problem with Subtracting Variable that Represents a Number of Weeks from a Date VariableI am currently working with a set of data that contains the Date of Birth (dob) of an observation an…
Display full value label in resultsHi all, Is there a way to stop Stata from truncating variable value labels in results tables (say i…
Subscribe to:
Post Comments (Atom)
0 Response to How can I label the values of the bars within a twoway bar graph?
Post a Comment