Okay, this is my first post, I am new to this SAS stuff. This is a required course for my major and I am not really good at it. I was hoping you guys could help me out. I am stuck on the first problem coding part. I can't seem to get the chi squared test to work. It would be greatly appreciated if you could help me. This is my code that isn't correct obviously: proc format; value $EvaluationOfInstructor 'E'= 'Excellent' 'G'='Good' 'A'='Average' 'P'='Poor'; title GPA of the Student vs Evaluation of the Instructor; data mylib.Project2GPA; input EvaluationOfInstructor $ Below Between Above; format EvaluationOfInstructor $EvaluationOfInstructor.; datalines; E 18 33 37 G 17 27 43 A 21 31 23 P 25 14 11 ; run; proc freq data=mylib.project2gpa2; tables EvaluationOfInstructor*GPAofStudent / chisq measures; run; data mylib.project2gpa2; set mylib.project2gpa; label Below = 'Below 2.5' Between = '2.5 to 3.5' Above = 'Above 3.5'; run; data mylib.project2gpa3; set mylib.project2gpa2; label Below = 'GPAofStudent' Between = 'GPAofStudent' Above = 'GPAofStudent'; run;
... View more