<?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: PROC REG by group output help in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237855#M14805</link>
    <description>&lt;P&gt;You can look at the options under proc reg to add different statistics/values to the dataset, in this case TABLEOUT.&lt;/P&gt;
&lt;P&gt;You can also, use the ODS table instead (ODS OUTPUT).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
by sex;
run;

proc reg data=class outest=want tableout;
by sex;
model height=weight age;
ods output parameterestimates=want2;
run;

proc print data=want;
run;
proc print data=want2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2015 16:53:14 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-12-04T16:53:14Z</dc:date>
    <item>
      <title>PROC REG by group output help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237846#M14802</link>
      <description>&lt;P&gt;Hi, I am having trouble making a output table for my regression.&lt;/P&gt;&lt;P&gt;My dataset would look like&lt;/P&gt;&lt;P&gt;id height weight&lt;/P&gt;&lt;P&gt;1 100 200&lt;/P&gt;&lt;P&gt;2 200 300&lt;/P&gt;&lt;P&gt;3 100 400&lt;/P&gt;&lt;P&gt;1 200 300&lt;/P&gt;&lt;P&gt;2 100 130&lt;/P&gt;&lt;P&gt;3 200 400&lt;/P&gt;&lt;P&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the regression&lt;/P&gt;&lt;P&gt;proc reg data=mydata; by id; model height = weight; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will generate a report for each id group. I am only interested in parameter estimates table. How can I bring different groups of parameter estimate tables into one table? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237846#M14802</guid>
      <dc:creator>pwang33</dc:creator>
      <dc:date>2015-12-04T16:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG by group output help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237848#M14803</link>
      <description>&lt;P&gt;Have you tried the OUTEST= option on the PROC REG statement?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=mydata OUTEST=WANT; 
by id; 
model height = weight; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:31:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237848#M14803</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-04T16:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG by group output help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237854#M14804</link>
      <description>&lt;P&gt;Hi Reeza, thank you for the quick reply.&lt;/P&gt;&lt;P&gt;This is a super silly question, but&amp;nbsp;OUTEST option does not report me with t value. How can I add it into the WANT table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:49:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237854#M14804</guid>
      <dc:creator>pwang33</dc:creator>
      <dc:date>2015-12-04T16:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REG by group output help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237855#M14805</link>
      <description>&lt;P&gt;You can look at the options under proc reg to add different statistics/values to the dataset, in this case TABLEOUT.&lt;/P&gt;
&lt;P&gt;You can also, use the ODS table instead (ODS OUTPUT).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
by sex;
run;

proc reg data=class outest=want tableout;
by sex;
model height=weight age;
ods output parameterestimates=want2;
run;

proc print data=want;
run;
proc print data=want2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:53:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REG-by-group-output-help/m-p/237855#M14805</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-04T16:53:14Z</dc:date>
    </item>
  </channel>
</rss>

