Folks,
A quick question:
I have a de-stringed variable called "cause" that takes four values: 1,2,3, and 4, and they correspond to 1) cancer, 2) accident, 3) surgery, 4) other.
There is another numeric variable called "death" for the number of deaths associated with the four aforementioned causes.
When I put the command:
it produces the horizontal bar graph with numbers.
But I would like the y-axis numeric values to indicate "cancer" "accident" "surgery" and "other.
How would I go about doing this?
Many thanks.
A quick question:
I have a de-stringed variable called "cause" that takes four values: 1,2,3, and 4, and they correspond to 1) cancer, 2) accident, 3) surgery, 4) other.
There is another numeric variable called "death" for the number of deaths associated with the four aforementioned causes.
When I put the command:
Code:
graph hbar death, over (cause)
But I would like the y-axis numeric values to indicate "cancer" "accident" "surgery" and "other.
How would I go about doing this?
Many thanks.

Comment