<?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: Interpreting PROC GLM Results in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446608#M23391</link>
    <description>&lt;P&gt;This is the default way that SAS (all procedures) handles categorical variables. There are different ways to parameterize the model, each with different coefficients, but each parameterization produces the same model and predictions. Under your parameterization, the value of the last level alphabetically (in your case, level 3) is set to zero. The true effect for level 1 is really intercept + level 1 coefficient = 7.76 + 0.3812, and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of trying to interpret the model coefficients of class variables, you probably want to use the LSMEANS command and interpret the LSMEANS values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A better idea, in my opinion, is to treat CD4 as a continuous variable rather than as a class variable CD4_LEVELS.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Mar 2018 20:17:55 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-03-18T20:17:55Z</dc:date>
    <item>
      <title>Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446600#M23390</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm trying to run the proc genmod command, but when I look at level 3, it has 0s across the board but levels 1 and 2 have values. How do I get my level 3 data to show up or&amp;nbsp;interpret them &amp;nbsp;I was told that this was the correct output for&amp;nbsp;what Im trying to do and that I&amp;nbsp;only need 2 estimates to calculate the 3rd&amp;nbsp;but Im unsure of how to do that.&amp;nbsp;Would level 1 be considered the intercept in this case?&amp;nbsp;Would level 2 be&amp;nbsp;considered level 1 and level 3 considered level 2?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data UGAStudent_DATA;
Set date_difference; 

if cd4 &amp;lt;= 200 then cd4_levels='1';
if cd4 &amp;gt;=201 &amp;lt;=500 then cd4_levels='2';
if cd4 &amp;gt; 500 then cd4_levels='3'; 
run;

proc genmod data= ugastudent_data;
class cd4_levels /param=glm ;
model  Factor1 =  cd4_levels n_Duration_on_ART_months ;  
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="large.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19272iD8C0EABEE8DE6928/image-size/large?v=v2&amp;amp;px=999" role="button" title="large.png" alt="large.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 18:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446600#M23390</guid>
      <dc:creator>UGAstudent</dc:creator>
      <dc:date>2018-03-18T18:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446608#M23391</link>
      <description>&lt;P&gt;This is the default way that SAS (all procedures) handles categorical variables. There are different ways to parameterize the model, each with different coefficients, but each parameterization produces the same model and predictions. Under your parameterization, the value of the last level alphabetically (in your case, level 3) is set to zero. The true effect for level 1 is really intercept + level 1 coefficient = 7.76 + 0.3812, and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of trying to interpret the model coefficients of class variables, you probably want to use the LSMEANS command and interpret the LSMEANS values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A better idea, in my opinion, is to treat CD4 as a continuous variable rather than as a class variable CD4_LEVELS.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 20:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446608#M23391</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-18T20:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446618#M23392</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;How do I get my level 3 data to show up or&amp;nbsp;interpret them &amp;nbsp;I was told that this was the correct output for&amp;nbsp;what Im trying to do and that I&amp;nbsp;only need 2 estimates to calculate the 3rd&amp;nbsp;but Im unsure of how to do that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To determine the effect for Level 1,&amp;nbsp;everything else held constant:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level1: Intercept + Level1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level2: Intercept + Level2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level3: Intercept&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's a good write up on interpreting categorical/dummy variables that may help you understand it, especially if you work through it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.idre.ucla.edu/sas/webbooks/reg/chapter3/regression-with-saschapter-3-regression-with-categorical-predictors/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/webbooks/reg/chapter3/regression-with-saschapter-3-regression-with-categorical-predictors/&lt;/A&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 20:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446618#M23392</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-18T20:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446654#M23394</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive added in the lsmeans command. The lsmeans estimate represents severity of disease. So is the interpretation of the LsMeans simply that the higher the mean, the more severity occurs in that particular CD4 level?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-03-18 at 8.46.14 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19279i04B02D37031BBD98/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-03-18 at 8.46.14 PM.png" alt="Screen Shot 2018-03-18 at 8.46.14 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 00:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446654#M23394</guid>
      <dc:creator>UGAstudent</dc:creator>
      <dc:date>2018-03-19T00:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446657#M23395</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im controlling for ART duration, so when interpreting for lets say level 1, im not also controlling for levels 2 and 3 since they are the same variable correct?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 01:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446657#M23395</guid>
      <dc:creator>UGAstudent</dc:creator>
      <dc:date>2018-03-19T01:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446732#M23396</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;How do I get my level 3 data to show up or&amp;nbsp;interpret them &amp;nbsp;I was told that this was the correct output for&amp;nbsp;what Im trying to do and that I&amp;nbsp;only need 2 estimates to calculate the 3rd&amp;nbsp;but Im unsure of how to do that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To determine the effect for Level 1,&amp;nbsp;everything else held constant:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level1: Intercept + Level1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level2: Intercept + Level2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level3: Intercept&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would quibble with this -- I would say the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level1: Intercept + Level1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level2: Intercept + Level2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Level3: Intercept + Level3&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:56:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446732#M23396</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-19T11:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446733#M23397</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/149337"&gt;@UGAstudent&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ive added in the lsmeans command. The lsmeans estimate represents severity of disease. So is the interpretation of the LsMeans simply that the higher the mean, the more severity occurs in that particular CD4 level?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-03-18 at 8.46.14 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19279i04B02D37031BBD98/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-03-18 at 8.46.14 PM.png" alt="Screen Shot 2018-03-18 at 8.46.14 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, this is the estimated mean value of Factor1 based upon the level of CD4_LEVEL. You can also turn on other options in the LSMEANS statement to test whether or not the cd4_level values has statistically different means.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 11:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446733#M23397</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-19T11:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting PROC GLM Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446735#M23398</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/149337"&gt;@UGAstudent&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im controlling for ART duration, so when interpreting for lets say level 1, im not also controlling for levels 2 and 3 since they are the same variable correct?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would say this is not correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no such concept of "controlling for" for dummy variables representing levels of a categorical variable.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 12:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-PROC-GLM-Results/m-p/446735#M23398</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-19T12:00:22Z</dc:date>
    </item>
  </channel>
</rss>

