1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 /* expseries.sas */
74 title 'Experimental data with autocorrelated errors';
75
76 data test;
77 infile '/home/u1407221/441s24/data/expseries.data.txt' firstobs=2;
78 input time dose y;
79 if dose=1 then d1=1; else d1=0;
80 if dose=2 then d2=1; else d2=0;
81
NOTE: The infile '/home/u1407221/441s24/data/expseries.data.txt' is:
Filename=/home/u1407221/441s24/data/expseries.data.txt,
Owner Name=u1407221,Group Name=oda,
Access Permission=-rw-r--r--,
Last Modified=05Mar2024:13:09:41,
File Size (bytes)=3169
NOTE: 150 records were read from the infile '/home/u1407221/441s24/data/expseries.data.txt'.
The minimum record length was 19.
The maximum record length was 19.
NOTE: The data set WORK.TEST has 150 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 770.31k
OS Memory 34476.00k
Timestamp 03/05/2024 06:49:05 PM
Step Count 132 Switch Count 2
Page Faults 0
Page Reclaims 165
Page Swaps 0
Voluntary Context Switches 16
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 272
82 proc glm plots=none data=test;
83 class dose;
84 model y = dose;
85 means dose;
86
NOTE: PROCEDURE GLM used (Total process time):
real time 0.07 seconds
user cpu time 0.07 seconds
system cpu time 0.00 seconds
memory 4330.28k
OS Memory 36284.00k
Timestamp 03/05/2024 06:49:05 PM
Step Count 133 Switch Count 2
Page Faults 0
Page Reclaims 402
Page Swaps 0
Voluntary Context Switches 9
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 296
87 proc autoreg data=test;
88 title2 'Durbin-Watson test and diagnostics';
89 model y = d1 d2 / dwprob;
90
NOTE: The graph in the RTF(WEB) destination will be rendered as an image due to the use of a gradient contour.
NOTE: The graph in the RTF(WEB) destination will be rendered as an image due to the use of a surface plot.
NOTE: The graph in the RTF(WEB) destination will be rendered as an image due to the use of a bivariate histogram.
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: PROCEDURE AUTOREG used (Total process time):
real time 0.52 seconds
user cpu time 0.30 seconds
system cpu time 0.05 seconds
memory 32533.78k
OS Memory 64020.00k
Timestamp 03/05/2024 06:49:05 PM
Step Count 134 Switch Count 17
Page Faults 0
Page Reclaims 17264
Page Swaps 0
Voluntary Context Switches 740
Involuntary Context Switches 10
Block Input Operations 0
Block Output Operations 2368
91 proc autoreg data=test plots=none;
92 title2 'Test higher lags';
93 model y = d1 d2 / nlag=6 method=ml;
94
NOTE: PROCEDURE AUTOREG used (Total process time):
real time 0.30 seconds
user cpu time 0.18 seconds
system cpu time 0.00 seconds
memory 5268.21k
OS Memory 55992.00k
Timestamp 03/05/2024 06:49:05 PM
Step Count 135 Switch Count 1
Page Faults 0
Page Reclaims 715
Page Swaps 0
Voluntary Context Switches 329
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 1416
95 proc autoreg data=test plots=none;
96 title2 'Test for dose differences with AR(4) model';
97 model y = d1 d2 / nlag=4 method = ml;
98 dose: test d1=d2=0;
99
100 run;
NOTE: PROCEDURE AUTOREG used (Total process time):
real time 0.27 seconds
user cpu time 0.15 seconds
system cpu time 0.01 seconds
memory 4550.62k
OS Memory 56504.00k
Timestamp 03/05/2024 06:49:06 PM
Step Count 136 Switch Count 1
Page Faults 0
Page Reclaims 566
Page Swaps 0
Voluntary Context Switches 317
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 1240
101 quit;
102
103
104 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
116