<?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 do I analyze data from two locations in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-analyze-data-from-two-locations/m-p/699939#M214141</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I am trying to see if I have a significant interaction between both locations ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Problem #1: Location does not appear in your PROC GLIMMIX code.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Problem #2: There's is no such thing in the world of statistical modeling (as far as I understand it) as an "interaction between both locations"; there can be interactions between variable A and variable B, but that's not what you said, and its not obvious how to translate your words into actual statistical interactions. Could you please explain this further?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 18 Nov 2020 18:37:13 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-11-18T18:37:13Z</dc:date>
    <item>
      <title>How do I analyze data from two locations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-analyze-data-from-two-locations/m-p/699930#M214133</link>
      <description>&lt;P&gt;I am trying to see if I have a significant interaction between both locations of my research study. I am a SAS novice and cannot figure out the code needed. An example of my data is below if anyone can help! (I have been using SAS studio 9.4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my previous trials (3 way factorial) I used this code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=last_rating;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class FactorA FactorB FactorC Date Rep;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; model cover = FactorA | FactorB| FactorC |Date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random Rep;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;title 'ANOVA Percent Cover';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=last_rating;&lt;/P&gt;&lt;P&gt;&amp;nbsp;class FactorA FactorB FactorC Rep;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model cover = FactorA |FactorB| FactorC;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random Rep FactorA*Rep FactorA*FactorB*Rep;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsmeans FactorA FactorB FactorC FactorA*FactorB FactorA*FactorC FactorB*FactorC FactorA*FactorB*FactorC / pdiff lines;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, for this trial I am only looking at 2 factors (seeding interval and herbicide) but I have added a second location unlike my previous trials. Can I use location as Factor C?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data example:&lt;/P&gt;&lt;P&gt;TRT Seed_Int Herbicide Rep Location Date_1 Date_2 Date_3 Date_4 Date_5 Date_6&lt;BR /&gt;101 0 GO 1 1 45 90 95 95 100 100&lt;BR /&gt;102 0 SZ 1 1 45 95 95 95 100 100&lt;BR /&gt;103 0 AS 1 1 15 80 95 90 90 100&lt;BR /&gt;104 0 4XT 1 1 25 85 100 95 100 100&lt;BR /&gt;105 0 NON 1 1 50 100 100 100 100 100&lt;BR /&gt;106 3 GO 1 1 10 80 95 95 100 100&lt;BR /&gt;107 3 SZ 1 1 10 85 95 95 100 100&lt;BR /&gt;108 3 AS 1 1 10 85 90 90 95 100&lt;BR /&gt;109 3 4XT 1 1 15 90 100 95 95 100&lt;BR /&gt;110 3 NON 1 1 15 85 95 95 95 100&lt;/P&gt;&lt;P&gt;401 3 SZ 4 2 10 75 90 85 95 90&lt;BR /&gt;402 0 4XT 4 2 25 85 95 80 95 90&lt;BR /&gt;403 7 AS 4 2 0 60 85 80 95 90&lt;BR /&gt;404 14 GO 4 2 0 5 55 70 90 90&lt;BR /&gt;405 7 NON 4 2 0 40 80 80 95 95&lt;BR /&gt;406 3 4XT 4 2 10 85 85 85 95 90&lt;BR /&gt;407 0 SZ 4 2 15 80 75 75 90 85&lt;BR /&gt;408 7 GO 4 2 0 45 70 80 95 85&lt;BR /&gt;409 7 SZ 4 2 0 45 65 75 95 85&lt;BR /&gt;410 0 AS 4 2 10 30 45 80 85 70&lt;BR /&gt;411 7 4XT 4 2 0 30 55 75 85 80&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 18:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-analyze-data-from-two-locations/m-p/699930#M214133</guid>
      <dc:creator>dmcfadden</dc:creator>
      <dc:date>2020-11-18T18:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I analyze data from two locations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-analyze-data-from-two-locations/m-p/699939#M214141</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I am trying to see if I have a significant interaction between both locations ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Problem #1: Location does not appear in your PROC GLIMMIX code.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Problem #2: There's is no such thing in the world of statistical modeling (as far as I understand it) as an "interaction between both locations"; there can be interactions between variable A and variable B, but that's not what you said, and its not obvious how to translate your words into actual statistical interactions. Could you please explain this further?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 18 Nov 2020 18:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-analyze-data-from-two-locations/m-p/699939#M214141</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-18T18:37:13Z</dc:date>
    </item>
  </channel>
</rss>

