<?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: proc surveyreg output statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/523002#M73458</link>
    <description>&lt;P&gt;Hi, I noticed the same issue, and I would love to know what's going on.&amp;nbsp; When I use an out= statement with a domain statement in surveyreg, the output dataset has a full set of output rows for EACH level of the domain variable.&amp;nbsp; So three levels of the domain statement will write out a dataset with three times the observations as the original dataset.&amp;nbsp;&amp;nbsp;The DOMAIN variable tells you what level each observation was generated for, but they don't seem to correspond to the original domain variable.&amp;nbsp; In other words, no matter what the original observation's value of the domain variable, you'll still get three output records for that observation.&amp;nbsp; Can anybody explain what SAS is doing?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 05:46:36 GMT</pubDate>
    <dc:creator>monkeybeth</dc:creator>
    <dc:date>2018-12-21T05:46:36Z</dc:date>
    <item>
      <title>proc surveyreg output statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/301665#M60638</link>
      <description>&lt;P&gt;I'm getting duplicate records in my output dataset when I use the&amp;nbsp;predicted= and residual= keywords (in the output statement)? Anybody else encounter this? (just wondering if I'm missing anything)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data=name NOMCAR;&lt;BR /&gt;strata ;&lt;BR /&gt;cluster ;&lt;BR /&gt;weight ;&lt;BR /&gt;domain ;&lt;BR /&gt;class ;&lt;BR /&gt;model var = vars&amp;nbsp;/ VADJUST=NONE solution deff;&lt;BR /&gt;format ;&lt;BR /&gt;output out=name predicted=Predicted residual=Residual;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 23:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/301665#M60638</guid>
      <dc:creator>docstu</dc:creator>
      <dc:date>2016-09-29T23:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyreg output statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/301673#M60640</link>
      <description>&lt;P&gt;Please provide a log that would show the absence of duplicates before and their presence after.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 01:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/301673#M60640</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-30T01:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyreg output statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/301893#M60660</link>
      <description>&lt;P&gt;Unfortunately the SAS log does not&amp;nbsp;include the number of obs read from the input file, which&amp;nbsp;has 19,759 cases&amp;nbsp;(exactly half of what is in the output file).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Writing HTML Body file: sashtml.htm&lt;/P&gt;&lt;P&gt;NOTE: All observations were omitted due to missing values or non-positive weights in domain&lt;/P&gt;&lt;P&gt;Subset=non-DSST sample.&lt;/P&gt;&lt;P&gt;NOTE: The data set MISSING.RESID2_1999_2002 has 39518 observations and 186 variables.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SURVEYREG used (Total process time):&lt;/P&gt;&lt;P&gt;real time 11.45 seconds&lt;/P&gt;&lt;P&gt;cpu time 1.93 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 19:13:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/301893#M60660</guid>
      <dc:creator>docstu</dc:creator>
      <dc:date>2016-10-01T19:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyreg output statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/523002#M73458</link>
      <description>&lt;P&gt;Hi, I noticed the same issue, and I would love to know what's going on.&amp;nbsp; When I use an out= statement with a domain statement in surveyreg, the output dataset has a full set of output rows for EACH level of the domain variable.&amp;nbsp; So three levels of the domain statement will write out a dataset with three times the observations as the original dataset.&amp;nbsp;&amp;nbsp;The DOMAIN variable tells you what level each observation was generated for, but they don't seem to correspond to the original domain variable.&amp;nbsp; In other words, no matter what the original observation's value of the domain variable, you'll still get three output records for that observation.&amp;nbsp; Can anybody explain what SAS is doing?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 05:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-surveyreg-output-statement/m-p/523002#M73458</guid>
      <dc:creator>monkeybeth</dc:creator>
      <dc:date>2018-12-21T05:46:36Z</dc:date>
    </item>
  </channel>
</rss>

