<?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 Suppressing output from PROC SURVEYREG in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55460#M15442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the only way I can think of doing it using ODS. Perhaps there's some options on SURVEYSELECT or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2012 20:25:59 GMT</pubDate>
    <dc:creator>Tim_SAS</dc:creator>
    <dc:date>2012-02-16T20:25:59Z</dc:date>
    <item>
      <title>Suppressing output from PROC SURVEYREG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55457#M15439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - I'm trying to figure out how to prevent SAS from outputting certain results to the RTF file.&amp;nbsp; I'm running Proc surveyreg on a complex survey that includes a variable for strata called VARSTR, a categorical variable that has 255 values.&amp;nbsp; I want VARSTR in the model but I don't want SAS to output 255 values in the ParameterEstimates part of the output (each comparing 254 values of VARSTR to the baseline VARSTR value).&amp;nbsp; The reason is that I end up with an RTF that is 20 pages long!&amp;nbsp; Anyone know how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods rtf file = 'F:\SAS\output.rtf''; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods select DataSummary Effects ParameterEstimates;&lt;/P&gt;&lt;P&gt;proc surveyreg data = datafile;&lt;/P&gt;&lt;P&gt;weight perwt;&lt;/P&gt;&lt;P&gt;strata varstr;&lt;/P&gt;&lt;P&gt;cluster varpsu;&lt;/P&gt;&lt;P&gt;class agegroupvariable sex race povcat varstr datayear;&lt;/P&gt;&lt;P&gt;model dependentvariable = agegroupvariable sex race povcat varstr datayear /solution;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55457#M15439</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2012-02-16T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Suppressing output from PROC SURVEYREG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55458#M15440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the ODS TRACE (&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233618.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233618.htm&lt;/A&gt;) statement to determine what output objects PROC SURVEYSELECT creates and which ones you want keep or exclude. Then use ODS SELECT (&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233364.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233364.htm&lt;/A&gt;) or ODS EXCLUDE (&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233281.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233281.htm&lt;/A&gt;) to add just your target objects to the RTF file. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55458#M15440</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2012-02-16T13:20:10Z</dc:date>
    </item>
    <item>
      <title>Suppressing output from PROC SURVEYREG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55459#M15441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim, to clarify - what I am trying to do is exclude certain parts of the object ParameterEstimates.&amp;nbsp; In my code, I've used an ODS SELECT statement to select only the objects that I want to put into my RTF.&amp;nbsp; What I'm trying to do is to prevent the 255 VARSTR comparisons from printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can think of doing is to run the regression and save ParameterEstimates to a dataset using the ODS OUTPUT statement, delete the VARSTR comparisons from this dataset in a data step, then use PROC PRINT to print the dataset (which will then have the parameter estimates, standard errors, p values, etc. that I care about).&amp;nbsp; But this seems tedious.&amp;nbsp; Is there any way other way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 17:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55459#M15441</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2012-02-16T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Suppressing output from PROC SURVEYREG</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55460#M15442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the only way I can think of doing it using ODS. Perhaps there's some options on SURVEYSELECT or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 20:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Suppressing-output-from-PROC-SURVEYREG/m-p/55460#M15442</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2012-02-16T20:25:59Z</dc:date>
    </item>
  </channel>
</rss>

