<?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 run regression repeatedly? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586372#M14468</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280123"&gt;@srikanthyadav44&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have to run the regression where in the independent varaibles will be same, but dependent variables will change each time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have nearly 200 dependent variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have to run the regression repeatedly for 200 times for each dependent variable.&lt;/P&gt;
&lt;P&gt;Finally, I have to save the R-squared and adjusted R-squared value of each regression in a separate file along with the name of the dependent variable.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PROC REG allows multiple dependent variables. Thus you need one PROC REG step. No need to transpose your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output modelfit=modelfit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to capture the R-squared values.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 11:00:32 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-09-05T11:00:32Z</dc:date>
    <item>
      <title>how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586300#M14456</link>
      <description>&lt;P&gt;dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have to run the regression where in the independent varaibles will be same, but dependent variables will change each time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have nearly 200 dependent variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have to run the regression repeatedly for 200 times for each dependent variable.&lt;/P&gt;&lt;P&gt;Finally, I have to save the R-squared and adjusted R-squared value of each regression in a separate file along with the name of the dependent variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the format of my file is as follows&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;IV_1&lt;/TD&gt;&lt;TD&gt;IV_2&lt;/TD&gt;&lt;TD&gt;DV_1&lt;/TD&gt;&lt;TD&gt;DV_2&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;DV_200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-1.67137&lt;/TD&gt;&lt;TD&gt;-1.28567&lt;/TD&gt;&lt;TD&gt;-1.41424&lt;/TD&gt;&lt;TD&gt;-1.7678&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-1.83851&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.20913&lt;/TD&gt;&lt;TD&gt;-0.16087&lt;/TD&gt;&lt;TD&gt;-0.17696&lt;/TD&gt;&lt;TD&gt;-0.2212&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.23005&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.41298&lt;/TD&gt;&lt;TD&gt;-0.31768&lt;/TD&gt;&lt;TD&gt;-0.34944&lt;/TD&gt;&lt;TD&gt;-0.4368&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.45428&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.61455&lt;/TD&gt;&lt;TD&gt;-0.47273&lt;/TD&gt;&lt;TD&gt;-0.52001&lt;/TD&gt;&lt;TD&gt;-0.65001&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.67601&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.260277&lt;/TD&gt;&lt;TD&gt;0.200213&lt;/TD&gt;&lt;TD&gt;0.220235&lt;/TD&gt;&lt;TD&gt;0.275293&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.286305&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.13165&lt;/TD&gt;&lt;TD&gt;-0.10127&lt;/TD&gt;&lt;TD&gt;-0.1114&lt;/TD&gt;&lt;TD&gt;-0.13925&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.14482&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.065317&lt;/TD&gt;&lt;TD&gt;0.050244&lt;/TD&gt;&lt;TD&gt;0.055268&lt;/TD&gt;&lt;TD&gt;0.069085&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.071849&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2.116535&lt;/TD&gt;&lt;TD&gt;1.628104&lt;/TD&gt;&lt;TD&gt;1.790914&lt;/TD&gt;&lt;TD&gt;2.238643&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;2.328188&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.64197&lt;/TD&gt;&lt;TD&gt;-0.49382&lt;/TD&gt;&lt;TD&gt;-0.54321&lt;/TD&gt;&lt;TD&gt;-0.67901&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.70617&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.636049&lt;/TD&gt;&lt;TD&gt;1.258499&lt;/TD&gt;&lt;TD&gt;1.384349&lt;/TD&gt;&lt;TD&gt;1.730436&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;1.799654&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.04114&lt;/TD&gt;&lt;TD&gt;-0.03165&lt;/TD&gt;&lt;TD&gt;-0.03481&lt;/TD&gt;&lt;TD&gt;-0.04351&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.04525&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-1.18318&lt;/TD&gt;&lt;TD&gt;-0.91014&lt;/TD&gt;&lt;TD&gt;-1.00116&lt;/TD&gt;&lt;TD&gt;-1.25144&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-1.3015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.87525&lt;/TD&gt;&lt;TD&gt;0.673269&lt;/TD&gt;&lt;TD&gt;0.740596&lt;/TD&gt;&lt;TD&gt;0.925745&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.962775&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.202968&lt;/TD&gt;&lt;TD&gt;0.156129&lt;/TD&gt;&lt;TD&gt;0.171742&lt;/TD&gt;&lt;TD&gt;0.214678&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.223265&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.516805&lt;/TD&gt;&lt;TD&gt;0.397543&lt;/TD&gt;&lt;TD&gt;0.437297&lt;/TD&gt;&lt;TD&gt;0.546621&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.568486&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.137332&lt;/TD&gt;&lt;TD&gt;0.10564&lt;/TD&gt;&lt;TD&gt;0.116204&lt;/TD&gt;&lt;TD&gt;0.145255&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.151065&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-1.62652&lt;/TD&gt;&lt;TD&gt;-1.25117&lt;/TD&gt;&lt;TD&gt;-1.37628&lt;/TD&gt;&lt;TD&gt;-1.72035&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-1.78917&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-2.7442&lt;/TD&gt;&lt;TD&gt;-2.11093&lt;/TD&gt;&lt;TD&gt;-2.32202&lt;/TD&gt;&lt;TD&gt;-2.90252&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-3.01862&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.20355&lt;/TD&gt;&lt;TD&gt;-0.15658&lt;/TD&gt;&lt;TD&gt;-0.17224&lt;/TD&gt;&lt;TD&gt;-0.2153&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.22391&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.12738&lt;/TD&gt;&lt;TD&gt;-0.09799&lt;/TD&gt;&lt;TD&gt;-0.10779&lt;/TD&gt;&lt;TD&gt;-0.13473&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-0.14012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.99255&lt;/TD&gt;&lt;TD&gt;-0.7635&lt;/TD&gt;&lt;TD&gt;-0.83985&lt;/TD&gt;&lt;TD&gt;-1.04981&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;-1.0918&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.33774&lt;/TD&gt;&lt;TD&gt;0.2598&lt;/TD&gt;&lt;TD&gt;0.28578&lt;/TD&gt;&lt;TD&gt;0.357225&lt;/TD&gt;&lt;TD&gt;…………….&lt;/TD&gt;&lt;TD&gt;0.371514&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;IV&amp;nbsp; is independent variable and DV is dependent variable&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please helpe me writing a SAS code for this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 05:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586300#M14456</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-05T05:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586323#M14457</link>
      <description>&lt;P&gt;Transpose, sort and use by in proc reg. Then it all happens in one step.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 07:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586323#M14457</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-05T07:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586324#M14458</link>
      <description>&lt;P&gt;Just a quick example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines dlm='09'x dsd;
