SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
matt23
Quartz | Level 8

Hi,

 

I was asked to do sensitivity analysis for my simple linear regression models but I do not know how.

If I have my simple PROC REG code

PROC REG data=dataname;
model Y=X;
run;

and I get my results. Is there anything I need to look at specifically for sensitivity or is there another procedure that would give me the sensitivity?

5 REPLIES 5
matt23
Quartz | Level 8

Would sensitivity just mean the coefficient for the variable ?

PaigeMiller
Diamond | Level 26

@matt23 wrote:

Would sensitivity just mean the coefficient for the variable ?


That's a reasonable understanding of the meaning of the word "sensitivity", but there are other reasonable meanings, and you need to clarify what is meant by "sensitivity" before actually doing the analysis.

--
Paige Miller
Reeza
Super User

Sensitivity and specificity are statistical terms but would not apply to a linear regression with the standard model. Logistic regression would include a sensitivity analysis.

 

A more detailed description of your problem is required.

 


@matt23 wrote:

Would sensitivity just mean the coefficient for the variable ?


Likely not.

 

Statistical definition

https://en.wikipedia.org/wiki/Sensitivity_and_specificity

 

That being said, sensitivity analysis is a different topic which could possibly be what you're looking for here?

matt23
Quartz | Level 8

I'm not trying to argue as I have no idea but I found this on wikipedia:

Regression analysis, in the context of sensitivity analysis, involves fitting a linear regression to the model response and using standardized regression coefficients as direct measures of sensitivity. 

PaigeMiller
Diamond | Level 26

Someone asked you to do a sensitivity analysis. Until we know what that meant (and you know what that meant), there is no possibility of providing you an answer. Go back to the person who asked, and try to find out what was meant.

--
Paige Miller

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 5 replies
  • 1950 views
  • 4 likes
  • 3 in conversation