<?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 Proc GLM in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433323#M22813</link>
    <description>&lt;P&gt;This might be a really stupid question. Even though I am a long time SAS user, I am not sure if I am missing something. I am replicating slides that were done in SPSS in SAS. In SPSS it seems I can get marginal means for levels of my categorical values even though there is no interaction specified in the model. So, my model has married (single Married) and sex (M or F) and I can get a table of means for single Male, Married male, single female, married female using a by statement in SPSS. I see no way to get these means in SAS without specifying an interaction in the model. Am I missing something basic? Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 23:36:17 GMT</pubDate>
    <dc:creator>ahschnell</dc:creator>
    <dc:date>2018-02-01T23:36:17Z</dc:date>
    <item>
      <title>Proc GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433323#M22813</link>
      <description>&lt;P&gt;This might be a really stupid question. Even though I am a long time SAS user, I am not sure if I am missing something. I am replicating slides that were done in SPSS in SAS. In SPSS it seems I can get marginal means for levels of my categorical values even though there is no interaction specified in the model. So, my model has married (single Married) and sex (M or F) and I can get a table of means for single Male, Married male, single female, married female using a by statement in SPSS. I see no way to get these means in SAS without specifying an interaction in the model. Am I missing something basic? Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 23:36:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433323#M22813</guid>
      <dc:creator>ahschnell</dc:creator>
      <dc:date>2018-02-01T23:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433325#M22814</link>
      <description>&lt;P&gt;You might show the code you are using so we can see what potential code interactions there may be.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 23:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433325#M22814</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-01T23:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433330#M22815</link>
      <description>&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my SAS code, but what I want is lsmeans for married by sex at age=0 but without putting the interaction in the model. And so far, that does not seem possible.&lt;BR /&gt;&lt;BR /&gt;PROC GLM DATA=AGE;&lt;BR /&gt;CLASS MARRIED SEX;&lt;BR /&gt;MODEL JOB_PRESTIGE = MARRIED SEX AGE/SS3 INT;&lt;BR /&gt;LSMEANS MARRIED/ AT (age) = (0);&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 00:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433330#M22815</guid>
      <dc:creator>ahschnell</dc:creator>
      <dc:date>2018-02-02T00:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433628#M22816</link>
      <description>&lt;P&gt;You can use the ESTIMATE statement, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=sashelp.baseball;
    class league division ;
    model salary = league division nhits / solution;
    estimate "American East at nhits=50" intercept 1 league 1 0 division 1 0 nhits 50;
    estimate "American West at nhits=50" intercept 1 league 1 0 division 0 1 nhits 50;
    estimate "National East at nhits=50" intercept 1 league 0 1 division 1 0 nhits 50;
    estimate "National West at nhits=50" intercept 1 league 0 1 division 0 1 nhits 50;
    run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-GLM/m-p/433628#M22816</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-02-02T17:48:35Z</dc:date>
    </item>
  </channel>
</rss>

