<?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 for full quadratic model in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531237#M145369</link>
    <description>&lt;P&gt;How do I write a prediction equation only for the full quadratic model that contains the two linear terms (main effects), the two quadratic terms, and the interaction using PROC REG for the data below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data brand;
	input preference moisturecontent sweetness @@;
	datalines;
	64 4 2 73 4 4 61 4 2 76 4 4 72 6 2 80 6 4 
	71 6 2 83 6 4 83 8 2 89 8 4 86 8 2 93 8 4
	88 10 2 95 10 4 94 10 2 100 10 4
	;
run;
proc print;
run;

proc reg data=brand;
 model preference=moisturecontent sweetness;
 by make;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Jan 2019 03:02:54 GMT</pubDate>
    <dc:creator>JUMMY</dc:creator>
    <dc:date>2019-01-30T03:02:54Z</dc:date>
    <item>
      <title>PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531237#M145369</link>
      <description>&lt;P&gt;How do I write a prediction equation only for the full quadratic model that contains the two linear terms (main effects), the two quadratic terms, and the interaction using PROC REG for the data below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data brand;
	input preference moisturecontent sweetness @@;
	datalines;
	64 4 2 73 4 4 61 4 2 76 4 4 72 6 2 80 6 4 
	71 6 2 83 6 4 83 8 2 89 8 4 86 8 2 93 8 4
	88 10 2 95 10 4 94 10 2 100 10 4
	;
run;
proc print;
run;

proc reg data=brand;
 model preference=moisturecontent sweetness;
 by make;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 03:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531237#M145369</guid>
      <dc:creator>JUMMY</dc:creator>
      <dc:date>2019-01-30T03:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531242#M145374</link>
      <description>&lt;P&gt;Get the regression estimates from:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc rsreg data=brand;
 model preference=moisturecontent sweetness / nooptimal;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ODS OUTPUT parameterEstimates=myEstimates;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to transfer the estimates to a dataset.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 03:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531242#M145374</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-01-30T03:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531246#M145377</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;, how do I use PROC REG instead of PROC RSREG?</description>
      <pubDate>Wed, 30 Jan 2019 03:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531246#M145377</guid>
      <dc:creator>JUMMY</dc:creator>
      <dc:date>2019-01-30T03:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531248#M145379</link>
      <description>&lt;P&gt;With proc reg, you will need an extra datastep to create the quadratic terms variables before calling the procedure.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 03:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531248#M145379</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-01-30T03:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531250#M145381</link>
      <description>@PGStas, can you kindly show me how its done?</description>
      <pubDate>Wed, 30 Jan 2019 03:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531250#M145381</guid>
      <dc:creator>JUMMY</dc:creator>
      <dc:date>2019-01-30T03:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531251#M145382</link>
      <description>&lt;P&gt;Give it a try yourself and come back here if you encounter problems. You will learn more that way.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 04:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531251#M145382</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-01-30T04:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531253#M145384</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;, I tried the code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=one;
 model preference=moisturecontent*moisturecontent sweetness*sweetness 
							moisturecontent*sweetness;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And keep getting this error:&lt;/P&gt;&lt;PRE&gt;10   proc reg data=one;
11    model preference=moisturecontent*moisturecontent sweetness*sweetness
                                      -
                                      22
                                      76
ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -, /, :, _ALL_,
              _CHARACTER_, _CHAR_, _NUMERIC_, {.
ERROR 76-322: Syntax error, statement will be ignored.
12                               moisturecontent*sweetness;
NOTE: The previous statement has been deleted.
13   run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 04:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531253#M145384</guid>
      <dc:creator>JUMMY</dc:creator>
      <dc:date>2019-01-30T04:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG for full quadratic model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531261#M145390</link>
      <description>&lt;P&gt;As I mentioned above, you need an extra datastep to create the quadratic terms variables before calling the procedure.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 05:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REG-for-full-quadratic-model/m-p/531261#M145390</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-01-30T05:29:43Z</dc:date>
    </item>
  </channel>
</rss>

