<?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: ODS Output Type 3 proc surveyselect in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322992#M17081</link>
    <description>&lt;P&gt;What does the log say in this case?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 14:50:26 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-06T14:50:26Z</dc:date>
    <item>
      <title>ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322951#M17073</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to write ods output while using proc surveyselect&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;options mprint mlogic symbolgen;&lt;BR /&gt;%macro LogitBoot(data = , dv = , iv = ,class=, n = );&lt;BR /&gt;proc sql noprint;&lt;BR /&gt;create table logit_result&lt;BR /&gt;(iv char(10), prob num format = 6.4,&lt;BR /&gt;sig1 num format = 4., sig2 num format = 4.,&lt;BR /&gt;sig3 num format = 4., sig4 num format = 4.);&lt;BR /&gt;select count(*) into :sample from &amp;amp;data;&lt;BR /&gt;quit;&lt;BR /&gt;%do i = 1 %to &amp;amp;n;&lt;BR /&gt;proc surveyselect data = training method = urs out = &amp;amp;data._tmp n = &amp;amp;sample&lt;BR /&gt;noprint;&lt;BR /&gt;run;&lt;BR /&gt;ods output type3 = model_tmp;&lt;BR /&gt;%end;&lt;BR /&gt;%mend LogitBoot;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I keep getting the following warning :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Output 'type3' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify&lt;BR /&gt;that the appropriate procedure options are used to produce the requested output object. For example, verify that the&lt;BR /&gt;NOPRINT option is not used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 12:18:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322951#M17073</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-06T12:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322969#M17074</link>
      <description>&lt;P&gt;The ODS statement needs to come before the proc, not after.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RUN is a step boundary, nothing after RUN will affect the PROC before.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322969#M17074</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-06T13:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322970#M17075</link>
      <description>Sorry doesn't work !!</description>
      <pubDate>Fri, 06 Jan 2017 13:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322970#M17075</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-06T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322971#M17076</link>
      <description>&lt;P&gt;What does the log say then?&lt;/P&gt;
&lt;P&gt;Try getting it working without a macro first and then you can convert your code to macro logic.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322971#M17076</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-06T13:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322972#M17077</link>
      <description>&lt;P&gt;Proc surveyselect will not generate any model so using table name type3 makes no sense. What are you trying to do in the ODS statement?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:55:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322972#M17077</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-06T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322974#M17078</link>
      <description>&lt;P&gt;Here is an article about how to &lt;A href="http://blogs.sas.com/content/iml/2015/09/08/ods-table-names.html" target="_self"&gt;"Find the ODS table names produced by any SAS procedure"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are (at least) three things wrong with your program.&lt;/P&gt;
&lt;P&gt;1. When you use the NOPRINT option, no ODS output is created.&lt;/P&gt;
&lt;P&gt;2. &lt;A href="http://go.documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_surveyselect_details35.htm&amp;amp;locale=en" target="_self"&gt;The SURVEYSELECT procedure does not create a table named 'Type3';&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. Any ODS statement needs to go before or inside a procedue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a bigger problem, however. it appears that you are trying to do bootstrapping by using a macro loop. This is a bad idea. Please read the following article, which describes a better way to bootstrap in SAS:&lt;/P&gt;
&lt;P&gt;- &lt;A href="http://blogs.sas.com/content/iml/2016/08/10/bootstrap-confidence-interval-sas.html" target="_self"&gt;"Compute a bootstrap confidence interval in SAS"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="wrapper" class="hfeed"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322974#M17078</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-06T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322977#M17080</link>
      <description>&lt;P&gt;I even tried to do the following :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data = training_tmp desc;&lt;BR /&gt;freq numberhits;&lt;BR /&gt;class &amp;amp;class1;&lt;BR /&gt;model CancelInd = &amp;amp;new_var;&lt;BR /&gt;ODS OUTPUT oddsratios=odds1 type3=type1 fitstatistics =fit1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;But it generates everything else apart from the type3&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322977#M17080</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-06T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322992#M17081</link>
      <description>&lt;P&gt;What does the log say in this case?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/322992#M17081</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-06T14:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/323185#M17096</link>
      <description>&lt;P&gt;The issue resolves if a ref statement is specified in the class statement&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2017 00:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/323185#M17096</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-08T00:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Type 3 proc surveyselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/323188#M17097</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120339"&gt;@Lopa2016&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;The issue resolves if a ref statement is specified in the class statement&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is incorrect, you must have had some other error. Did you include a CLASS variable, that is required?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=sashelp.heart;
class BP_status;
model status = bp_status height weight;
ods output type3=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Log - note the message that the table name has changed and this may not work in the future:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;60&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;61 proc logistic data=sashelp.heart;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;62 class BP_status;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;63 model status = bp_status height weight;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;64 ods output type3=want;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;65 run;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1482868910021" class="sasNote"&gt;NOTE: PROC LOGISTIC is modeling the probability that Status='Alive'. One way to change this to model the probability that&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Status='Dead' is to specify the response variable option EVENT='Dead'.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1482868910021" class="sasNote"&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;/DIV&gt;
&lt;DIV id="sasLogWarning1_1482868910021" class="sasWarning"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;WARNING: The Logistic output formerly named Type3 is now named ModelANOVA. Please use the new output name in the future; the old&amp;nbsp;syntax might not work in the next release.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote4_1482868910021" class="sasNote"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;NOTE: The data set WORK.WANT has 3 observations and 4 variables.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote5_1482868910021" class="sasNote"&gt;NOTE: There were 5209 observations read from the data set SASHELP.HEART.&lt;/DIV&gt;
&lt;DIV id="sasLogNote6_1482868910021" class="sasNote"&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.14 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.15 seconds&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2017 00:45:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ODS-Output-Type-3-proc-surveyselect/m-p/323188#M17097</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-08T00:45:45Z</dc:date>
    </item>
  </channel>
</rss>

