<?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: Using Proc FMM to mix a Normal and Degenerate distribution in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122528#M6420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for running this, Steve.&amp;nbsp; I am running Base SAS 9.3 TS1M0.&amp;nbsp; I will see if my institution has access to the TS1M1 or TS1M2 update for base, and hope that will fix the problem.&amp;nbsp; It's exciting to hear that it works since I hope to use this to model a variety of data censored by a lower limit of detection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 21:21:44 GMT</pubDate>
    <dc:creator>alynnlaurie</dc:creator>
    <dc:date>2013-04-30T21:21:44Z</dc:date>
    <item>
      <title>Using Proc FMM to mix a Normal and Degenerate distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122525#M6417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm exploring the experimental Proc FMM procedure, and I've run into an issue that doesn't make sense to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use Proc FMM to model normally distributed biological data that has a lower limit of detection (LLD), where there are many observations at the LLD value.&amp;nbsp; It would be great to use Proc FMM to find the mixing probabilities for the normal and degenerate distribution at the LLD value.&amp;nbsp; However, I've found that in Proc FMM, the constant distribution will not mix with the normal or the truncated normal distribution.&amp;nbsp; The constant distribution works well with the Poisson and Negative Binomial distributions, so I'm not sure why it doesn't work with the normal.&amp;nbsp; I'm not sure if this is just a functionality that is not available currently, of if I'm missing something. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some example code that demonstrates this issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data testing(keep=num); *Randomly generates 1,000 observations from N(1,1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i=1 to 1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num = 1 + 1*rannor(0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data testing2; set testing; *Sets anything below 0 (the example LLD value) to 0;&lt;/P&gt;&lt;P&gt;if num &amp;lt;0 then x=0; else x=num;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc fmm data=testing2&amp;nbsp; componentinfo; *Proc FMM Normal distribution mixing with a degenerate distribution at the LLD value, 0;&lt;/P&gt;&lt;P&gt;model x=/ dist=normal;&lt;/P&gt;&lt;P&gt;model&amp;nbsp; + /dist=constant(0);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2013 00:09:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122525#M6417</guid>
      <dc:creator>alynnlaurie</dc:creator>
      <dc:date>2013-04-27T00:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proc FMM to mix a Normal and Degenerate distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122526#M6418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran the code using my current installation (SAS/STAT12.1 TS1M2), and it ran without a problem.&amp;nbsp; I got a much better fit to the data using a truncnormal(0,.) option in the first model statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not running, I suspect that you are on an earlier version, where these problems have been corrected.&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>Mon, 29 Apr 2013 13:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122526#M6418</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-04-29T13:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proc FMM to mix a Normal and Degenerate distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122527#M6419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, maybe truncnormal gives a better fit visually.&amp;nbsp; However, the log likelihood and IC values would point to a normal.&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, 30 Apr 2013 11:19:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122527#M6419</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-04-30T11:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Proc FMM to mix a Normal and Degenerate distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122528#M6420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for running this, Steve.&amp;nbsp; I am running Base SAS 9.3 TS1M0.&amp;nbsp; I will see if my institution has access to the TS1M1 or TS1M2 update for base, and hope that will fix the problem.&amp;nbsp; It's exciting to hear that it works since I hope to use this to model a variety of data censored by a lower limit of detection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 21:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-Proc-FMM-to-mix-a-Normal-and-Degenerate-distribution/m-p/122528#M6420</guid>
      <dc:creator>alynnlaurie</dc:creator>
      <dc:date>2013-04-30T21:21:44Z</dc:date>
    </item>
  </channel>
</rss>

