Exp 1 SAS programb by lUTtoF

VIEWS: 0 PAGES: 1

									Title 'This SAS output belongs to   Your Name Goes Here   ' ;
Title3 'Experiment 1';

 /* Note--put the score for each diagram next to its         */
 /*    letter on the lines after the word "datalines;".      */
 /* Put your numbers in place of the numbers that are there. */

Data ttest;
  Input Letter_10 $ Score_10 Letter_4 $      Score_4 ;
  Difference = Score_10 - Score_4;
datalines;
B 5 A 3
C 7 D 4
G    E
H    F
I    J
K    L
O    M
Q    N
R    P
S    T
;
run;

Proc Means n mean std ;
  Var Score_10 Score_4 ;
     Title4 'These are the means and standard deviations.';
run;

PROC TTEST;
  PAIRED Score_10*Score_4;
     Title4 'This is a two-sample paired t test for means,';
     Title5 'This is a t test for paired differences,     ';
     Title6 ' "        t      for paired comparisons,     ';
     Title7 ' "        t      for related groups,         ';
     Title8 ' "        t      for dependent samples,      ';
     Title9 ' "        t      for correlated samples,     ';
     Title10 ' "     a within-subjects t test.            ';
run;

proc ttest data=ttest ;   Title4 ; run;

								
To top