[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: Graph Mean SD of continuous variable over categorical variable
Thanks, I appreciate your help. I created the
variables, scatter does not help me however graph
generated by command "serrbar" is something i want.
serrbar does not allow me to plot it over more then
one categorical variable.
I have to plot mean blood flow in three age groups at
two different temperatures (26 & 35oC) and for both
males and females. With "graph box" I can specify
catergorical variables by writing "over" but serrbar
does not work same way. Does it mean that I have to
create six different mean sd and use serrbar command
to plot them in one graph.
Thanks in advance
--- Nick Cox <email@example.com> wrote:
> No need to search. Just work it
> out step by step:
> egen mean = mean(cont), by(cat)
> egen sd = sd(cont), by(cat)
> gen upper = mean + sd
> gen lower = mean - sd
> scatter mean cat || rcap upper lower cat
> or even
> serrbar mean sd cat
> Syed O Masood
> > I have to graph Mean +/- SD of a continuous
> > over categorical variable. So far my search has
> > given me a graph option to plot a dot / bar graph
> > mean SD of a continuous varibale over categorical
> > variable.
> * For searches and help try:
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
* For searches and help try: