Statalist


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

st: RE: RE: RE: old question, new solutions?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: old question, new solutions?
Date   Mon, 16 Nov 2009 18:22:25 -0000

These problems you mention are barely problems. 

You can compute groups sds with -egen- in advance. That's one extra
line. 

You don't need to -collapse- at all. The price of not doing -collapse-
may be a bloated graph file, but you can use -egen, tag()- to select one
data point per group. 

If you don't want to see the data points on -stripplot- you just specify
--ms(none)-. No special option is needed. There are examples in the help
file. 

Nick 
[email protected] 

Hoffman, George

Nick and Jose -- almost but not quite. 
Serrbar requires computing the sd/ci and collapse prior to invoking
serrbar.
Stripplot plots all the individual values in addition to means with the
bar option. Is there any way to suppress plotting the individual values
in stripplot?

'graph dot (mean) Y (p25) Y (p75) Y, over(X)' will compute stats
internally. It couldn't be too far to include sd's / ci's in stats.....?
Thanks,
gh

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: Monday, November 16, 2009 11:48 AM
To: Nick Cox; [email protected]
Subject: st: RE: old question, new solutions?

But personally I'd prefer -stripplot- from SSC. Check out its -bar-
option. 

Nick 
[email protected] 

Nick Cox 

The official command -serrbar- does precisely this. 

Hoffman, George

Has anyone found/written/adapted a program which will plot means +/- sd
for observations of Y over categories X, without drawing a connecting
line between means (as in grby)? The desired solution would be like
'graph box Y, over(X)' except that box would be a single symbol with
upper and lower ranges for sd or sd. Nick cox' civplot is close, but
doesn't allow sd's. 
I've gotten around this by using joanne garrett's 'predxat' but that
plots se's not sd's.

I understand some of the reasons why not to use this sort of display,
but it does occasionally become useful to display data.


*
*   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/



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