<?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 do multi-regression at one time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532587#M145947</link>
    <description>&lt;P&gt;The link I provided in my first reply contains sample code.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Feb 2019 15:36:33 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-02-04T15:36:33Z</dc:date>
    <item>
      <title>How to do multi-regression at one time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532484#M145912</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a1 &amp;nbsp; a2 &amp;nbsp; &amp;nbsp; a3.....a25 &amp;nbsp; &amp;nbsp; x1 &amp;nbsp; &amp;nbsp;x2 &amp;nbsp; &amp;nbsp; x3&lt;/P&gt;&lt;P&gt;Now I have 28 columns of variables as above. I want to run regressions with a1,a2......a25 to be my dependent variables respectively, and x1, x2,x3 to be my independent variables all the time. Is there any simple way to do that without repeating the regression 25 times? Thanks a lot!!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 02:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532484#M145912</guid>
      <dc:creator>ADou</dc:creator>
      <dc:date>2019-02-04T02:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to do multi-regression at one time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532487#M145915</link>
      <description>&lt;P&gt;Approaches outlined here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2018/04/25/sweep-thousands-of-regressions.html?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+TheDoLoop+%28The+DO+Loop%29" target="_blank"&gt;https://blogs.sas.com/content/iml/2018/04/25/sweep-thousands-of-regressions.html?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+TheDoLoop+%28The+DO+Loop%29&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 03:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532487#M145915</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-04T03:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to do multi-regression at one time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532537#M145934</link>
      <description>&lt;P&gt;If you do this in PROC GLM, and use MANOVA commands, you can get an analysis that takes into account the correlations between the Y-variables (in other words, it provides more information than just running all those individual regressions). Example: &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_glm_examples06.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_glm_examples06.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 11:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532537#M145934</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-04T11:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to do multi-regression at one time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532556#M145938</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Approaches outlined here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2018/04/25/sweep-thousands-of-regressions.html?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+TheDoLoop+%28The+DO+Loop%29" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2018/04/25/sweep-thousands-of-regressions.html?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+TheDoLoop+%28The+DO+Loop%29&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'd have to say I think this approach is unnecessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In PROC GLM, you can have all of the 25 dependent variables on the left hand side of the MODEL statement, so one pass through PROC GLM gives you the 25 different regressions. It's not clear to me what is gained by the approach at that link.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 13:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532556#M145938</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-04T13:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to do multi-regression at one time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532586#M145946</link>
      <description>&lt;P&gt;Thanks! I don't need the correlations among all the dependent variables, just want to run the OLS regression for each dependent variable(a1.....a25). So could you give me a code sample to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 15:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532586#M145946</guid>
      <dc:creator>ADou</dc:creator>
      <dc:date>2019-02-04T15:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to do multi-regression at one time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532587#M145947</link>
      <description>&lt;P&gt;The link I provided in my first reply contains sample code.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 15:36:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-do-multi-regression-at-one-time/m-p/532587#M145947</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-04T15:36:33Z</dc:date>
    </item>
  </channel>
</rss>

