1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 /* ReactionTime1.sas */
57 title "Ana's Perception Study: Reaction Time";
58 title2 'Multivariate approach to repeated measures';
59
60
61 /* Read data directly from Excel spreadsheet */
62 proc import datafile="/folders/myfolders/2453f15/RT_Medians.xls"
63 out=rtime1 dbms=xls replace;
64 getnames=yes;
65
NOTE: The import data set has 30 observations and 11 variables.
NOTE: WORK.RTIME1 data set was successfully created.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.04 seconds
cpu time 0.02 seconds
66 proc print;
67 run;
NOTE: There were 30 observations read from the data set WORK.RTIME1.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.28 seconds
cpu time 0.26 seconds
68
69 data rtime2;
70 set rtime1;
71 label NCQ= 'No Context Question'
72 NCE= 'No Context Exclamation'
73 NCS= 'No Context Statement'
74 LCQ= 'Low Context Question'
75 LCE= 'Low Context Exclamation'
76 LCS= 'Low Context Statement'
77 CQ= 'Context Question'
78 CE= 'Context Exclamation'
79 CS = 'Context Statement';
80 NCmean = (NCQ+NCE+NCS)/3;
81 LCmean = (LCQ+LCE+LCS)/3;
82 Cmean = (CQ+CE+CS)/3;
83 Questmean3 = (NCQ+LCQ+CQ)/3;
84 Exclamean3 = (NCE+LCE+CE)/3;
85 Statemean3 = (NCS+LCS+CS)/3;
86 Questmean2 = (NCQ+LCQ)/2;
87 Exclamean2 = (NCE+LCE)/2;
88 Statemean2 = (NCS+LCS)/2;
89
NOTE: Missing values were generated as a result of performing an operation on missing values.
Each place is given by: (Number of times) at (Line):(Column).
1 at 81:19 3 at 82:17 1 at 84:23 3 at 84:27 1 at 87:23
NOTE: There were 30 observations read from the data set WORK.RTIME1.
NOTE: The data set WORK.RTIME2 has 30 observations and 20 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.04 seconds
90 proc means;
91 class Language;
92 var NCQ -- Statemean2;
93
NOTE: There were 30 observations read from the data set WORK.RTIME2.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.21 seconds
cpu time 0.21 seconds
94 proc glm;
95 title3 'All Three Tasks';
96 class Language;
97 model NCQNCENCSLCQLCELCSCQCECS = Language;
98 repeated Task 3, SentenceType 3 / short summary nouni mean;
99 /* Factor on the right changes fastest (like numbers) */
100
101 /* As Ana says, Context Task is a different animal. */
102
NOTE: PROCEDURE GLM used (Total process time):
real time 9.91 seconds
cpu time 2.08 seconds
103 proc glm;
104 title3 'Two levels of task: No Context and Low Context';
105 class Language;
106 model NCQNCENCSLCQLCELCS = Language;
107 repeated Task 2, SentenceType 3 / short summary nouni mean;
108
NOTE: PROCEDURE GLM used (Total process time):
real time 3.20 seconds
cpu time 1.36 seconds
109 proc glm;
110 title3 'Just the Context Task: Language by Sentence Type';
111 class Language;
112 model CQCECS = Language;
113 repeated SentenceType 3 / short summary nouni mean;
114
115
116
117
118
119 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
131