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.

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 save with the early bird rate—just $795!

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