Date: Thu, 14 Aug 2003 14:29:03 +0100
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Subject: Re: Computing points for plots in regression
Content-type: text/plain; charset=us-ascii
Try adding some missing data at the end of your data at the design points
you need predictions for.
input x y;
proc reg data=test;
model y=x ;
output out=pred p=p stdi=stdi stdp=stdp;
proc print data=pred;
<wajnberg@ANTIBE To: SAS-L@LISTSERV.UGA.EDU
Sent by: "SAS(r) Subject: Computing points for plots in regression
to Eric Wajnberg
I am using PROC REG to compute a quadratic regression. ok.
I am now willing to make a graph ploting simultaneously: (1) the data
(2) a curve showing the fit (predicted values) and (2) two lines (one above
and the other below the fit) showing +-SE of the fit.
In a certain way, what I need is what SAS uses in the symbol statment with
I=RQCLM... (but I do not whant confidence intervals, I only want SE).
I need to collect all the corresponding values to make the graph using
software more efficient that SAS/Graph.
How I can do that?
Using only PROC REG gives me the values I want, but only at the observed
and not all along all potential values of the independant variable.
On the other hand, PROC SCORE give me only the predicted value (for another
data set) but not the SE.
Can somone help me on that?
Thanks in advance for any help on that.
This email has been scanned for Viruses and Spam
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offense. Please delete if obtained in error and email confirmation to the
This email may be confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.