Statistical Analysis for Education and Psychology Researchers

(Jeff_L) #1

The alpha level
is entered for multiple
comparison
;
tests after the
data (see comment in the
program)
;
**


;
Note: condition
values must be numbered
consecutively ;
from
1
**;






*****;
data a;
input subject cond $ rank @@;
cards;
1 1 3.5 1 2 2 1 3 1 1 4 3.5
2 1 4 2 2 3 2 3 2 2 4 1
3 1 3 3 2 2 3 3 4 3 4 1
4 1 4 4 2 1 4 3 2 4 4 3
5 1 4 5 2 1 5 3 3 5 4 2
6 1 4 6 2 2 6 3 1 6 4 3
;
%macro fr;
%let alpha= 0.1; *
ENTER
ALPHA LEVEL ON THIS LINE ****;




*****;
*
DO NOT EDIT THE PROGRAM
BEYOND THIS LINE ****;


proc datasets;
delete comps;
run;
*;
Friedmans ANOVA test;
*
;
proc freq;
tables subjectcondrank /
noprint cmh;
run;
title 'Friedmans ANOVA by ranks
test - worked example';
run;




;
post hoc pairwise comparisons*;


Appendix 382
Free download pdf