<?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 get p-value using proc reg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319614#M16896</link>
    <description>&lt;P&gt;Add&lt;/P&gt;
&lt;P&gt;Tableout outest=Est&lt;/P&gt;
&lt;P&gt;to the PROC statement&lt;/P&gt;
&lt;P&gt;And output dataset named EST will have the pvalues among a lot of the other model statistics. Look at the value of _type_ the find the pvalue.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 18:57:40 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-12-16T18:57:40Z</dc:date>
    <item>
      <title>how to get p-value using proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319605#M16895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have wrote the following code to built a regression model in SAS. but I also need p-value az an output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=yearlyTrend_calculation;
 model yearlyAvg=a0 a1;
 output out=regres p=yhat r=e stdp=sd;
 run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I would be really appriciate if somebody help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you in advance,&lt;/P&gt;&lt;P&gt;Samira&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 17:59:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319605#M16895</guid>
      <dc:creator>samira</dc:creator>
      <dc:date>2016-12-16T17:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to get p-value using proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319614#M16896</link>
      <description>&lt;P&gt;Add&lt;/P&gt;
&lt;P&gt;Tableout outest=Est&lt;/P&gt;
&lt;P&gt;to the PROC statement&lt;/P&gt;
&lt;P&gt;And output dataset named EST will have the pvalues among a lot of the other model statistics. Look at the value of _type_ the find the pvalue.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 18:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319614#M16896</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-16T18:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to get p-value using proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319617#M16897</link>
      <description>&lt;P&gt;I chaged my code to the following based on your suggestion:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=yearlyTrend_calculation;
model yearlyAvg=a0 a1;
output out=regres p=yhat r=e stdp=sd;
Tableout outest=Est;
run;&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I want to print the result :&amp;nbsp; proc print data=Est; run; &amp;nbsp;, I got the following error:&amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 182         Tableout outest=Est;
             ________
             180
 NOTE: The previous statement has been deleted.
 ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 19:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319617#M16897</guid>
      <dc:creator>samira</dc:creator>
      <dc:date>2016-12-16T19:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to get p-value using proc reg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319640#M16903</link>
      <description>&lt;P&gt;&amp;nbsp;A Proc Statment is the bit that starts with Proc and ends with a ";" .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you want&lt;/P&gt;
&lt;PRE&gt;proc reg data=yearlyTrend_calculation  Tableout outest=Est;
 model yearlyAvg=a0 a1;
 output out=regres p=yhat r=e stdp=sd;
run; &lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-p-value-using-proc-reg/m-p/319640#M16903</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-16T20:38:28Z</dc:date>
    </item>
  </channel>
</rss>

