<?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: Macro for confidence intervals in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Macro-for-confidence-intervals/m-p/170837#M44132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check proc univariate option :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIBASIC , CIPCTLNORMAL&amp;nbsp; is based on Normal distribution .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIPCTLDF&amp;nbsp; is based on Free Distribution i.e. non-parameter method .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2014 13:47:16 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2014-08-22T13:47:16Z</dc:date>
    <item>
      <title>Macro for confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-for-confidence-intervals/m-p/170836#M44131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate confidence intervals around teen birth rates by race (WNH, BNH, Asian NH, and Hispanic) for each the largest towns for the state. I will like to create a macro that identifies if the number of teen births for each race group is less than 100 then to calcualte the Confidence Intervals using a poisson distribution if not then a normal distribution where U &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the following formula when the number of teen births (the numerator) is &amp;gt;= 100:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LCI95 = R - (1.96 * (R/sqrt(Births))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UCI95 = R + (1.96 * (R/sqrt(Births))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R = birth rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B = number of births&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usingthe following formula when the number of teen births (numerator) is &amp;lt; 100:&lt;/P&gt;&lt;P&gt;So I need to create a file with the poisson values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LCI95 = R * L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UCI95 = R * U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R = birth rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L,U = values in the poisson table that correspoins to the number of births.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 20:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-for-confidence-intervals/m-p/170836#M44131</guid>
      <dc:creator>malena</dc:creator>
      <dc:date>2014-08-21T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Macro-for-confidence-intervals/m-p/170837#M44132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check proc univariate option :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIBASIC , CIPCTLNORMAL&amp;nbsp; is based on Normal distribution .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIPCTLDF&amp;nbsp; is based on Free Distribution i.e. non-parameter method .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 13:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Macro-for-confidence-intervals/m-p/170837#M44132</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-08-22T13:47:16Z</dc:date>
    </item>
  </channel>
</rss>

