<?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 Proc reg syntax in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667450#M31847</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't really see the difference between those two statements :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=Have;&lt;/P&gt;
&lt;P&gt;model y= x1-x4;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=Have;&lt;/P&gt;
&lt;P&gt;model y= x1 x2 x3 x4;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any answer ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 14:31:32 GMT</pubDate>
    <dc:creator>Mathis1</dc:creator>
    <dc:date>2020-07-07T14:31:32Z</dc:date>
    <item>
      <title>Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667450#M31847</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't really see the difference between those two statements :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=Have;&lt;/P&gt;
&lt;P&gt;model y= x1-x4;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=Have;&lt;/P&gt;
&lt;P&gt;model y= x1 x2 x3 x4;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any answer ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 14:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667450#M31847</guid>
      <dc:creator>Mathis1</dc:creator>
      <dc:date>2020-07-07T14:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667453#M31848</link>
      <description>&lt;P&gt;As long as the variables appear in one of these orders in the dataset:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;x1 x2 x3 x4&lt;/LI&gt;
&lt;LI&gt;x1 x3 x2 x4&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;the statements are equal.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 14:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667453#M31848</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-07T14:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667455#M31849</link>
      <description>&lt;P&gt;What differences do you see?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 14:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667455#M31849</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-07T14:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667467#M31851</link>
      <description>&lt;P&gt;I stumbled upon a multiple choice question on the internet.&lt;BR /&gt;&lt;BR /&gt;Question is :&lt;/P&gt;
&lt;P&gt;Identify the correct sas program for fitting a MLR model with dependent variable y and four predictor variables (x1-x4)/&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The propositions are&amp;nbsp; :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 632px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46968iEBDDDD6C25B11D18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't quite see why answer D is not a correct answer as well as A.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667467#M31851</guid>
      <dc:creator>Mathis1</dc:creator>
      <dc:date>2020-07-07T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667468#M31852</link>
      <description>&lt;P&gt;Because SOLUTION is not a valid option for the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_syntax08.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;MODEL Statement&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Maxim 1: Read the Documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:18:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667468#M31852</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-07T15:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667475#M31854</link>
      <description>&lt;P&gt;You could have run the code yourself and found out that D doesn't work. Or looked in the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A is not wrong, it should give the same answers as B, but unnecessary to use a VAR statement in this situation.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667475#M31854</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-07T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reg syntax</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667531#M31855</link>
      <description>&lt;P&gt;To add to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; explanation, all variables named in the MODEL statement of proc REG are assumed to be numeric. The VAR statement, so often required in other procedures to distinguish numeric from categorical, isn't required. But proc reg can be used to fit many models interactively, it will compute results after every MODEL statement, not knowing yet if more models are to come. The VAR statement tells the procedure about all the variables that you may consider further along in your models. Knowing that, the procedure only needs to read your data once to accumulate all the required sums of crossproducts.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 18:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-reg-syntax/m-p/667531#M31855</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-07-07T18:23:12Z</dc:date>
    </item>
  </channel>
</rss>

