Hi so you were correct about the "age" variable being missed labeled. I updated it to "agegrp" which is the correct variable name but I still can't get the code to run. I also ran this proc: proc freq data=logis; table agegrp2; run; To see the frequencies and it came up blank. After updating the variable here is the new log (with error still): 1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 68 69 libname cesd4 '/home/u61727912/bios5204'; NOTE: Libref CESD4 was successfully assigned as follows: Engine: V9 Physical Name: /home/u61727912/bios5204 70 data logis; 71 set cesd4.logis; NOTE: Data file CESD4.LOGIS.DATA is in a format that is native to another host, or the file encoding does not match the session encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce performance. 72 if agegrp >= 50 then agegrp2 = 1; 73 else if agegrp >= 20 and agegrp <= 49 then agegrp2 = 0; 74 run; NOTE: There were 3000 observations read from the data set CESD4.LOGIS. NOTE: The data set WORK.LOGIS has 3000 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 1140.84k OS Memory 23204.00k Timestamp 05/06/2023 09:59:45 AM Step Count 75 Switch Count 2 Page Faults 0 Page Reclaims 186 Page Swaps 0 Voluntary Context Switches 18 Involuntary Context Switches 0 Block Input Operations 0 Block Output Operations 264 75 76 proc logistic data=logis descending; 77 model CKD=EtOH agegrp2 / clodds=wald; 78 run; ERROR: There are no valid observations. NOTE: The SAS System stopped processing this step because of errors. NOTE: There were 3000 observations read from the data set WORK.LOGIS. NOTE: PROCEDURE LOGISTIC used (Total process time): real time 0.00 seconds user cpu time 0.01 seconds system cpu time 0.00 seconds memory 603.43k OS Memory 23204.00k Timestamp 05/06/2023 09:59:45 AM Step Count 76 Switch Count 0 Page Faults 0 Page Reclaims 52 Page Swaps 0 Voluntary Context Switches 0 Involuntary Context Switches 0 Block Input Operations 0 Block Output Operations 0 79 80 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 90
... View more