Calcite | Level 5

## Proc Orthoreg Confidence/Prediction intervals

When using proc orthoreg to build polynomials, I can create the models etc fine and the charts plot 95% Confidence and prediction intervals. I'm looking for a way to have details printed and the parameters used to construct them but can't find the correct syntax.

4 REPLIES 4
SAS Super FREQ

## Re: Proc Orthoreg Confidence/Prediction intervals

Please post the PROC ORTHOREG code, the output, and explain what you wish to see.

Quartz | Level 8

## Re: Proc Orthoreg Confidence/Prediction intervals

I have the same problem as him. Take the following as an example.

```data polynomial;
do i=1 to 101;
x=(i-1)/(101-1);
y=10**(9/2);
do j=0 to 8;
y=y*(x-j/8);
end;
output;
end;
run;
ods graphics on;
proc orthoreg data=polynomial;
effect xMod = polynomial(x / degree=6);
model y = xMod;
effectplot fit / obs;
store OStore;
run;
ods graphics off;```

SAS produced the 95CI interval. I want to know the upper and lower limits value of each data point. What syntax should I use?

I checked the SAS manual, and the Proc orthoreg statement only has the outset option, which does not seem to output the upper and lower limits value of each data point.

https://support.sas.com/documentation/onlinedoc/stat/141/orthoreg.pdf

see p6699

Opal | Level 21

## Re: Proc Orthoreg Confidence/Prediction intervals

ods output FitPlot=Fitplot;

to the procedure. It will create a dataset called FitPlot with each point and interval values.

PG
Quartz | Level 8

## Re: Proc Orthoreg Confidence/Prediction intervals

Really solved it, thank you for your valuable grammar.
Discussion stats
• 4 replies
• 728 views
• 3 likes
• 4 in conversation