<?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: Running multiple linear regression with different sets of explanatory variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690778#M210172</link>
    <description>&lt;P&gt;As I stated, running many regressions is not a good method. I am reluctant to advise you on modifying code from a method that I think is ineffective. Use PROC GLMSELECT to select variables to put into a regression, or use&amp;nbsp; PROC PLS.&lt;/P&gt;</description>
    <pubDate>Sun, 11 Oct 2020 10:50:47 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-10-11T10:50:47Z</dc:date>
    <item>
      <title>Running multiple linear regression with different sets of explanatory variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690718#M210143</link>
      <description>&lt;P&gt;Let's assume I have several explanatory variables such as X1, X2, ..., Xn and one dependent variable which is Y.&lt;/P&gt;&lt;P&gt;I want to create regression for all possible paired combinations of X. For example:&lt;/P&gt;&lt;P&gt;y~x1 x2&lt;/P&gt;&lt;P&gt;y~x1 x3&lt;/P&gt;&lt;P&gt;y~x1 x4&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;y~ x10 x11.&lt;/P&gt;&lt;P&gt;What kind of a macro do i need?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 19:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690718#M210143</guid>
      <dc:creator>BurakY</dc:creator>
      <dc:date>2020-10-10T19:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Running multiple linear regression with different sets of explanatory variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690719#M210144</link>
      <description>&lt;P&gt;All possible regressions in SAS&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/24/986.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/24/986.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, you asked how to do it, I provide the answer. Is it a good thing to do? Do people actually use this method in general? Well, &lt;STRONG&gt;NO&lt;/STRONG&gt; to both questions. If you want to select variables, there are many more effective approaches, including PROC GLMSELECT and PROC PLS.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 20:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690719#M210144</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-10T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Running multiple linear regression with different sets of explanatory variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690723#M210145</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;. The macro does even more than I need.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 20:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690723#M210145</guid>
      <dc:creator>BurakY</dc:creator>
      <dc:date>2020-10-10T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Running multiple linear regression with different sets of explanatory variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690767#M210166</link>
      <description>&lt;P&gt;Maybe 1 more question. How can I customize this macro to get all possible combination with only 2 independent variables? Because it takes a lot of time macro to run and I don't need combinations with more than 2 independent variables.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 06:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690767#M210166</guid>
      <dc:creator>BurakY</dc:creator>
      <dc:date>2020-10-11T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Running multiple linear regression with different sets of explanatory variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690778#M210172</link>
      <description>&lt;P&gt;As I stated, running many regressions is not a good method. I am reluctant to advise you on modifying code from a method that I think is ineffective. Use PROC GLMSELECT to select variables to put into a regression, or use&amp;nbsp; PROC PLS.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 10:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-multiple-linear-regression-with-different-sets-of/m-p/690778#M210172</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-11T10:50:47Z</dc:date>
    </item>
  </channel>
</rss>

