I have a data set with pre and post scores for individuals following the completion of a program. The difference column is calculated so the range is -3 (most negative improvement) to 3 ( most positive improvement). I am newer to the SAS world but how would the code look like for that analysis. I am mainly seeking if there is a significant difference between the pre and post scores, and if they are different in the cases/controls. below is an example of the dataset. Thanks!
ID Type Q1 - Pre Q1 - Post Q1 - Difference
1 case 1 4 3
2 control 2 2 0
3 case 3 1 -2
4 control 1 3 2
5 control 3 1 -2
ID Type Q1 - Pre Q1 - Post Q1 - Difference
1 case 1 4 3
2 control 2 2 0
3 case 3 1 -2
4 control 1 3 2
5 control 3 1 -2