<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to adjust for age as a cofounder in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874250#M43256</link>
    <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also ran this proc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc freq data=logis;&lt;BR /&gt;table agegrp2;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see the frequencies and it came up blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After updating the variable here is the new log (with error still):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 libname cesd4 '/home/u61727912/bios5204';&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref CESD4 was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u61727912/bios5204&lt;/DIV&gt;&lt;DIV class=""&gt;70 data logis;&lt;/DIV&gt;&lt;DIV class=""&gt;71 set cesd4.logis;&lt;/DIV&gt;&lt;DIV class=""&gt;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&lt;/DIV&gt;&lt;DIV class=""&gt;encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce&lt;/DIV&gt;&lt;DIV class=""&gt;performance.&lt;/DIV&gt;&lt;DIV class=""&gt;72 if agegrp &amp;gt;= 50 then agegrp2 = 1;&lt;/DIV&gt;&lt;DIV class=""&gt;73 else if agegrp &amp;gt;= 20 and agegrp &amp;lt;= 49 then agegrp2 = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;74 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 3000 observations read from the data set CESD4.LOGIS.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.LOGIS has 3000 observations and 5 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 1140.84k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23204.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 05/06/2023 09:59:45 AM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 75 Switch Count 2&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 186&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 18&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 264&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;75&lt;/DIV&gt;&lt;DIV class=""&gt;76 proc logistic data=logis descending;&lt;/DIV&gt;&lt;DIV class=""&gt;77 model CKD=EtOH agegrp2 / clodds=wald;&lt;/DIV&gt;&lt;DIV class=""&gt;78 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: There are no valid observations.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 3000 observations read from the data set WORK.LOGIS.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 603.43k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23204.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 05/06/2023 09:59:45 AM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 76 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 52&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;79&lt;/DIV&gt;&lt;DIV class=""&gt;80 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;90&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 06 May 2023 10:00:17 GMT</pubDate>
    <dc:creator>Dylannn3</dc:creator>
    <dc:date>2023-05-06T10:00:17Z</dc:date>
    <item>
      <title>How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873306#M43201</link>
      <description>Question prompt:&lt;BR /&gt;&lt;BR /&gt;examine the effect of alcohol use on CKD, adjusting for age as a potential confounder (included as a dichotomous variable representing 50+ compared to 20-49 years).&lt;BR /&gt;&lt;BR /&gt;Here is my code:&lt;BR /&gt;libname cesd4 '/home/u61727912/bios5204';&lt;BR /&gt;data logis;&lt;BR /&gt;set cesd4.logis;&lt;BR /&gt;if age &amp;gt;= 50 then agegrp2 = 1;&lt;BR /&gt;else if age &amp;gt;= 20 and age &amp;lt;= 49 then agegrp2 = 0;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc logistic data=logis descending;&lt;BR /&gt;model CKD=EtOH agegrp2 / clodds=wald;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Error from SAS:&lt;BR /&gt;There are no valid observations&lt;BR /&gt;&lt;BR /&gt;I’m not sure why it is saying no observations because that shouldn’t be true?</description>
      <pubDate>Tue, 02 May 2023 06:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873306#M43201</guid>
      <dc:creator>Dylannn3</dc:creator>
      <dc:date>2023-05-02T06:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873310#M43202</link>
      <description>&lt;P&gt;Normally such SAS messages are correct. To verify what you've got you could run:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=logis;
  table agegrp2;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 May 2023 07:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873310#M43202</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-05-02T07:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873315#M43203</link>
      <description>&lt;P&gt;Or show the LOG from running the data step. Copy the data step code and all notes, messages, warnings or errors. Then on the forum open a text box and paste all that text.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 08:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873315#M43203</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-02T08:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873376#M43208</link>
      <description>&lt;DIV class=""&gt;Here is the LOG:&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 libname cesd4 '/home/u61727912/bios5204';&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref CESD4 was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u61727912/bios5204&lt;/DIV&gt;&lt;DIV class=""&gt;70 data logis;&lt;/DIV&gt;&lt;DIV class=""&gt;71 set cesd4.logis;&lt;/DIV&gt;&lt;DIV class=""&gt;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&lt;/DIV&gt;&lt;DIV class=""&gt;encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce&lt;/DIV&gt;&lt;DIV class=""&gt;performance.&lt;/DIV&gt;&lt;DIV class=""&gt;72 if age &amp;gt;= 50 then agegrp2 = 1;&lt;/DIV&gt;&lt;DIV class=""&gt;73 else if age &amp;gt;= 20 and age &amp;lt;= 49 then agegrp2 = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;74 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Variable age is uninitialized.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 3000 observations read from the data set CESD4.LOGIS.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.LOGIS has 3000 observations and 6 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 1214.65k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23972.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 05/02/2023 02:27:30 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 67 Switch Count 2&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 163&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 10&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 520&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;75&lt;/DIV&gt;&lt;DIV class=""&gt;76 proc logistic data=logis descending;&lt;/DIV&gt;&lt;DIV class=""&gt;77 model CKD=EtOH agegrp2 / clodds=wald;&lt;/DIV&gt;&lt;DIV class=""&gt;78 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: There are no valid observations.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 3000 observations read from the data set WORK.LOGIS.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 744.34k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23972.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 05/02/2023 02:27:30 PM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 68 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 52&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;79&lt;/DIV&gt;&lt;DIV class=""&gt;80 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;90&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 May 2023 14:29:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873376#M43208</guid>
      <dc:creator>Dylannn3</dc:creator>
      <dc:date>2023-05-02T14:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873379#M43210</link>
      <description>The log says that your AGE variable is uninitialized. As a result, all of the AGEGRP2 values will be missing so that none of the observations are usable in LOGISTIC. Perhaps your age variable has a different name?</description>
      <pubDate>Tue, 02 May 2023 14:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/873379#M43210</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-05-02T14:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874250#M43256</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also ran this proc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc freq data=logis;&lt;BR /&gt;table agegrp2;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see the frequencies and it came up blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After updating the variable here is the new log (with error still):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 libname cesd4 '/home/u61727912/bios5204';&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref CESD4 was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u61727912/bios5204&lt;/DIV&gt;&lt;DIV class=""&gt;70 data logis;&lt;/DIV&gt;&lt;DIV class=""&gt;71 set cesd4.logis;&lt;/DIV&gt;&lt;DIV class=""&gt;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&lt;/DIV&gt;&lt;DIV class=""&gt;encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce&lt;/DIV&gt;&lt;DIV class=""&gt;performance.&lt;/DIV&gt;&lt;DIV class=""&gt;72 if agegrp &amp;gt;= 50 then agegrp2 = 1;&lt;/DIV&gt;&lt;DIV class=""&gt;73 else if agegrp &amp;gt;= 20 and agegrp &amp;lt;= 49 then agegrp2 = 0;&lt;/DIV&gt;&lt;DIV class=""&gt;74 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 3000 observations read from the data set CESD4.LOGIS.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The data set WORK.LOGIS has 3000 observations and 5 variables.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 1140.84k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23204.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 05/06/2023 09:59:45 AM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 75 Switch Count 2&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 186&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 18&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 264&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;75&lt;/DIV&gt;&lt;DIV class=""&gt;76 proc logistic data=logis descending;&lt;/DIV&gt;&lt;DIV class=""&gt;77 model CKD=EtOH agegrp2 / clodds=wald;&lt;/DIV&gt;&lt;DIV class=""&gt;78 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: There are no valid observations.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: There were 3000 observations read from the data set WORK.LOGIS.&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/DIV&gt;&lt;DIV class=""&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;user cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class=""&gt;memory 603.43k&lt;/DIV&gt;&lt;DIV class=""&gt;OS Memory 23204.00k&lt;/DIV&gt;&lt;DIV class=""&gt;Timestamp 05/06/2023 09:59:45 AM&lt;/DIV&gt;&lt;DIV class=""&gt;Step Count 76 Switch Count 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class=""&gt;Page Reclaims 52&lt;/DIV&gt;&lt;DIV class=""&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class=""&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;79&lt;/DIV&gt;&lt;DIV class=""&gt;80 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;90&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 10:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874250#M43256</guid>
      <dc:creator>Dylannn3</dc:creator>
      <dc:date>2023-05-06T10:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874266#M43258</link>
      <description>&lt;P&gt;Run this to see the patterns of missing values that exist in the data and post the results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   proc mi data=logis nimpute=0;
      var CKD EtOH agegrp2;
      ods select MissPattern;
      run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 14:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874266#M43258</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-05-06T14:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874268#M43259</link>
      <description>&lt;P&gt;Probably another variation of not knowing your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code in the log assumes AGEGRP has values of 50 or greater and then between 20 and 49.&lt;/P&gt;
