<?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 conduct test of linear combinations for fixed effects analysis? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-conduct-test-of-linear-combinations-for-fixed-effects/m-p/618227#M77059</link>
    <description>&lt;P&gt;1.&amp;nbsp; The choice of GLM or MIXED depends on the error structure, and not the fact that you want have a fixed effect model or you want to test a linear combination. GLM assume the errors a iid normally distributed. MIXED allows for errors to be non-iid errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I believe you would use the ESTIMATE statement in GLM (and I think in MIXED) to obtain the estimate for your linear combination. Since you have no CLASS variables, you could also use PROC REG and the TEST command.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 23:59:37 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-01-17T23:59:37Z</dc:date>
    <item>
      <title>How to conduct test of linear combinations for fixed effects analysis?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-conduct-test-of-linear-combinations-for-fixed-effects/m-p/618226#M77058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am conducting comparative interrupted time series with fixed effects analysis. Basically I am trying to model the pre-post difference for each entity and to test whether the pre-post difference is significant depending on the group(which I call D1 below) that the entity belongs to. This is what I've tried so far using proc glm:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GLM;&lt;BR /&gt;ABSORB entity;
MODEL Y = year post yearXpost D1 yearXD1 postXD1 yearXpostXD1;
TEST1: test post + yearXpost + postXD1 + postXyearXD1 =0;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;[SAS Version 9.4]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1: Is proc glm or proc mixed more suitable for conducting fixed effects analysis? Is this considered repeated measures since year is already modelled?&lt;/P&gt;&lt;P&gt;Q2: How do I conduct the test of linear combinations using either procedure? I know that&amp;nbsp;stata calls it LINCOM, and for normal regression, TEST does it within SAS, but not sure how to do this for fixed effects using either of the procedures above...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 23:44:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-conduct-test-of-linear-combinations-for-fixed-effects/m-p/618226#M77058</guid>
      <dc:creator>Chris17</dc:creator>
      <dc:date>2020-01-17T23:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct test of linear combinations for fixed effects analysis?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-conduct-test-of-linear-combinations-for-fixed-effects/m-p/618227#M77059</link>
      <description>&lt;P&gt;1.&amp;nbsp; The choice of GLM or MIXED depends on the error structure, and not the fact that you want have a fixed effect model or you want to test a linear combination. GLM assume the errors a iid normally distributed. MIXED allows for errors to be non-iid errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I believe you would use the ESTIMATE statement in GLM (and I think in MIXED) to obtain the estimate for your linear combination. Since you have no CLASS variables, you could also use PROC REG and the TEST command.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 23:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-conduct-test-of-linear-combinations-for-fixed-effects/m-p/618227#M77059</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-17T23:59:37Z</dc:date>
    </item>
  </channel>
</rss>

