<?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 output wald test result from SURVEYREG and SURVEYLOGISTIC? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-output-wald-test-result-from-SURVEYREG-and-SURVEYLOGISTIC/m-p/308260#M66122</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;not sure I understood it right.&lt;/P&gt;&lt;P&gt;if this isn't what you are looking for, please provide some picture of what you want using a dataset we can run on our machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   ods select none;
   ods output globalTests=gt;
   proc surveylogistic data= sashelp.class;
      model age (descending) = weight height weight*height/rsquare;
      ods output ParameterEstimates= output NObs = NObs Fitstatistics= Fitstat;
      estimate weight 1 weight*height 1;
   run;
   ods output close;
   ods select all;

   data gt;
      set gt;
      where test eq 'Wald';
   run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2016 12:48:23 GMT</pubDate>
    <dc:creator>Oligolas</dc:creator>
    <dc:date>2016-10-31T12:48:23Z</dc:date>
    <item>
      <title>How to output wald test result from SURVEYREG and SURVEYLOGISTIC?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-output-wald-test-result-from-SURVEYREG-and-SURVEYLOGISTIC/m-p/308155#M66083</link>
      <description>&lt;P&gt;I would like to know how to extract statistics related to wald-test results ("estimate" part in the below SAS codes) when I run an OLS or logistic regression using SURVEYREG or SURVEYLOGITIC. As you know, I am able to extract other statistics (e.g. ParameterEstimates, NObs, FItStatistics) from the ODS Output. But, I don'k now how to extract wald statistics (chisq or t-stat) and its related p-value. Please help me if there is anybody knowing&amp;nbsp;this. Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveylogistic data= data;&lt;BR /&gt;model dep (descending) = &lt;SPAN&gt;indep1 &lt;/SPAN&gt;&lt;SPAN&gt;Dummy &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Indep1 &lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;Dummy &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; /rsquare;&lt;BR /&gt;ods output ParameterEstimates= output NObs = NObs Fitstatistics= Fitstat;&lt;BR /&gt;&lt;STRONG&gt;estimate Indep1 1 Indep1 *Dummy 1;&lt;/STRONG&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data= &amp;amp;data;&lt;BR /&gt;model dep= indep1 &lt;SPAN&gt;Dummy &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Indep1 &lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;Dummy &lt;/SPAN&gt;&amp;nbsp;/adjrsq solution;&lt;BR /&gt;ods output ParameterEstimates= &amp;amp;output datasummary = Summary fitstatistics= FitStat; ;;&lt;BR /&gt;&lt;STRONG&gt;estimate Indep1 1 Indep1 *Dummy 1;&lt;/STRONG&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2016 19:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-output-wald-test-result-from-SURVEYREG-and-SURVEYLOGISTIC/m-p/308155#M66083</guid>
      <dc:creator>Anonym432</dc:creator>
      <dc:date>2016-10-30T19:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to output wald test result from SURVEYREG and SURVEYLOGISTIC?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-output-wald-test-result-from-SURVEYREG-and-SURVEYLOGISTIC/m-p/308260#M66122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;not sure I understood it right.&lt;/P&gt;&lt;P&gt;if this isn't what you are looking for, please provide some picture of what you want using a dataset we can run on our machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   ods select none;
   ods output globalTests=gt;
   proc surveylogistic data= sashelp.class;
      model age (descending) = weight height weight*height/rsquare;
      ods output ParameterEstimates= output NObs = NObs Fitstatistics= Fitstat;
      estimate weight 1 weight*height 1;
   run;
   ods output close;
   ods select all;

   data gt;
      set gt;
      where test eq 'Wald';
   run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 12:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-output-wald-test-result-from-SURVEYREG-and-SURVEYLOGISTIC/m-p/308260#M66122</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2016-10-31T12:48:23Z</dc:date>
    </item>
  </channel>
</rss>

