<?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: Output the intercept and the corresponding standard error estimated by proc reg to a data set in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410763#M21570</link>
    <description>&lt;P&gt;Use ODS OUTPUT to capture the output tables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=sashelp.class plots=none;
model weight = age height;
ods output parameterEstimates=pe Nobs=nobs;
run;

data stats;
set pe(where=(Variable="Intercept"));
set nobs(where=(Label="Number of Observations Used"));
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 06 Nov 2017 05:26:54 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2017-11-06T05:26:54Z</dc:date>
    <item>
      <title>Output the intercept and the corresponding standard error estimated by proc reg to a data set</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410735#M21569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following code to regress var1 on var2 and var3, and then output the intercepts to model1 dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc reg data=have outest=model1 (keep=intercept); model var1=var2 var3; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is that&amp;nbsp;if I could adjust this code so that model1 includes the intercept as well as its corresponding standard error and/or p-value and the number of observations used for estimation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 01:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410735#M21569</guid>
      <dc:creator>DavyJones</dc:creator>
      <dc:date>2017-11-06T01:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Output the intercept and the corresponding standard error estimated by proc reg to a data set</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410763#M21570</link>
      <description>&lt;P&gt;Use ODS OUTPUT to capture the output tables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=sashelp.class plots=none;
model weight = age height;
ods output parameterEstimates=pe Nobs=nobs;
run;

data stats;
set pe(where=(Variable="Intercept"));
set nobs(where=(Label="Number of Observations Used"));
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Nov 2017 05:26:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410763#M21570</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-11-06T05:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Output the intercept and the corresponding standard error estimated by proc reg to a data set</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410862#M21571</link>
      <description>&lt;P&gt;Sure. Use the TABLEOUT&amp;nbsp;option on the P{ROC REG statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=sashelp.class outest=model1 tableout plots=none; 
model weight=height age; 
quit;

proc print; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Nov 2017 14:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/410862#M21571</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-11-06T14:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Output the intercept and the corresponding standard error estimated by proc reg to a data set</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/411563#M21572</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 15:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Output-the-intercept-and-the-corresponding-standard-error/m-p/411563#M21572</guid>
      <dc:creator>DavyJones</dc:creator>
      <dc:date>2017-11-08T15:57:38Z</dc:date>
    </item>
  </channel>
</rss>

