BookmarkSubscribeRSS Feed
katiexyz
Calcite | Level 5

Hi,

I have performed SLR using "proc reg" on some data, and output the 95% confidence and prediction intervals.

There isn't much data and I'm looking at it for someone else who doesn't use SAS.

Using Excel, I need to replicate the plot of the data with a regression line and the limits.

How do I calculate these limits?

I don't understand how SAS calculates "STd Error Mean Predict" values. Does anyone know the formula? I could just paste the values in but that's wrong!

Thanks,

Katie xx

1 REPLY 1
SteveDenham
Jade | Level 19

Why would it be wrong to use the calculated values?  One of the great advantages of a package like SAS is that you don't have to load into a second package and do a lot of calculations.  In particular, look at the PLOTS option in PROC REG.  You should be able to get all of this from those plots (especially with PLOTS=FIT).

Steve Denham

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1058 views
  • 1 like
  • 2 in conversation