graph confidence interval

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

graph confidence interval

Joanne Tsai
Hi, Dear co-listers:

I have a question regarding to graphs/charts in SPSS.

How could I draw the confidence interval along with the estimated
curves?

I currently have many points/observations in my data file, and I would
like to do a graph connecting all the estimated points, as well as the
upper bond and lower bond.

Thank you so much,

 

Joanne

 

====================To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: graph confidence interval

ViAnn Beadle
region.confi.smooth.linear in GPL provides the confidence interval for the
linear function. Cubic and quadratic are also available. Here's GPL to
display points, linear regression, and confidence intervals using the
Employee data.sav sample file:

GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=salbegin salary
MISSING=LISTWISE REPORTMISSING=NO
  /GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
  SOURCE: s=userSource(id("graphdataset"))
  DATA: salbegin=col(source(s), name("salbegin"))
  DATA: salary=col(source(s), name("salary"))
  GUIDE: axis(dim(1), label("Beginning Salary"))
  GUIDE: axis(dim(2), label("Current Salary"))
  ELEMENT: point(position(salbegin*salary))
  ELEMENT: line(position(smooth.linear(salbegin*salary)))
  ELEMENT: line(position(region.confi.smooth.linear(salbegin*salary)))
END GPL.

Go to Help>Base System>GPL Reference for more information on these
functions.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Joanne Tsai
Sent: Tuesday, April 15, 2008 8:17 AM
To: [hidden email]
Subject: graph confidence interval

Hi, Dear co-listers:

I have a question regarding to graphs/charts in SPSS.

How could I draw the confidence interval along with the estimated
curves?

I currently have many points/observations in my data file, and I would
like to do a graph connecting all the estimated points, as well as the
upper bond and lower bond.

Thank you so much,



Joanne



=======
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD