<?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 How to use absorb statement properly. ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-absorb-statement-properly/m-p/739137#M230657</link>
    <description>&lt;P&gt;Hi all SAS Users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When facing the problem of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;Number of levels for some effects &amp;gt; 32767&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when using proc GLM, after reading this &lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/184-31.pdf" target="_self"&gt;white document&lt;/A&gt;, I think it is good to use the absorb statement because from the description, I understand:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;absorb id;
class time;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;class id time;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;will generate the same result (just the difference that the former will not display the statistics for dummy id).&lt;/P&gt;
&lt;P&gt;I try to apply to my case as below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=merge_treat_con;
    ABSORB TYPE;
    class yr;
    model wROE= pt TOT_ASS_TUR wFIRM_SIZE LNGDP UNEMPLOYMENT INFLATION 
		 wLEVERAGE yr/solution ss3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;while TYPE is a &lt;STRONG&gt;character&lt;/STRONG&gt; variable and yr is a &lt;STRONG&gt;numeric&lt;/STRONG&gt; variable.&lt;/P&gt;
&lt;P&gt;Some examples of Type is as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_NZ_0-1620193122098.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59041i7E02F91EF22957EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_NZ_0-1620193122098.png" alt="Phil_NZ_0-1620193122098.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And SAS announced a warning&lt;/P&gt;
&lt;PRE&gt;WARNING: Formatted ABSORB values not sorted in ascending sequence.&lt;/PRE&gt;
&lt;P&gt;I am wondering what is the fix for this issue? I really appreciate if you can give it a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks and warmest regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 05:42:26 GMT</pubDate>
    <dc:creator>Phil_NZ</dc:creator>
    <dc:date>2021-05-05T05:42:26Z</dc:date>
    <item>
      <title>How to use absorb statement properly. ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-absorb-statement-properly/m-p/739137#M230657</link>
      <description>&lt;P&gt;Hi all SAS Users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When facing the problem of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;Number of levels for some effects &amp;gt; 32767&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when using proc GLM, after reading this &lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/184-31.pdf" target="_self"&gt;white document&lt;/A&gt;, I think it is good to use the absorb statement because from the description, I understand:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;absorb id;
class time;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;class id time;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;will generate the same result (just the difference that the former will not display the statistics for dummy id).&lt;/P&gt;
&lt;P&gt;I try to apply to my case as below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=merge_treat_con;
    ABSORB TYPE;
    class yr;
    model wROE= pt TOT_ASS_TUR wFIRM_SIZE LNGDP UNEMPLOYMENT INFLATION 
		 wLEVERAGE yr/solution ss3;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;while TYPE is a &lt;STRONG&gt;character&lt;/STRONG&gt; variable and yr is a &lt;STRONG&gt;numeric&lt;/STRONG&gt; variable.&lt;/P&gt;
&lt;P&gt;Some examples of Type is as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_NZ_0-1620193122098.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59041i7E02F91EF22957EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_NZ_0-1620193122098.png" alt="Phil_NZ_0-1620193122098.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And SAS announced a warning&lt;/P&gt;
&lt;PRE&gt;WARNING: Formatted ABSORB values not sorted in ascending sequence.&lt;/PRE&gt;
&lt;P&gt;I am wondering what is the fix for this issue? I really appreciate if you can give it a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks and warmest regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 05:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-absorb-statement-properly/m-p/739137#M230657</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-05T05:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use absorb statement properly. ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-absorb-statement-properly/m-p/739154#M230665</link>
      <description>&lt;P&gt;Have you seen &lt;A href="https://support.sas.com/kb/46/249.html" target="_self"&gt;this&lt;/A&gt; Usage Note?&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 07:19:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-absorb-statement-properly/m-p/739154#M230665</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-05-05T07:19:18Z</dc:date>
    </item>
  </channel>
</rss>

