Title Predictin final exam score from stats anxiety scores, study minutes, and midterm exam scores;
data Predicting final exam scores;
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;
Am I missing something, isn't the effect size in your parameter estimate table?
Am I missing something, isn't the effect size in your parameter estimate table?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.