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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1011 views
  • 1 like
  • 2 in conversation