BookmarkSubscribeRSS Feed
jmoseley
Quartz | Level 8

 

input finalexamscore statsstressacore studyminutes midtermexamscore;

cards;

40 48 41 45

49 49 55 40

71 73 69 69

42 42 52 51

54 49 46 52

45 49 45 41

63 52 66 69

55 58 54 47

46 47 46 39

39 42 35 38

62 63 66 45

52 50 50 55

62 71 65 59

47 41 41 40

53 47 50 52

54 50 41 50

49 53 47 44

53 49 52 49

52 51 61 38

55 69 60 50

;

 

proc corr;

var finalexamscore = statsstressacore studyminutes midtermexamscore;

proc reg;

model finalexamscore = statsstressacore studyminutes midtermexamscore /stb scorr2 p r vif;

plot residual. * predicted.;

output out=res residual=resid predicted=pred;

proc univariate plot;

var resid;

run;

 

1 REPLY 1
jmoseley
Quartz | Level 8

I agree that I accepted it as a solution, but I am wrestling with another question which is how to determine the effect size of the variable "astatistics anxiety score.

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
  • 1085 views
  • 0 likes
  • 1 in conversation