<?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: Help on CDF function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Help-on-CDF-function/m-p/130081#M26561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;BEATS HEAD AGAINST DESK&amp;gt;&lt;/P&gt;&lt;P&gt;I left out the value for n--the integer number of mixtures.&amp;nbsp; Most likely because it is also a two...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 14:47:23 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2012-09-25T14:47:23Z</dc:date>
    <item>
      <title>Help on CDF function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-on-CDF-function/m-p/130080#M26560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am working on some mixture problems, and thought I would use the CDF function, with the normalmix distribution.&amp;nbsp; Log info follows&lt;/SPAN&gt;:&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;31 data two;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;32 val=cdf('normalmix',2,.5,.5,0,1,1,1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;33 run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Argument 3 to function CDF at line 32 column 5 is invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;val=. _ERROR_=1 _N_=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now per the documentation as I understand it, with a second argument of 2, indicating a mixture of two normals, I should give two proportions (p&lt;SPAN style="font-size: 8pt;"&gt;i&lt;SPAN style="font-size: 10pt;"&gt;'s in the notation used in the documentation) that sum to 1.&amp;nbsp; Does anybody have some info as to what I need to change the .5's to in order for this to work?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Steve Denham&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 14:42:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-on-CDF-function/m-p/130080#M26560</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-09-25T14:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help on CDF function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-on-CDF-function/m-p/130081#M26561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;BEATS HEAD AGAINST DESK&amp;gt;&lt;/P&gt;&lt;P&gt;I left out the value for n--the integer number of mixtures.&amp;nbsp; Most likely because it is also a two...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 14:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-on-CDF-function/m-p/130081#M26561</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-09-25T14:47:23Z</dc:date>
    </item>
  </channel>
</rss>

