<?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: How to fit data combing a truncated normal distribution with a weibull distribution in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107153#M5659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can estiamte the 0.5 quantile ("the point at which the PDF accounted for exactly half of the observed frequency") in several ways, not all of which involve PROC FMM:&lt;/P&gt;&lt;P&gt;1) Find the sample median by using PROC MEANS of PROC UNIVARIATE&lt;/P&gt;&lt;P&gt;2) If you really want to use a density estimate, use the HISTOGRAM stmt of PROC UNIVARIATE and the OUTKERNEL= option to get the nonparametric KDE in a data set. Then numerically integrate it, as shoiwn in this article: &lt;A href="http://blogs.sas.com/content/iml/2011/07/08/the-area-under-a-density-estimate-curve-nonparametric-estimates/" title="http://blogs.sas.com/content/iml/2011/07/08/the-area-under-a-density-estimate-curve-nonparametric-estimates/"&gt; The area under a density estimate curve: Nonparametric estimates - The DO Loop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3) For a parametric approach, fit the parameters of your truncnormal+weibull model and then use the CDF function. If f = a*f1 + (1-a)*f2, then cdf(f) = a*cdf(f1) + (1-a)*cdf(f2).&amp;nbsp; The CDF of the truncated normal can be computed from the CDF of the normal (see Wikipedia) and the Weibull distribution is supported by the SAS CDF function directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2013 14:50:51 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2013-06-25T14:50:51Z</dc:date>
    <item>
      <title>How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107144#M5650</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;As I know, there are some functions fitting normal distribution, Weibull distribution, or their combination in the FMM procedure.&lt;/P&gt;&lt;P&gt;However, if I want to fit data which obey a truncated normal distribution combining with a Weibull distribution, such as log-transformed time intervals during feeding in chickens (the simulative image is attached), how to do it? &lt;/P&gt;&lt;P&gt;It will be highly appreciated if the SAS code is given. &lt;/P&gt;&lt;P&gt;Thanks for your kind help and looking forward your quick reply!&lt;/P&gt;&lt;P&gt;Best regards!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11582i8D4E9267ACCD54A0/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="simulative image.jpg" title="simulative image.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 07:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107144#M5650</guid>
      <dc:creator>JamesXu</dc:creator>
      <dc:date>2013-06-14T07:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107145#M5651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure but, Example.37.2 The Usefulness of Custom Starting Values: When Do Cows Eat? really looks like a good starting place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will need the counts rather than the proportions shown on the jpeg, but that should not be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc fmm data=yourdata;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model logint = / dist=truncnormal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + / dist=weibull;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq count;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 12:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107145#M5651</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-06-14T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107146#M5652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Dear Steve:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Thank you for your kind and professional reply&lt;/SPAN&gt;！&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Example.37.2 &lt;/SPAN&gt;“&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;The Usefulness of Custom Starting Values: When Do Cows Eat?&lt;/SPAN&gt;”&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; is indeed a good starting place. Taking it as an example, supposing the entered original data are unchanged (including logInt and relevant counts), if I only want to fit the posterior part of the data after the x-axis point 7.9 (clear part of simulative image 2), using only a truncated (truncation=7.9) normal distribution regardless of the distribution pattern for the anterior part (obscure part of simulative image2), what can I do? &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;I use the below SAS code to obtain relative info: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;proc fmm data=cattle;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model logint = / dist=truncnormal(7.9,.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq count;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;But it doesn't work, following by the warning info :"Adequate starting values could not be determined for this model. The model is probably over-parameterized and contains too many components."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Times New Roman','serif';"&gt;Does my code wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2013 04:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107146#M5652</guid>
      <dc:creator>JamesXu</dc:creator>
      <dc:date>2013-06-16T04:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107147#M5653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="image 2.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3706_image 2.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2013 06:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107147#M5653</guid>
      <dc:creator>JamesXu</dc:creator>
      <dc:date>2013-06-16T06:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107148#M5654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think your code is incorrect.&amp;nbsp; When I submitted it (SAS 9.3 (TS1M2) on a 64 bit Windows 7 machine), it worked fine, converging in six iterations, to an intercept estimate = 9.2544 and scale estimate = 0.4453.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would check the version of SAS you are using, and if it is the same as mine, I think you need to contact Technical Support.&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, 17 Jun 2013 13:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107148#M5654</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-06-17T13:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107149#M5655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear steve:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I always run SAS 9.3 on a 64 bit Windows XP machine, which is the same as yours! When I installed this 9.3 version, some lauguage module was ignored, but I don't think this impair the operation process! The code that mentioned previously does't work despite I have submitted it many times. Could you pls copy the right code to this forum or my email ( &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:zhenqiangxu@163.com"&gt;zhenqiangxu@163.com&lt;/A&gt;&lt;SPAN&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Take example 37.2 as an example again, supposed I can obtain a truncated normal model, the PDF of this truncated normal :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ee.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/3741_ee.jpg" /&gt;&lt;/P&gt;&lt;P&gt;where: cunormal = cumulative normal correction factor to allow for truncation, m and s = mean and standard deviation of the interval lengths distribution and x = logint, 7.5 is the point for truncation.&lt;/P&gt;&lt;P&gt;What I really concern is that &lt;EM&gt;&lt;STRONG&gt;how can I get the point at which the PDF accounted for exactly half of the observed frequency?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Maybe the FMM procedure is not the unique and best way to obtain what I need, so Mr. Steve, could you help me to solve this crucial problem using either other basic codes or the FMM code?&lt;/P&gt;&lt;P&gt;Thanks a lot and best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jun 2013 01:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107149#M5655</guid>
      <dc:creator>JamesXu</dc:creator>
      <dc:date>2013-06-22T01:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107150#M5656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I submitted the following:&lt;/P&gt;&lt;P&gt;data cattle;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input LogInt Count @@;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt; 0.70&amp;nbsp;&amp;nbsp; 195&amp;nbsp; 1.10&amp;nbsp;&amp;nbsp; 233&amp;nbsp; 1.40&amp;nbsp;&amp;nbsp; 355&amp;nbsp; 1.60&amp;nbsp;&amp;nbsp; 563&lt;/P&gt;&lt;P&gt; 1.80&amp;nbsp;&amp;nbsp; 822&amp;nbsp; 1.95&amp;nbsp;&amp;nbsp; 926&amp;nbsp; 2.10&amp;nbsp; 1018&amp;nbsp; 2.20&amp;nbsp; 1712&lt;/P&gt;&lt;P&gt; 2.30&amp;nbsp; 3190&amp;nbsp; 2.40&amp;nbsp; 2212&amp;nbsp; 2.50&amp;nbsp; 1692&amp;nbsp; 2.55&amp;nbsp; 1558&lt;/P&gt;&lt;P&gt; 2.65&amp;nbsp; 1622&amp;nbsp; 2.70&amp;nbsp; 1637&amp;nbsp; 2.75&amp;nbsp; 1568&amp;nbsp; 2.85&amp;nbsp; 1599&lt;/P&gt;&lt;P&gt; 2.90&amp;nbsp; 1575&amp;nbsp; 2.95&amp;nbsp; 1526&amp;nbsp; 3.00&amp;nbsp; 1537&amp;nbsp; 3.05&amp;nbsp; 1561&lt;/P&gt;&lt;P&gt; 3.10&amp;nbsp; 1555&amp;nbsp; 3.15&amp;nbsp; 1427&amp;nbsp; 3.20&amp;nbsp; 2852&amp;nbsp; 3.25&amp;nbsp; 1396&lt;/P&gt;&lt;P&gt; 3.30&amp;nbsp; 1343&amp;nbsp; 3.35&amp;nbsp; 2473&amp;nbsp; 3.40&amp;nbsp; 1310&amp;nbsp; 3.45&amp;nbsp; 2453&lt;/P&gt;&lt;P&gt; 3.50&amp;nbsp; 1168&amp;nbsp; 3.55&amp;nbsp; 2300&amp;nbsp; 3.60&amp;nbsp; 2174&amp;nbsp; 3.65&amp;nbsp; 2050&lt;/P&gt;&lt;P&gt; 3.70&amp;nbsp; 1926&amp;nbsp; 3.75&amp;nbsp; 1849&amp;nbsp; 3.80&amp;nbsp; 1687&amp;nbsp; 3.85&amp;nbsp; 2416&lt;/P&gt;&lt;P&gt; 3.90&amp;nbsp; 1449&amp;nbsp; 3.95&amp;nbsp; 2095&amp;nbsp; 4.00&amp;nbsp; 1278&amp;nbsp; 4.05&amp;nbsp; 1864&lt;/P&gt;&lt;P&gt; 4.10&amp;nbsp; 1672&amp;nbsp; 4.15&amp;nbsp; 2104&amp;nbsp; 4.20&amp;nbsp; 1443&amp;nbsp; 4.25&amp;nbsp; 1341&lt;/P&gt;&lt;P&gt; 4.30&amp;nbsp; 1685&amp;nbsp; 4.35&amp;nbsp; 1445&amp;nbsp; 4.40&amp;nbsp; 1369&amp;nbsp; 4.45&amp;nbsp; 1284&lt;/P&gt;&lt;P&gt; 4.50&amp;nbsp; 1523&amp;nbsp; 4.55&amp;nbsp; 1367&amp;nbsp; 4.60&amp;nbsp; 1027&amp;nbsp; 4.65&amp;nbsp; 1491&lt;/P&gt;&lt;P&gt; 4.70&amp;nbsp; 1057&amp;nbsp; 4.75&amp;nbsp; 1155&amp;nbsp; 4.80&amp;nbsp; 1095&amp;nbsp; 4.85&amp;nbsp; 1019&lt;/P&gt;&lt;P&gt; 4.90&amp;nbsp; 1158&amp;nbsp; 4.95&amp;nbsp; 1088&amp;nbsp; 5.00&amp;nbsp; 1075&amp;nbsp; 5.05&amp;nbsp;&amp;nbsp; 912&lt;/P&gt;&lt;P&gt; 5.10&amp;nbsp; 1073&amp;nbsp; 5.15&amp;nbsp;&amp;nbsp; 803&amp;nbsp; 5.20&amp;nbsp;&amp;nbsp; 924&amp;nbsp; 5.25&amp;nbsp;&amp;nbsp; 916&lt;/P&gt;&lt;P&gt; 5.30&amp;nbsp;&amp;nbsp; 784&amp;nbsp; 5.35&amp;nbsp;&amp;nbsp; 751&amp;nbsp; 5.40&amp;nbsp;&amp;nbsp; 766&amp;nbsp; 5.45&amp;nbsp;&amp;nbsp; 833&lt;/P&gt;&lt;P&gt; 5.50&amp;nbsp;&amp;nbsp; 748&amp;nbsp; 5.55&amp;nbsp;&amp;nbsp; 725&amp;nbsp; 5.60&amp;nbsp;&amp;nbsp; 674&amp;nbsp; 5.65&amp;nbsp;&amp;nbsp; 690&lt;/P&gt;&lt;P&gt; 5.70&amp;nbsp;&amp;nbsp; 659&amp;nbsp; 5.75&amp;nbsp;&amp;nbsp; 695&amp;nbsp; 5.80&amp;nbsp;&amp;nbsp; 529&amp;nbsp; 5.85&amp;nbsp;&amp;nbsp; 639&lt;/P&gt;&lt;P&gt; 5.90&amp;nbsp;&amp;nbsp; 580&amp;nbsp; 5.95&amp;nbsp;&amp;nbsp; 557&amp;nbsp; 6.00&amp;nbsp;&amp;nbsp; 524&amp;nbsp; 6.05&amp;nbsp;&amp;nbsp; 473&lt;/P&gt;&lt;P&gt; 6.10&amp;nbsp;&amp;nbsp; 538&amp;nbsp; 6.15&amp;nbsp;&amp;nbsp; 444&amp;nbsp; 6.20&amp;nbsp;&amp;nbsp; 456&amp;nbsp; 6.25&amp;nbsp;&amp;nbsp; 453&lt;/P&gt;&lt;P&gt; 6.30&amp;nbsp;&amp;nbsp; 374&amp;nbsp; 6.35&amp;nbsp;&amp;nbsp; 406&amp;nbsp; 6.40&amp;nbsp;&amp;nbsp; 409&amp;nbsp; 6.45&amp;nbsp;&amp;nbsp; 371&lt;/P&gt;&lt;P&gt; 6.50&amp;nbsp;&amp;nbsp; 320&amp;nbsp; 6.55&amp;nbsp;&amp;nbsp; 334&amp;nbsp; 6.60&amp;nbsp;&amp;nbsp; 353&amp;nbsp; 6.65&amp;nbsp;&amp;nbsp; 305&lt;/P&gt;&lt;P&gt; 6.70&amp;nbsp;&amp;nbsp; 302&amp;nbsp; 6.75&amp;nbsp;&amp;nbsp; 301&amp;nbsp; 6.80&amp;nbsp;&amp;nbsp; 263&amp;nbsp; 6.85&amp;nbsp;&amp;nbsp; 218&lt;/P&gt;&lt;P&gt; 6.90&amp;nbsp;&amp;nbsp; 255&amp;nbsp; 6.95&amp;nbsp;&amp;nbsp; 240&amp;nbsp; 7.00&amp;nbsp;&amp;nbsp; 219&amp;nbsp; 7.05&amp;nbsp;&amp;nbsp; 202&lt;/P&gt;&lt;P&gt; 7.10&amp;nbsp;&amp;nbsp; 192&amp;nbsp; 7.15&amp;nbsp;&amp;nbsp; 180&amp;nbsp; 7.20&amp;nbsp;&amp;nbsp; 162&amp;nbsp; 7.25&amp;nbsp;&amp;nbsp; 126&lt;/P&gt;&lt;P&gt; 7.30&amp;nbsp;&amp;nbsp; 148&amp;nbsp; 7.35&amp;nbsp;&amp;nbsp; 173&amp;nbsp; 7.40&amp;nbsp;&amp;nbsp; 142&amp;nbsp; 7.45&amp;nbsp;&amp;nbsp; 163&lt;/P&gt;&lt;P&gt; 7.50&amp;nbsp;&amp;nbsp; 152&amp;nbsp; 7.55&amp;nbsp;&amp;nbsp; 149&amp;nbsp; 7.60&amp;nbsp;&amp;nbsp; 139&amp;nbsp; 7.65&amp;nbsp;&amp;nbsp; 161&lt;/P&gt;&lt;P&gt; 7.70&amp;nbsp;&amp;nbsp; 174&amp;nbsp; 7.75&amp;nbsp;&amp;nbsp; 179&amp;nbsp; 7.80&amp;nbsp;&amp;nbsp; 188&amp;nbsp; 7.85&amp;nbsp;&amp;nbsp; 239&lt;/P&gt;&lt;P&gt; 7.90&amp;nbsp;&amp;nbsp; 225&amp;nbsp; 7.95&amp;nbsp;&amp;nbsp; 213&amp;nbsp; 8.00&amp;nbsp;&amp;nbsp; 235&amp;nbsp; 8.05&amp;nbsp;&amp;nbsp; 256&lt;/P&gt;&lt;P&gt; 8.10&amp;nbsp;&amp;nbsp; 272&amp;nbsp; 8.15&amp;nbsp;&amp;nbsp; 290&amp;nbsp; 8.20&amp;nbsp;&amp;nbsp; 320&amp;nbsp; 8.25&amp;nbsp;&amp;nbsp; 355&lt;/P&gt;&lt;P&gt; 8.30&amp;nbsp;&amp;nbsp; 307&amp;nbsp; 8.35&amp;nbsp;&amp;nbsp; 311&amp;nbsp; 8.40&amp;nbsp;&amp;nbsp; 317&amp;nbsp; 8.45&amp;nbsp;&amp;nbsp; 335&lt;/P&gt;&lt;P&gt; 8.50&amp;nbsp;&amp;nbsp; 369&amp;nbsp; 8.55&amp;nbsp;&amp;nbsp; 365&amp;nbsp; 8.60&amp;nbsp;&amp;nbsp; 365&amp;nbsp; 8.65&amp;nbsp;&amp;nbsp; 396&lt;/P&gt;&lt;P&gt; 8.70&amp;nbsp;&amp;nbsp; 419&amp;nbsp; 8.75&amp;nbsp;&amp;nbsp; 467&amp;nbsp; 8.80&amp;nbsp;&amp;nbsp; 468&amp;nbsp; 8.85&amp;nbsp;&amp;nbsp; 515&lt;/P&gt;&lt;P&gt; 8.90&amp;nbsp;&amp;nbsp; 558&amp;nbsp; 8.95&amp;nbsp;&amp;nbsp; 623&amp;nbsp; 9.00&amp;nbsp;&amp;nbsp; 712&amp;nbsp; 9.05&amp;nbsp;&amp;nbsp; 716&lt;/P&gt;&lt;P&gt; 9.10&amp;nbsp;&amp;nbsp; 829&amp;nbsp; 9.15&amp;nbsp;&amp;nbsp; 803&amp;nbsp; 9.20&amp;nbsp;&amp;nbsp; 834&amp;nbsp; 9.25&amp;nbsp;&amp;nbsp; 856&lt;/P&gt;&lt;P&gt; 9.30&amp;nbsp;&amp;nbsp; 838&amp;nbsp; 9.35&amp;nbsp;&amp;nbsp; 842&amp;nbsp; 9.40&amp;nbsp;&amp;nbsp; 826&amp;nbsp; 9.45&amp;nbsp;&amp;nbsp; 834&lt;/P&gt;&lt;P&gt; 9.50&amp;nbsp;&amp;nbsp; 798&amp;nbsp; 9.55&amp;nbsp;&amp;nbsp; 801&amp;nbsp; 9.60&amp;nbsp;&amp;nbsp; 780&amp;nbsp; 9.65&amp;nbsp;&amp;nbsp; 849&lt;/P&gt;&lt;P&gt; 9.70&amp;nbsp;&amp;nbsp; 779&amp;nbsp; 9.75&amp;nbsp;&amp;nbsp; 737&amp;nbsp; 9.80&amp;nbsp;&amp;nbsp; 683&amp;nbsp; 9.85&amp;nbsp;&amp;nbsp; 686&lt;/P&gt;&lt;P&gt; 9.90&amp;nbsp;&amp;nbsp; 626&amp;nbsp; 9.95&amp;nbsp;&amp;nbsp; 582 10.00&amp;nbsp;&amp;nbsp; 522 10.05&amp;nbsp;&amp;nbsp; 450&lt;/P&gt;&lt;P&gt;10.10&amp;nbsp;&amp;nbsp; 443 10.15&amp;nbsp;&amp;nbsp; 375 10.20&amp;nbsp;&amp;nbsp; 342 10.25&amp;nbsp;&amp;nbsp; 285&lt;/P&gt;&lt;P&gt;10.30&amp;nbsp;&amp;nbsp; 254 10.35&amp;nbsp;&amp;nbsp; 231 10.40&amp;nbsp;&amp;nbsp; 195 10.45&amp;nbsp;&amp;nbsp; 186&lt;/P&gt;&lt;P&gt;10.50&amp;nbsp;&amp;nbsp; 143 10.55&amp;nbsp;&amp;nbsp; 100 10.60&amp;nbsp;&amp;nbsp;&amp;nbsp; 73 10.65&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&lt;/P&gt;&lt;P&gt;10.70&amp;nbsp;&amp;nbsp;&amp;nbsp; 28 10.75&amp;nbsp;&amp;nbsp;&amp;nbsp; 36 10.80&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 10.85&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&lt;/P&gt;&lt;P&gt;10.90&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 10.95&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 11.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 11.05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;11.15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 11.25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 11.30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 11.35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;11.40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 11.45&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 11.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc fmm data=cattle gconv=1e-12;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model logint = / dist=truncnormal(7.9,.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq count;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convergence was obtained in six iterations with the following output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter Estimates for 'Truncated Normal' Model &lt;/P&gt;&lt;P&gt;Effect&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Estimate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Standard Error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pr &amp;gt; |z| &lt;/P&gt;&lt;P&gt;Intercept&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9.2544&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.004415&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2096.11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;.0001 &lt;/P&gt;&lt;P&gt;Scale Parameter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4453&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.004623&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your installation is not giving you this, contact Technical Support, as there is likely something wrong in your installation.&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, 24 Jun 2013 13:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107150#M5656</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-06-24T13:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107151#M5657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there are several bugs in the early versions of FMM. Steve, I think you have STAT 12.1 with your 9.3? I still don't have 12.1, and the example program also bombs on my machine. I have found other problems with the experimental FMM. I bet these are all fixed in 12.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 14:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107151#M5657</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2013-06-24T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107152#M5658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep.&amp;nbsp; I've got 12.1 on my PC (and am looking forward to STAT12.3 and SAS9.4).&amp;nbsp; And not looking forward to two stage upgrades on servers still on 9.1.3...&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, 24 Jun 2013 14:37:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107152#M5658</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-06-24T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit data combing a truncated normal distribution with a weibull distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107153#M5659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can estiamte the 0.5 quantile ("the point at which the PDF accounted for exactly half of the observed frequency") in several ways, not all of which involve PROC FMM:&lt;/P&gt;&lt;P&gt;1) Find the sample median by using PROC MEANS of PROC UNIVARIATE&lt;/P&gt;&lt;P&gt;2) If you really want to use a density estimate, use the HISTOGRAM stmt of PROC UNIVARIATE and the OUTKERNEL= option to get the nonparametric KDE in a data set. Then numerically integrate it, as shoiwn in this article: &lt;A href="http://blogs.sas.com/content/iml/2011/07/08/the-area-under-a-density-estimate-curve-nonparametric-estimates/" title="http://blogs.sas.com/content/iml/2011/07/08/the-area-under-a-density-estimate-curve-nonparametric-estimates/"&gt; The area under a density estimate curve: Nonparametric estimates - The DO Loop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3) For a parametric approach, fit the parameters of your truncnormal+weibull model and then use the CDF function. If f = a*f1 + (1-a)*f2, then cdf(f) = a*cdf(f1) + (1-a)*cdf(f2).&amp;nbsp; The CDF of the truncated normal can be computed from the CDF of the normal (see Wikipedia) and the Weibull distribution is supported by the SAS CDF function directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 14:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-fit-data-combing-a-truncated-normal-distribution-with-a/m-p/107153#M5659</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-06-25T14:50:51Z</dc:date>
    </item>
  </channel>
</rss>

