Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Stripplot: problem with axis for variable with only 2 observations

From   Nick Cox <>
Subject   Re: st: Stripplot: problem with axis for variable with only 2 observations
Date   Thu, 25 Oct 2012 00:04:34 +0100

There are various problems here.

1. The program referred to, -stripplot-, is a user-written program
from SSC; posters are asked to explain that.

2. Meghan refers to attachments, but attachments should not be sent to
Statalist; in any case none are visible.

3. Meghan refers to the 9th graph down, but she is trying to emulate
it with data we can't see and a command she does not give.

I'll try to resolve this directly with Meghan.


On Wed, Oct 24, 2012 at 10:09 PM, Meghan Doiron, Miss
<> wrote:

> I am using a stripplot to compare community perceptions of prices versus actual market prices (rematista) and see how well the individual observations match up on different weeks. Stripplot seems to be the best option given that I have two categorical variables (week and community versus market) and one continuous variable: price. I am basically trying to recreate one of the stripplot graphs from (9th graph down) with my data.  When I plot this using the "bar" option I get strangely large values on the x-axis, and the legend ranges from -100 to +100 even though my price variable only ranges between 5 and 20. By contrast, if I use the "box" option instead of "bar" this doesn't happen. I tried changing the axis but the stata command just ignores my request to makes the legend smaller. Attached are the graphs for reference.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index