<?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: Simulation and outputs in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/513499#M2538</link>
    <description>Thank you! You are the hero!</description>
    <pubDate>Thu, 15 Nov 2018 18:16:31 GMT</pubDate>
    <dc:creator>CHELS</dc:creator>
    <dc:date>2018-11-15T18:16:31Z</dc:date>
    <item>
      <title>Simulation and outputs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/512744#M2430</link>
      <description>&lt;P&gt;I have simulated 10,000 data set and wants to use them to perform 10,000 proc phreg.&amp;nbsp; I would then have 10,000 Hazard Ratios and I want to compute their mean. The only way I&amp;nbsp; know how is to ods output the 10,000 Hazard Ratio, combine them together then calculate the mean. I am wondering if there is any better ways of doing without outputting every single one of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 21:03:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/512744#M2430</guid>
      <dc:creator>CHELS</dc:creator>
      <dc:date>2018-11-13T21:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation and outputs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/512753#M2433</link>
      <description>&lt;P&gt;Yes. Instead of 10,000 data sets, use one data set with 10,000 values of an ID variable. Use BY group analysis in PROC PHREG and a single ODS OUTPUT statement. Details in the article&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2012/07/18/simulation-in-sas-the-slow-way-or-the-by-way.html" target="_self"&gt;Simulation in SAS: The slow way or the BY way&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When you so this, &lt;A href="https://blogs.sas.com/content/iml/2013/05/24/turn-off-ods-for-simulations.html" target="_self"&gt;be sure to suppress the output tables to the screen.&lt;/A&gt; Just save the ones you need to a data set.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 21:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/512753#M2433</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-11-13T21:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation and outputs</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/513499#M2538</link>
      <description>Thank you! You are the hero!</description>
      <pubDate>Thu, 15 Nov 2018 18:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Simulation-and-outputs/m-p/513499#M2538</guid>
      <dc:creator>CHELS</dc:creator>
      <dc:date>2018-11-15T18:16:31Z</dc:date>
    </item>
  </channel>
</rss>

