Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Frequency Distribution


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Frequency Distribution
Date   Fri, 22 Feb 2013 11:23:37 +0100

On Fri, Feb 22, 2013 at 11:01 AM, Keniajin Wambui <kiangati@gmail.com> wrote:
> Thanks Maarteen for that, is it possible to get a histogram

-stripplot- with the -width()- option can be thought of as a
histogram. Anyhow, be very careful: histograms are known to be
sensitive to both the width of the bins and where you start the first
bin.

> but now i want to show the missing values and the non missing on the
> same bar.. ie for nserial ; the bar for year 2000 shows the overall
> total mayb blue and the total of non missing mayb red

use the -separate()- option in -stripplot-.

-- Maarten (not Maarteen)

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index