Statistical Analysis for Education and Psychology Researchers

(Jeff_L) #1

else put @20 'Not
significant at 5% level (p-
value= 'lib')' / /;
put @20 'p-value with
conservative critical value:' /
;
if q > conscv1 then
put @20 'p <=0.01'/
/;
else if q>conscv5 then
put @20 'p<=0.05' / /
;
else put @20 'Not
significant at 5% level' ;
run;
%mend cochran;
%cochran;


Figure 8: Program for


Cochran’s Q test (with


conservative and liberal


critical values)






***;
** Filename: RUNS.JOB


;


;
Purpose: Calculates
statistical significance for
number of ;
observed runs in
a sequence of observations.
Data ;
should be
dichotomous.
;


;
Provides a test
of the null hypothesis that
the **;


Appendix 369
Free download pdf