<?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 Macro for calculating the change in estimates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/419628#M103196</link>
    <description>&lt;P&gt;Hi everyone! I'm still learning SAS programming. For my current study, I would like to draw a sample of 500 subjects from my original dataset consisting of 1000 subjects, 100 times and run a linear regression. How do I do that using macro? I would appreciate any suggestions/ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Joacy&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 17:04:29 GMT</pubDate>
    <dc:creator>jomag</dc:creator>
    <dc:date>2017-12-08T17:04:29Z</dc:date>
    <item>
      <title>Macro for calculating the change in estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/419628#M103196</link>
      <description>&lt;P&gt;Hi everyone! I'm still learning SAS programming. For my current study, I would like to draw a sample of 500 subjects from my original dataset consisting of 1000 subjects, 100 times and run a linear regression. How do I do that using macro? I would appreciate any suggestions/ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Joacy&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 17:04:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/419628#M103196</guid>
      <dc:creator>jomag</dc:creator>
      <dc:date>2017-12-08T17:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for calculating the change in estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/419630#M103197</link>
      <description>&lt;P&gt;You shouldn't use a macro.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the paper (below) by David Cassell called Don't be loopy. It shows exactly how these types of simulations can be calculated using PROC SURVEYSELECT and standard SAS procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But regardless, first start out with a single iteration that works and then you turn it into a macro or a looped process of some kind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/forum2007/183-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/183-2007.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 17:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/419630#M103197</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-08T17:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for calculating the change in estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/422097#M103787</link>
      <description>&lt;P&gt;Thank you, Reeza&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 19:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-calculating-the-change-in-estimates/m-p/422097#M103787</guid>
      <dc:creator>jomag</dc:creator>
      <dc:date>2017-12-18T19:13:55Z</dc:date>
    </item>
  </channel>
</rss>

