<?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: Interactions in a regression in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213773#M267590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your prompt response. I was able to make the code with Proc GLM in my previous question. My next problem is I'm having 2 groups of variables: 10 continuous variables X1 x2 .. X10 (and maybe more) and 7 class variables C1 C2 ..C7. Is there any short cut way of coding the interactions between continuous variables and class variables, but excluding interactions within their groups:&lt;/P&gt;&lt;P&gt;X1..X10 X1C1 X1C2.. X1C7 X2C1..X2C7 ...X10C1..X10C7 C1..C7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried (X1X2..X10)|(C1..C7) but the certainly it was not correct syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Mai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 23:52:28 GMT</pubDate>
    <dc:creator>q5pham</dc:creator>
    <dc:date>2015-07-30T23:52:28Z</dc:date>
    <item>
      <title>Interactions in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213771#M267588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my first time posting on SAS Support Communities, so please correct me if I'm not using the correct format for my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here is my problem. I have 5 main continuous effects (Y A B C D) and 1 class effect (3 levels) M. I would like to do a regression with interactions in a form of: &lt;/P&gt;&lt;P&gt;Y= A B C D M AM BM CM DM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me how to code this on sas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Mai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 02:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213771#M267588</guid>
      <dc:creator>q5pham</dc:creator>
      <dc:date>2015-07-30T02:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Interactions in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213772#M267589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a procedure such as PROC GLM you can say&lt;/P&gt;&lt;P&gt;model Y= A B C D M A*M B*M C*M D*M;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glm_details02.htm"&gt; look at the GLM documentation for a full description &lt;/A&gt;of how to specify interactions in SAS regression procedures that support this syntax.&amp;nbsp; The section also includes notational "shortcuts" and how to specify common models.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 13:37:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213772#M267589</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-07-30T13:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interactions in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213773#M267590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your prompt response. I was able to make the code with Proc GLM in my previous question. My next problem is I'm having 2 groups of variables: 10 continuous variables X1 x2 .. X10 (and maybe more) and 7 class variables C1 C2 ..C7. Is there any short cut way of coding the interactions between continuous variables and class variables, but excluding interactions within their groups:&lt;/P&gt;&lt;P&gt;X1..X10 X1C1 X1C2.. X1C7 X2C1..X2C7 ...X10C1..X10C7 C1..C7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried (X1X2..X10)|(C1..C7) but the certainly it was not correct syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Mai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 23:52:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213773#M267590</guid>
      <dc:creator>q5pham</dc:creator>
      <dc:date>2015-07-30T23:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Interactions in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213774#M267591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know how do that.&amp;nbsp; People have written macros that generate models like that. You can try an internet search for terms like&lt;/P&gt;&lt;P&gt;sas macro regression model pairwise&amp;nbsp; interactions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 11:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Interactions-in-a-regression/m-p/213774#M267591</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-07-31T11:13:08Z</dc:date>
    </item>
  </channel>
</rss>

