<?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: See the most important interactions between variables when you have many variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641568#M30671</link>
    <description>Try PROC HPGENSELECT .&lt;BR /&gt;&lt;BR /&gt;model y=a|b|c|d....... ;</description>
    <pubDate>Tue, 21 Apr 2020 10:52:37 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-04-21T10:52:37Z</dc:date>
    <item>
      <title>See the most important interactions between variables when you have many variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641544#M30669</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I'm looking to predict a price variable with around 8 variables (each of them being categorical and presenting multiple modalities). Before trying to analyse the two-way interaction , i'd like to see if i can find an interaction A*B that is more significant than others. So i can focus on this interaction to analyze it. Any advice ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 08:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641544#M30669</guid>
      <dc:creator>Mathis1</dc:creator>
      <dc:date>2020-04-21T08:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: See the most important interactions between variables when you have many variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641565#M30670</link>
      <description>&lt;P&gt;I don't think there is a simple Yes or No answer to your question. It depends on the data, and it also depends on what you mean by "most important interaction" (which may or may not be different than where you say "most significant interaction"). Furthermore, in the context of building a model and interpreting the results, there are a lot of things that come into play. So that's my answer — my answer is that there is no simple answer and it depends.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 10:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641565#M30670</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-21T10:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: See the most important interactions between variables when you have many variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641568#M30671</link>
      <description>Try PROC HPGENSELECT .&lt;BR /&gt;&lt;BR /&gt;model y=a|b|c|d....... ;</description>
      <pubDate>Tue, 21 Apr 2020 10:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641568#M30671</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-04-21T10:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: See the most important interactions between variables when you have many variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641579#M30672</link>
      <description>&lt;P&gt;And if you only want to look at two way interactions, add "@2" to the model statement that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp; gave.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC HPGENSELECT data=&amp;lt;yourdatafile&amp;gt;;
CLASS a b c d; /* List all of your variables of interest here */
model y=a|b|c|d@2/distribution=normal; /* Again, include all your variables of interest */&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You should probably have an include option to make sure that you include main effects and that the selection process only addresses the two way interactions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And now for the caveat: Just because an interaction is "more significant" does not imply that it is more important from a process standpoint.&amp;nbsp; That is a matter of knowledge of the field, so be very cautious in proceeding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 11:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641579#M30672</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-04-21T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: See the most important interactions between variables when you have many variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641581#M30673</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;. It's easy to get SAS to do the calculations and present them. It takes a lot more to interpret the model results and pick "most important" or "most significant".&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 11:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641581#M30673</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-21T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: See the most important interactions between variables when you have many variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641683#M30678</link>
      <description>&lt;P&gt;See &lt;A href="http://support.sas.com/kb/22605" target="_self"&gt;this note&lt;/A&gt; on variable importance. One easy alternative discussed there is PROC ADAPTIVEREG. By default it fits a flexible model that is a selection of the most important effects among the possible main effects and the two-way interactions of the variables you specify in the MODEL statement. It includes a table of variable importance values it uses which are based on a GCV criterion that is explained in the procedure documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also might want to be careful if you are planning to assume that your price response variable is normally distributed. Depending on how large those values are, its distribution might be pretty skewed so that a distribution like gamma or inverse Gaussian is more appropriate. Both are supported by ADAPTIVEREG as well as the normal. The RsquareV macro discussed in the note is also a possible way to assess importance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 17:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/See-the-most-important-interactions-between-variables-when-you/m-p/641683#M30678</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-04-21T17:10:44Z</dc:date>
    </item>
  </channel>
</rss>

