Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: Re: st: catplot problem


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   RE: Re: st: catplot problem
Date   Wed, 7 May 2008 17:32:41 +0100 (BST)

--- Tunga Kantarci <tungakantarci@hotmail.com> wrote:
> Note that there are two bars in 1 and 2, at domestic.
> “Assume” that there are also no observations for domestic, for 1 and
> 2 (in the graph reproduced by catplot bar foreign rep78).
> 
> Then, catplot shifts the frequencies to the left “but keeps the
> horizontal axis values, 1, 2, 3 fixed and deletes 4 and 5”.
> That is, it displays frequencies at 1, 2, and 3 which respectively,
> and actually, belong to 3, 4 and 5. And deletes 4 and 5.
> 
> This is what happens in my catplot for “my” data (not auto but my own
> dataI was talking about).

I cannot reproduce this either:

sysuse auto, clear
drop if rep78 <= 2 
catplot bar foreign rep78

The bars for value 3 are labeled 3, for value 4 labeled 4, etc. 

If you can reproduce the error using the auto data, then we can see
exactly what is going on.

-- Maarten


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure 

http://green.yahoo.com/uk/earth-day/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index