Date: Tue, 26 Feb 2002 17:03:53 -0800
Reply-To: "Parise, Carol A." <PariseC@sutterhealth.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Parise, Carol A." <PariseC@sutterhealth.org>
Subject: Re: Error bar chart using Mean and SE
Content-Type: text/plain; charset=iso-8859-1
Does this work using the Interactive Graphics Scatterplot? I need do
scatterplots that have a the Mean(Y) line along with an upper and lower
limit but using the formula
2*SD. Right now, i'm just doing the plot and including the Mean(Y) line,
then calculating the upper and lower limits, pasting the graphs into Word
and dragging lines in the approximate locations where they belong.
If i could do this in SPSS, it would sure save me some work.
> -----Original Message-----
> From: Asesoría Bioestadística [SMTP:firstname.lastname@example.org]
> Sent: Tuesday, February 26, 2002 7:16 AM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: Re: Error bar chart using Mean and SE
> Hi John:
> Try this:
> DATA LIST LIST /Year(F5.0) Mean(F4.1) SE(F4.1).
> BEGIN DATA
> 1995 123 2.1
> 1996 134 2.2
> 1997 122 2.1
> 1998 156 2.4
> END DATA.
> COMPUTE upperval = mean+se .
> COMPUTE lowerval = mean-se .
> EXECUTE .
> GRAPH /HILO(SIMPLE)=VALUE( upperval lowerval mean ) BY year .
> Marta Garcia-Granero
> John Connaghan ha escrito:
> > Hi list
> > This seems simple but I'm stumped.
> > I've got three variables: Year, Mean sbp, and Standard Error. I want
> > to do an error bar chart with year on one axis and the mean and
> > standard error variables to represent, well, the mean and standard
> > error. Can this be done?
> > Year Mean SE
> > 1995 123 2.1
> > 1996 134 2.2
> > 1997 122 2.1
> > 1998 156 2.4
> > I don't have access to the original data from which the mean and
> > SE were derived so I cannot create graphs using:
> > GRAPH
> > /ERRORBAR( CI 95 )= sbp BY year
> > /MISSING=REPORT.
> > Any alternative suggestions would be gratefully received.
> > Thanks in advance