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]
Re: st: RE: Histogram use value labels
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: RE: Histogram use value labels
Date
Tue, 24 May 2011 11:44:54 +0100
Example to show technique
. sysuse auto
(1978 Automobile Data)
. label def rep78 1 abysmal 2 poor 3 middling 4 good 5 outstanding
. label val rep78 rep78
. histogram rep78, discrete xla(1/5, valuelabel noticks) barw(0.6)
If your variable is really categorical, other programs address that
(e.g. -catplot- (SSC)).
Nick
On Tue, May 24, 2011 at 11:21 AM, Renger van Nieuwkoop
<[email protected]> wrote:
> I want a histogram with on the x axis the value labels. This is no
> problem in the graph editor, but I can't find the proper option for the
> command line.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/