1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;7071 /* monkey1.sas (2020 version) */72 title 'Primate hippocampal function: Zola-Morgan and Squire (1990)';73 /* Science, Vol. 250 (12 Oct. 1990) , Pages 288-290 */74 title2 'Multivariate approach to repeated measures (within-cases)';7576 data memory;77 infile '/home/brunner0/441s20/monkey.data.txt' firstobs=2;78 input monkey $ treatmnt $ week2 week4 week8 week12 week16;79NOTE: The infile '/home/brunner0/441s20/monkey.data.txt' is:Filename=/home/brunner0/441s20/monkey.data.txt,Owner Name=brunner0,Group Name=oda,Access Permission=-rw-r--r--,Last Modified=01Mar2020:17:38:09,File Size (bytes)=854NOTE: 18 records were read from the infile '/home/brunner0/441s20/monkey.data.txt'.The minimum record length was 42.The maximum record length was 42.NOTE: The data set WORK.MEMORY has 18 observations and 7 variables.NOTE: DATA statement used (Total process time):real time 0.02 secondsuser cpu time 0.00 secondssystem cpu time 0.00 secondsmemory 764.21kOS Memory 30888.00kTimestamp 03/01/2020 10:41:02 PMStep Count 122 Switch Count 2Page Faults 0Page Reclaims 161Page Swaps 0Voluntary Context Switches 21Involuntary Context Switches 0Block Input Operations 8Block Output Operations 26480 proc means data=memory mean;81 class treatmnt;82 var week2 -- week16;83 run;NOTE: There were 18 observations read from the data set WORK.MEMORY.NOTE: PROCEDURE MEANS used (Total process time):real time 0.03 secondsuser cpu time 0.04 secondssystem cpu time 0.01 secondsmemory 9280.03kOS Memory 37820.00kTimestamp 03/01/2020 10:41:02 PMStep Count 123 Switch Count 1Page Faults 0Page Reclaims 1804Page Swaps 0Voluntary Context Switches 10Involuntary Context Switches 0Block Input Operations 0Block Output Operations 88485 proc glm data=memory;86 class treatmnt;87 model week2 -- week16 = treatmnt;88 repeated time profile / short summary mean;89 run;NOTE: The Huynh-Feldt epsilon and the corresponding adjusted p-value have been enhanced to include a correction based on Lecoutre(1991). Use the UEPSDEF=HF option on the REPEATED statement to revert to the previous definition.90NOTE: PROCEDURE GLM used (Total process time):real time 3.56 secondsuser cpu time 0.55 secondssystem cpu time 0.03 secondsmemory 17366.75kOS Memory 47680.00kTimestamp 03/01/2020 10:41:06 PMStep Count 124 Switch Count 2Page Faults 0Page Reclaims 5563Page Swaps 0Voluntary Context Switches 1684Involuntary Context Switches 32Block Input Operations 0Block Output Operations 188891 proc glm data=memory noprint;92 title3 'Replicate test for main effect of treatment: F=8.08, p=0.0118';93 class treatmnt;94 model week2 -- week16 = treatmnt;95 manova H = treatmnt96 M = week2+week4+week8+week12+week16 / short;97 /* M is a matrix of coefficients for transforming the Response vars */98 run;99NOTE: PROCEDURE GLM used (Total process time):real time 0.00 secondsuser cpu time 0.00 secondssystem cpu time 0.00 secondsmemory 1572.75kOS Memory 46008.00kTimestamp 03/01/2020 10:41:06 PMStep Count 125 Switch Count 3Page Faults 0Page Reclaims 220Page Swaps 0Voluntary Context Switches 24Involuntary Context Switches 0Block Input Operations 0Block Output Operations 288100 proc glm data=memory noprint;101 title3 'Replicate tests for main effect of time: Lambda=0.84009249';102 title4 'And time by treatment interaction: Lambda=0.44106117';103 class treatmnt;104 model week2 -- week16 = treatmnt;105 manova H = intercept treatmnt106 M = week2-week4, week4-week8, week8-week12, week12-week16107 / short;108 run;109110 /* But the real point is that the treatment only affects recent memories,111 not older ones. A basic MANOVA is really more to the point. Follow up112 with Bonferroni-corrected univariate tests. 0.05/5 = 0.01. */113NOTE: PROCEDURE GLM used (Total process time):real time 0.00 secondsuser cpu time 0.01 secondssystem cpu time 0.01 secondsmemory 1588.87kOS Memory 46008.00kTimestamp 03/01/2020 10:41:06 PMStep Count 126 Switch Count 4Page Faults 0Page Reclaims 216Page Swaps 0Voluntary Context Switches 34Involuntary Context Switches 0Block Input Operations 0Block Output Operations 288114 proc glm data=memory;115 title3 'MANOVA, no repeated measures';116 class treatmnt;117 model week2 -- week16 = treatmnt;118 manova h = treatmnt;119 run;120121122 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;133