1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
70
71 /* Nasalance.sas */
72 %include '/home/brunner0/441s20/ReadNasal.sas';
NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with
options MSGLEVEL=I.
NOTE: The import data set has 11 observations and 181 variables.
NOTE: WORK.WIDE data set was successfully created.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 2016.65k
OS Memory 36248.00k
Timestamp 03/16/2020 02:36:59 PM
Step Count 158 Switch Count 4
Page Faults 0
Page Reclaims 474
Page Swaps 0
Voluntary Context Switches 25
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
NOTE: There were 11 observations read from the data set WORK.WIDE.
NOTE: The data set WORK.LONG1 has 180 observations and 13 variables.
NOTE: PROCEDURE TRANSPOSE used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 2914.68k
OS Memory 38064.00k
Timestamp 03/16/2020 02:36:59 PM
Step Count 159 Switch Count 4
Page Faults 0
Page Reclaims 185
Page Swaps 0
Voluntary Context Switches 20
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 528
NOTE: There were 180 observations read from the data set WORK.LONG1.
NOTE: The data set WORK.LONG2 has 1800 observations and 30 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.01 seconds
memory 1553.71k
OS Memory 36012.00k
Timestamp 03/16/2020 02:36:59 PM
Step Count 160 Switch Count 2
Page Faults 0
Page Reclaims 95
Page Swaps 0
Voluntary Context Switches 14
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 1288
NOTE: There were 1800 observations read from the data set WORK.LONG2.
NOTE: The data set WORK.LONG2 has 1800 observations and 6 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 1513.21k
OS Memory 36396.00k
Timestamp 03/16/2020 02:36:59 PM
Step Count 161 Switch Count 2
Page Faults 0
Page Reclaims 193
Page Swaps 0
Voluntary Context Switches 9
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
121 /* Variables in long3 are Participant Condition Feedback Nasalance Time Subject */
122
NOTE: There were 1800 observations read from the data set WORK.LONG2.
NOTE: The data set WORK.LONG3 has 1800 observations and 6 variables.
NOTE: PROCEDURE SORT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 1618.71k
OS Memory 36792.00k
Timestamp 03/16/2020 02:36:59 PM
Step Count 162 Switch Count 2
Page Faults 0
Page Reclaims 128
Page Swaps 0
Voluntary Context Switches 12
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 272
123 proc print data=long3(obs=190); /* Just the first 190 lines */
124
NOTE: There were 190 observations read from the data set WORK.LONG3.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.28 seconds
user cpu time 0.28 seconds
system cpu time 0.00 seconds
memory 2978.78k
OS Memory 35752.00k
Timestamp 03/16/2020 02:36:59 PM
Step Count 163 Switch Count 0
Page Faults 0
Page Reclaims 67
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 128
125 proc freq data=long3;
126 tables participant feedback;
127
NOTE: There were 1800 observations read from the data set WORK.LONG3.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.04 seconds
user cpu time 0.05 seconds
system cpu time 0.00 seconds
memory 1278.78k
OS Memory 36012.00k
Timestamp 03/16/2020 02:37:00 PM
Step Count 164 Switch Count 2
Page Faults 0
Page Reclaims 132
Page Swaps 0
Voluntary Context Switches 19
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 288
128 proc means data=long3;
129 class Feedback; var Nasalance;
130 output out=meanz mean=AveNasalance;
131
NOTE: There were 1800 observations read from the data set WORK.LONG3.
NOTE: The data set WORK.MEANZ has 22 observations and 4 variables.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.04 seconds
user cpu time 0.05 seconds
system cpu time 0.01 seconds
memory 9260.84k
OS Memory 44992.00k
Timestamp 03/16/2020 02:37:00 PM
Step Count 165 Switch Count 3
Page Faults 0
Page Reclaims 2185
Page Swaps 0
Voluntary Context Switches 29
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 288
132 proc print data = meanz;
133
NOTE: There were 22 observations read from the data set WORK.MEANZ.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.03 seconds
user cpu time 0.03 seconds
system cpu time 0.00 seconds
memory 615.00k
OS Memory 37288.00k
Timestamp 03/16/2020 02:37:00 PM
Step Count 166 Switch Count 0
Page Faults 0
Page Reclaims 63
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 1
Block Input Operations 0
Block Output Operations 8
134 proc sgplot data=meanz;
135 title2 'Mean Nasalance as a Function of Feedback';
136 scatter x=Feedback y=AveNasalance;
137
138 proc autoreg data=long3;
NOTE: PROCEDURE SGPLOT used (Total process time):
real time 0.14 seconds
user cpu time 0.06 seconds
system cpu time 0.01 seconds
memory 12415.18k
OS Memory 46248.00k
Timestamp 03/16/2020 02:37:00 PM
Step Count 167 Switch Count 2
Page Faults 0
Page Reclaims 2798
Page Swaps 0
Voluntary Context Switches 211
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 624
NOTE: There were 22 observations read from the data set WORK.MEANZ.
139 title2 'OLS Regression with DW using proc autoreg';
140 model Nasalance = Feedback / dwprob;
141 output out = longer residual = e;
142 run;
NOTE: The graph in the PDF(WEB) destination will be rendered as an image due to the use of a gradient contour.
NOTE: The graph in the PDF(WEB) destination will be rendered as an image due to the use of a surface plot.
NOTE: The graph in the PDF(WEB) destination will be rendered as an image due to the use of a bivariate histogram.
NOTE: The data set WORK.LONGER has 1800 observations and 7 variables.
NOTE: PROCEDURE AUTOREG used (Total process time):
real time 0.52 seconds
user cpu time 0.29 seconds
system cpu time 0.04 seconds
memory 15061.09k
OS Memory 61204.00k
Timestamp 03/16/2020 02:37:00 PM
Step Count 168 Switch Count 35
Page Faults 0
Page Reclaims 13234
Page Swaps 0
Voluntary Context Switches 787
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 7088
143
144 proc mixed cl data=long3;
145 title2 'CS directly with proc mixed';
146 /* class Feedback; */
147 model Nasalance = Feedback;
148 repeated / type=cs subject=Participant;
149
NOTE: 5 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.31 seconds
user cpu time 0.32 seconds
system cpu time 0.00 seconds
memory 1681.28k
OS Memory 50356.00k
Timestamp 03/16/2020 02:37:01 PM
Step Count 169 Switch Count 3
Page Faults 0
Page Reclaims 287
Page Swaps 0
Voluntary Context Switches 23
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 288
150 proc mixed cl data=long3;
151 title2 'CS random shock per subject with proc mixed';
152 class Participant;
153 model Nasalance = Feedback;
154 random Participant;
155
156 /* The numbers match up PERFECTLY, except of course there is no LR chi-square. */
157
NOTE: 5 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.06 seconds
user cpu time 0.07 seconds
system cpu time 0.00 seconds
memory 1069.31k
OS Memory 49580.00k
Timestamp 03/16/2020 02:37:01 PM
Step Count 170 Switch Count 3
Page Faults 0
Page Reclaims 146
Page Swaps 0
Voluntary Context Switches 21
Involuntary Context Switches 1
Block Input Operations 0
Block Output Operations 288
158 proc mixed cl data=long3;
159 title2 'Just AR(1) with proc mixed';
160 model Nasalance = Feedback;
161 repeated / type=ar(1) subject=Participant;
162
NOTE: 5 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.43 seconds
user cpu time 0.43 seconds
system cpu time 0.00 seconds
memory 2014.46k
OS Memory 50100.00k
Timestamp 03/16/2020 02:37:01 PM
Step Count 171 Switch Count 3
Page Faults 0
Page Reclaims 291
Page Swaps 0
Voluntary Context Switches 23
Involuntary Context Switches 2
Block Input Operations 0
Block Output Operations 296
163 proc mixed cl data=long3;
164 title2 'Random shock from subject and AR(1) for errors';
165 class Participant;
166 model Nasalance = Feedback / solution; /* Solution gives beta-hat */
167 random Participant;
168 repeated / type=ar(1) subject=Participant;
169 run;
NOTE: 5 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.59 seconds
user cpu time 0.60 seconds
system cpu time 0.00 seconds
memory 2291.12k
OS Memory 50100.00k
Timestamp 03/16/2020 02:37:02 PM
Step Count 172 Switch Count 3
Page Faults 0
Page Reclaims 278
Page Swaps 0
Voluntary Context Switches 25
Involuntary Context Switches 2
Block Input Operations 0
Block Output Operations 288
170
171 proc mixed cl data=long3;
172 title2 'Feedback is class, Random shock from subject, AR(1) for errors';
173 class Participant Feedback;
174 model Nasalance = Feedback;
175 random Participant;
176 repeated / type=ar(1) subject=Participant;
177 lsmeans Feedback;
178 run;
NOTE: 5 observations are not included because of missing values.
NOTE: Convergence criteria met.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.73 seconds
user cpu time 0.73 seconds
system cpu time 0.00 seconds
memory 3002.56k
OS Memory 50412.00k
Timestamp 03/16/2020 02:37:02 PM
Step Count 173 Switch Count 3
Page Faults 0
Page Reclaims 417
Page Swaps 0
Voluntary Context Switches 23
Involuntary Context Switches 5
Block Input Operations 0
Block Output Operations 312
179
180 quit;
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
206