input IV_1	IV_2	DV_1	DV_2;
datalines;
-1.67137	-1.28567	-1.41424	-1.7678
-0.20913	-0.16087	-0.17696	-0.2212
-0.41298	-0.31768	-0.34944	-0.4368
-0.61455	-0.47273	-0.52001	-0.65001
0.260277	0.200213	0.220235	0.275293
-0.13165	-0.10127	-0.1114	-0.13925
0.065317	0.050244	0.055268	0.069085
2.116535	1.628104	1.790914	2.238643
-0.64197	-0.49382	-0.54321	-0.67901
1.636049	1.258499	1.384349	1.730436
-0.04114	-0.03165	-0.03481	-0.04351
-1.18318	-0.91014	-1.00116	-1.25144
0.87525	0.673269	0.740596	0.925745	
0.202968	0.156129	0.171742	0.214678
0.516805	0.397543	0.437297	0.546621
0.137332	0.10564	0.116204	0.145255	
-1.62652	-1.25117	-1.37628	-1.72035
-2.7442	-2.11093	-2.32202	-2.90252	
-0.20355	-0.15658	-0.17224	-0.2153	
-0.12738	-0.09799	-0.10779	-0.13473
-0.99255	-0.7635	-0.83985	-1.04981
0.33774	0.2598	0.28578	0.357225
;

proc transpose data=have out=trans;
by iv_1 iv_2 notsorted;
var dv:;
run;

