<?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 Distribution plot from proc univariate in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Distribution-plot-from-proc-univariate/m-p/271619#M9672</link>
    <description>&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Dear Sir or Madam,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Can I please ask what do this errors mean? How can I resolve it?&amp;nbsp;Thank you very much.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3228i70165C94656C6DE5/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Histogram43.png" title="Histogram43.png" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;560  proc univariate data=temp;
561      var occ;
562      histogram / midpoints=0 to 600 by 50
563      lognormal
564     weibull
565      gamma;
566      inset n mean(5.3) std='Std Dev'(5.3) skewness(5.3)
567      / pos = ne  header = 'Summary Statistics';
578  run;

NOTE: Since a threshold parameter (THETA) was not specified for the lognormal fit for occ, a
      zero threshold is assumed.
ERROR: The smallest value of occ is less than or equal to the threshold parameter (THETA) for
       the lognormal fit.
NOTE: The lognormal threshold parameter (THETA) must be less than 0.
NOTE: The lognormal curve was not drawn because estimates could not be computed for all
      parameters.
NOTE: Since a threshold parameter (THETA) was not specified for the Weibull fit for occ, a
      zero threshold is assumed.
ERROR: The smallest value of occ is less than or equal to the threshold parameter (THETA) for
       the Weibull fit.
NOTE: The Weibull threshold parameter (THETA) must be less than 0.
NOTE: The Weibull curve was not drawn because estimates could not be computed for all
      parameters.
NOTE: Since a threshold parameter (THETA) was not specified for the gamma fit for occ, a zero
      threshold is assumed.
ERROR: The smallest value of occ is less than or equal to the threshold parameter (THETA) for
       the gamma fit.
NOTE: The gamma threshold parameter (THETA) must be less than 0.
NOTE: The gamma curve was not drawn because estimates could not be computed for all parameters.
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be
      shifted by the "BEST" format.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
      real time           0.19 seconds
      cpu time            0.04 seconds&lt;/PRE&gt;</description>
    <pubDate>Thu, 19 May 2016 06:44:06 GMT</pubDate>
    <dc:creator>Miracle</dc:creator>
    <dc:date>2016-05-19T06:44:06Z</dc:date>
    <item>
      <title>Distribution plot from proc univariate</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Distribution-plot-from-proc-univariate/m-p/271619#M9672</link>
      <description>&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Dear Sir or Madam,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;Can I please ask what do this errors mean? How can I resolve it?&amp;nbsp;Thank you very much.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times" size="4"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3228i70165C94656C6DE5/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Histogram43.png" title="Histogram43.png" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;560  proc univariate data=temp;
561      var occ;
562      histogram / midpoints=0 to 600 by 50
563      lognormal
564     weibull
565      gamma;
566      inset n mean(5.3) std='Std Dev'(5.3) skewness(5.3)
567      / pos = ne  header = 'Summary Statistics';
578  run;

NOTE: Since a threshold parameter (THETA) was not specified for the lognormal fit for occ, a
      zero threshold is assumed.
ERROR: The smallest value of occ is less than or equal to the threshold parameter (THETA) for
       the lognormal fit.
NOTE: The lognormal threshold parameter (THETA) must be less than 0.
NOTE: The lognormal curve was not drawn because estimates could not be computed for all
      parameters.
NOTE: Since a threshold parameter (THETA) was not specified for the Weibull fit for occ, a
      zero threshold is assumed.
ERROR: The smallest value of occ is less than or equal to the threshold parameter (THETA) for
       the Weibull fit.
NOTE: The Weibull threshold parameter (THETA) must be less than 0.
NOTE: The Weibull curve was not drawn because estimates could not be computed for all
      parameters.
NOTE: Since a threshold parameter (THETA) was not specified for the gamma fit for occ, a zero
      threshold is assumed.
ERROR: The smallest value of occ is less than or equal to the threshold parameter (THETA) for
       the gamma fit.
NOTE: The gamma threshold parameter (THETA) must be less than 0.
NOTE: The gamma curve was not drawn because estimates could not be computed for all parameters.
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be
      shifted by the "BEST" format.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
      real time           0.19 seconds
      cpu time            0.04 seconds&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 May 2016 06:44:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Distribution-plot-from-proc-univariate/m-p/271619#M9672</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2016-05-19T06:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distribution plot from proc univariate</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Distribution-plot-from-proc-univariate/m-p/271663#M9674</link>
      <description>&lt;P&gt;In three=parameter families that have a threshold parameters, the data must be strictly larger than the values of the threshold parameter.&amp;nbsp; The reason is that the distributions you are fitting have a term that looks like&lt;/P&gt;
&lt;P&gt;log( x[i] - theta )&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;(x[i] - theta)**c.&lt;/P&gt;
&lt;P&gt;The LOG function is undefined when its argument is zero or negative. Similarly, the "raise to power function" is undefined for negative arguments when&amp;nbsp; c is not an integer. (For example, c=1/2 is the square roo function.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most likely reason for these errors is that you have data values that are zero. Your choices include:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Model the data by using different distributions&lt;/LI&gt;
&lt;LI&gt;Specify a value for the threshold parameters that is strictly less than the smallest data value&lt;/LI&gt;
&lt;LI&gt;Delete the bad data values if they are coding errors&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 19 May 2016 09:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Distribution-plot-from-proc-univariate/m-p/271663#M9674</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-19T09:49:28Z</dc:date>
    </item>
  </channel>
</rss>