&lt;PRE&gt;72 if agegrp &amp;gt;= 50 then agegrp2 = 1;
73 else if agegrp &amp;gt;= 20 and agegrp &amp;lt;= 49 then agegrp2 = 0;&lt;/PRE&gt;
&lt;P&gt;I bet that someone already reduced something of an age, or used a response to a question so that your AGEGRP variable is already categories of some sort and very likely to have many fewer values.&lt;/P&gt;
&lt;P&gt;Run this and show us the result:&lt;/P&gt;
&lt;PRE&gt;Proc freq data=logis;
   tables agegrp * agegrp2 / list missing;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 15:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874268#M43259</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-06T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874317#M43261</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-07 at 10.10.30 AM.png" style="width: 706px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83672iF26444B1316F5E41/image-dimensions/706x256?v=v2" width="706" height="256" role="button" title="Screenshot 2023-05-07 at 10.10.30 AM.png" alt="Screenshot 2023-05-07 at 10.10.30 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ran the proc freq and this is what it is showing me&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 07:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874317#M43261</guid>
      <dc:creator>Dylannn3</dc:creator>
      <dc:date>2023-05-07T07:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874341#M43262</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/442316"&gt;@Dylannn3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-07 at 10.10.30 AM.png" style="width: 706px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83672iF26444B1316F5E41/image-dimensions/706x256?v=v2" width="706" height="256" role="button" title="Screenshot 2023-05-07 at 10.10.30 AM.png" alt="Screenshot 2023-05-07 at 10.10.30 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Ran the proc freq and this is what it is showing me&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which tells use that your Agegroup variable has already been collapsed to represent some range of ages and does not have any values greater than 1. You need to go to the source of the data to find out what 0 and 1 represent.Likely the 1 means in some specific range of ages and 0 all the other ages. But without documentation somewhere the range is unknown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or find an actual age variable somewhere (might have really different name) or possibly a variable containing date of birth and calculate an age at a given point in that that you can used to make your Agegrp2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 16:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874341#M43262</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-07T16:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust for age as a cofounder</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874356#M43263</link>
      <description>&lt;P&gt;Hi thank you!!! you were correct the age group variable was collapsed. I was able to finish the rest of my analysis. Thank you once again for everyones help in this thread!&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 20:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-adjust-for-age-as-a-cofounder/m-p/874356#M43263</guid>
      <dc:creator>Dylannn3</dc:creator>
      <dc:date>2023-05-07T20:53:45Z</dc:date>
    </item>
  </channel>
</rss>

