<?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: Which CDF Function would I use to demonstrate this problem ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774109#M245977</link>
    <description>&lt;PRE&gt;&lt;CODE class=""&gt;data elevator;
	Mean = 1000;
	Sigma = 150;
	Input X;

p = CDF('Normal',x,Mean,Sigma);


Pdiff = CDF('Normal',850,Mean,Sigma) -CDF('Normal',1150,Mean,Sigma);
drop sigma mean;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is what I wrote so far. How would I implement the code that uses the empirical rule of 68%,95%, and 99.7%. I understand that I must add and subtract the standard deviation from the mean but how would that look like in code ?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 03:33:37 GMT</pubDate>
    <dc:creator>Godzilla_Hat</dc:creator>
    <dc:date>2021-10-14T03:33:37Z</dc:date>
    <item>
      <title>Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774085#M245971</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Godzilla_Hat_0-1634173458057.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64679i348192C36DC21B82/image-size/large?v=v2&amp;amp;px=999" role="button" title="Godzilla_Hat_0-1634173458057.png" alt="Godzilla_Hat_0-1634173458057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 01:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774085#M245971</guid>
      <dc:creator>Godzilla_Hat</dc:creator>
      <dc:date>2021-10-14T01:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774106#M245976</link>
      <description>&lt;P&gt;CDF Normal&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n1rnj32uvtwnvfn1kwnsg9d6w6h7.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n1rnj32uvtwnvfn1kwnsg9d6w6h7.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/397864"&gt;@Godzilla_Hat&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Godzilla_Hat_0-1634173458057.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64679i348192C36DC21B82/image-size/large?v=v2&amp;amp;px=999" role="button" title="Godzilla_Hat_0-1634173458057.png" alt="Godzilla_Hat_0-1634173458057.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 02:26:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774106#M245976</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-14T02:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774109#M245977</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;data elevator;
	Mean = 1000;
	Sigma = 150;
	Input X;

p = CDF('Normal',x,Mean,Sigma);


Pdiff = CDF('Normal',850,Mean,Sigma) -CDF('Normal',1150,Mean,Sigma);
drop sigma mean;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is what I wrote so far. How would I implement the code that uses the empirical rule of 68%,95%, and 99.7%. I understand that I must add and subtract the standard deviation from the mean but how would that look like in code ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 03:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774109#M245977</guid>
      <dc:creator>Godzilla_Hat</dc:creator>
      <dc:date>2021-10-14T03:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774110#M245978</link>
      <description>You almost have the 68% one - check your output and rethink the direction of your subtraction. &lt;BR /&gt;&lt;BR /&gt;You can do basic math but it says you need to use cards/datalines so you can do the math in your head and just pass them to SAS, no need to make it harder than that.</description>
      <pubDate>Thu, 14 Oct 2021 03:48:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774110#M245978</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-14T03:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774114#M245979</link>
      <description>&lt;P&gt;Thank you ! I think I got it. How does this look ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data elevator;
infile datalines dlm=','; 
	Mean = 1000;
	Sigma = 150;
Input X Y;

Pdiff = CDF('Normal',X,Mean,Sigma) - CDF('Normal',Y,Mean,Sigma);

drop sigma mean;
datalines;
850,1150
700,1300
550,1450
;
proc print data=elevator;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Oct 2021 04:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774114#M245979</guid>
      <dc:creator>Godzilla_Hat</dc:creator>
      <dc:date>2021-10-14T04:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774195#M246021</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 12:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774195#M246021</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-10-14T12:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Which CDF Function would I use to demonstrate this problem ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774245#M246054</link>
      <description>Looks right to me!</description>
      <pubDate>Thu, 14 Oct 2021 14:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Which-CDF-Function-would-I-use-to-demonstrate-this-problem/m-p/774245#M246054</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-14T14:52:40Z</dc:date>
    </item>
  </channel>
</rss>