proc sort data=trans;
by _name_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Sep 2019 07:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586324#M14458</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-05T07:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586372#M14468</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280123"&gt;@srikanthyadav44&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have to run the regression where in the independent varaibles will be same, but dependent variables will change each time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have nearly 200 dependent variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have to run the regression repeatedly for 200 times for each dependent variable.&lt;/P&gt;
&lt;P&gt;Finally, I have to save the R-squared and adjusted R-squared value of each regression in a separate file along with the name of the dependent variable.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PROC REG allows multiple dependent variables. Thus you need one PROC REG step. No need to transpose your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output modelfit=modelfit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to capture the R-squared values.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 11:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586372#M14468</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-05T11:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586435#M14487</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280123"&gt;@srikanthyadav44&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have to run the regression where in the independent varaibles will be same, but dependent variables will change each time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have nearly 200 dependent variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have to run the regression repeatedly for 200 times for each dependent variable.&lt;/P&gt;
&lt;P&gt;Finally, I have to save the R-squared and adjusted R-squared value of each regression in a separate file along with the name of the dependent variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Since there are quite a few procedures in SAS that perform regression perhaps you can share the code you would run for one of the dependent variables.&lt;/P&gt;
&lt;P&gt;Some procedures require slightly different methods of placing output into data sets, so your request for the r-squared may rely on the procedure. And possibly which r-squared for some sorts of regressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what is to be done with the 200 output data sets?? You may want to rethink why you think you need so many data sets. This sounds like your next steps my involve lots of "loopy" code that may not be needed.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586435#M14487</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-05T14:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586623#M14535</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562" target="_self"&gt;&lt;SPAN class="login-bold"&gt;KurtBremser&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how to modify the SAS code suggested by you, if i want to run the code with&amp;nbsp; an excel file imported into SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 05:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586623#M14535</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-06T05:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586640#M14538</link>
      <description>&lt;P&gt;Just apply the transpose and sort, using the actual variable names.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 07:04:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586640#M14538</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-06T07:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586652#M14541</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562" target="_self"&gt;&lt;SPAN class="login-bold"&gt;KurtBremser&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your prompt reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understood tranpose and sort, but what changes i have to do to the following code to run the regression&amp;nbsp; with imported excel file.&lt;/P&gt;&lt;P&gt;I may be right that the below code is for the data directly entered in SAS, because you are using &lt;STRONG&gt;datalines.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; have&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token statement"&gt;infile&lt;/SPAN&gt; datalines dlm&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'09'&lt;/SPAN&gt;x dsd&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;input&lt;/SPAN&gt; IV_1	IV_2	DV_1	DV_2&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token datalines"&gt;&lt;SPAN class="token keyword"&gt;datalines&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also can you please explain me what is &lt;STRONG&gt;'dlm='09' x dsd&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 07:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586652#M14541</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-06T07:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586691#M14549</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280123"&gt;@srikanthyadav44&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A much simpler approach appears in &lt;A href="https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586372#M14468" target="_self"&gt;message 4&lt;/A&gt; of this thread. No transposing needed.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 12:02:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586691#M14549</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T12:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586794#M14572</link>
      <description>&lt;P&gt;This step is just there to create an example dataset, in a way that allows everybody who reads the post to recreate it with a simple copy/paste and submit. It is not needed for your application, as you already have your data.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 15:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/586794#M14572</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-06T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/591936#M15299</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892" target="_self"&gt;&lt;SPAN class="login-bold"&gt;PaigeMiller&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;i am unable to solve the problem of running the regression repeatedly and saving the R-squared values in a separate sheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly suggest me a SAS code more clearly and completely.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 17:53:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/591936#M15299</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-26T17:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592008#M15309</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=have;
    model dv_1-dv_200 = iv_1 iv_2;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Sep 2019 20:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592008#M15309</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-26T20:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592082#M15317</link>
      <description>&lt;P&gt;thank you Mr. PaigeMiller.&amp;nbsp; for your prompt reply&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;the SAS code suggested by you is working excellently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after getting the regression results i run the&amp;nbsp; code suggested by you earlier to get the R-squared values in a separate file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"ods output modelfit=modelfit;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But it is not working. my SAS university edition software is hanging when i run that code.&lt;/P&gt;&lt;P&gt;if there is any other alternative way to get the R-squared values, please suggest me.&lt;BR /&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 04:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592082#M15317</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-27T04:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592120#M15321</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;But it is not working.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is not enough information. You need to show us the LOG of PROC REG, including the code and error message. Please click on the {i} icon and paste the log into the window that appears. &lt;STRONG&gt;Do not skip this step&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592120#M15321</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-27T10:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592561#M15373</link>
      <description>&lt;P&gt;dear Mr. &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892" target="_self"&gt;&lt;SPAN class="login-bold"&gt;PaigeMiller&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run the "&amp;nbsp;&lt;SPAN&gt;ods output modelfit=modelfit;" i am gettting the following message in log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;STRONG&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 ods output modelfit=modelfit;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;please help in resolving this problem&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;thanks in advance&amp;nbsp;&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 05:00:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592561#M15373</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-30T05:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592587#M15377</link>
      <description>&lt;P&gt;dear Mr. Paigemiller&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i run the SAS code as following and then i got the error as mentioned in the previous reply&lt;/P&gt;&lt;PRE&gt;proc reg data=stocks;&lt;BR /&gt;model Y1 - Y5=X1 X2;&lt;BR /&gt;run; &lt;BR /&gt;quit;&lt;BR /&gt;ods output modelfit=modelfit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 08:37:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592587#M15377</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-30T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592611#M15379</link>
      <description>&lt;P&gt;ODS OUTPUT goes immediately before the PROC statement, or inside the PROC, before RUN;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 10:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592611#M15379</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-30T10:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592615#M15380</link>
      <description>&lt;P&gt;dear Mr. Paigemiller&lt;/P&gt;&lt;P&gt;as you have replied, i run the code in two different ways. Still i am not getting the required output&lt;/P&gt;&lt;P&gt;regression output is generated, but R-squared values are not&amp;nbsp; produced separately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i used the code as follows&lt;/P&gt;&lt;PRE&gt;ods output modelfit=modelfit;&lt;BR /&gt;proc reg data=stocks;&lt;BR /&gt;model 	Y1- Y5= X1 X2;&lt;BR /&gt;RUN;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;proc reg data=stocks;&lt;BR /&gt;model Y1- Y5= X1 X2;&lt;BR /&gt;ods output modelfit=modelfit;&lt;BR /&gt;RUN;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I am getting the following error in log &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;BR /&gt;73 &lt;BR /&gt;74 proc reg data=stocks;&lt;BR /&gt;75 model Y1- Y5= X1 X2;&lt;BR /&gt;76 ods output modelfit=modelfit;&lt;BR /&gt;77 RUN;&lt;BR /&gt;&lt;BR /&gt;78 QUIT;&lt;BR /&gt;&lt;BR /&gt;WARNING: Output 'modelfit' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, &lt;BR /&gt;verify that the appropriate procedure options are used to produce the requested output object. For example, verify that &lt;BR /&gt;the NOPRINT option is not used.&lt;BR /&gt;NOTE: PROCEDURE REG used (Total process time):&lt;BR /&gt;real time 17.00 seconds&lt;BR /&gt;cpu time 3.96 seconds&lt;BR /&gt;&lt;BR /&gt;kindly help me out&lt;BR /&gt;&lt;BR /&gt;thanks in advance &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 11:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592615#M15380</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-09-30T11:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592638#M15382</link>
      <description>&lt;P&gt;This appears to be my mistake.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should say&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output &lt;SPAN&gt;FitStatistics&lt;/SPAN&gt;=&lt;SPAN&gt;FitStatistics&lt;/SPAN&gt;;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Sep 2019 12:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592638#M15382</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-30T12:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to run regression repeatedly?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592923#M15431</link>
      <description>Dear Mr. Paigemiller&lt;BR /&gt;&lt;BR /&gt;i run the code successfully.&lt;BR /&gt;&lt;BR /&gt;thanks a lot for your help.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Oct 2019 05:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-run-regression-repeatedly/m-p/592923#M15431</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2019-10-01T05:22:16Z</dc:date>
    </item>
  </channel>
</rss>

