<?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: proc univariate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351212#M63894</link>
    <description>&lt;P&gt;Yes, your model is two-parameter when you specify the THRESHOLD= value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The threshold value comes from using domain&amp;nbsp;knowledge of the data. For example, the lognormal and Weibull distributions are often used to model time-to-failure for some component. The time must always be positive, so threshold=0 for that application.&amp;nbsp;Most two-parameter families implicitly assume that the threshold is zero.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 09:52:30 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-04-19T09:52:30Z</dc:date>
    <item>
      <title>proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350683#M63844</link>
      <description>&lt;P&gt;I am working on fitting distributon to the data and now&amp;nbsp;I am so confuse about the code.&lt;/P&gt;&lt;P&gt;I have found the example of creating a histogram to display lognormal fit and use code as follow;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Lognormal dist.&amp;nbsp; '&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Histogram Lognormal.ParameterEstimates Lognormal.GoodnessOfFit FitQuantiles;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;univariate&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=uy2013;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; avg_claim;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;histogram&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lognormal&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;w&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;theta&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=est)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;odstitle = title;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;inset&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;n&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mean&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;std&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Std Dev'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;skewness&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pos&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = ne&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;header&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Summary Statistics'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I would like to know 'Is this code for fitting&amp;nbsp;two-parameter lognormal&amp;nbsp;distribution?'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;if it is, what theta=est is used for&amp;nbsp;???&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;the data that I used start from -0.100&amp;nbsp;but the threshold in the result is -772.2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;why the threshold is that? (I am using Base SAS 9.4)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 01:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350683#M63844</guid>
      <dc:creator>Peaw</dc:creator>
      <dc:date>2017-04-18T01:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350686#M63846</link>
      <description>&lt;P&gt;The THETA=EST option requests that the maximum likelihood estimate of theta be used as the threshold.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 02:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350686#M63846</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2017-04-18T02:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350687#M63847</link>
      <description>&lt;P&gt;Hi: &lt;BR /&gt;From &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/viewer.htm#procstat_univariate_syntax09.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/viewer.htm#procstat_univariate_syntax09.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It says: &lt;BR /&gt;&lt;IMG title="univariate_lognormal_theta.png" alt="univariate_lognormal_theta.png" src="https://communities.sas.com/t5/image/serverpage/image-id/8358i47023C48500F5BCC/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt; Suggest you look at the rest of the UNIVARIATE documentation in detail. The Overview starts here:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/viewer.htm#procstat_univariate_overview.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/viewer.htm#procstat_univariate_overview.htm&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 02:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350687#M63847</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-04-18T02:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350698#M63850</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/viewer.htm#procstat_univariate_examples27.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/70116/HTML/default/viewer.htm#procstat_univariate_examples27.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why this example&amp;nbsp;specifies &lt;STRONG&gt;theta=est&lt;/STRONG&gt; but the&amp;nbsp;result of this&amp;nbsp;is two-parameter lognormal distribution not three.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 04:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350698#M63850</guid>
      <dc:creator>Peaw</dc:creator>
      <dc:date>2017-04-18T04:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350870#M63863</link>
      <description>&lt;P&gt;Your statement is not correct. When you specify THETA=EST, you get a three-parameter fit.&lt;/P&gt;
&lt;P&gt;The simple form of your call is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;univariate&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=uy2013;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; avg_claim;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;histogram&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;lognormal&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;theta&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=est)&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &amp;nbsp; /* fit three-parameter lognormal distrib */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a two-parameter fit, specify a lower bound&amp;nbsp;for the threshold parameter, or accept the default, which is THETA=0:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;univariate&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=uy2013;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; avg_claim;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;histogram&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;lognormal&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;theta&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=1)&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &amp;nbsp; /* sets THETA=1 as threshold parameter (lower bound) */&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 14:24:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/350870#M63863</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-04-18T14:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351117#M63887</link>
      <description>&lt;P&gt;thank you so much ,it helps a lot.&lt;BR /&gt;but may I ask you for more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After i run the statement as per your suggestion,&amp;nbsp;please find&amp;nbsp;my&amp;nbsp;distribution output as attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Lognormal dist.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Histogram Lognormal.ParameterEstimates Lognormal.GoodnessOfFit FitQuantiles;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;univariate&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=ec.uy2013;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; root_avg_jt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; root_avg_jt ge &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;55&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; and root_avg_jt le &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;496&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;histogram&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lognormal&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;w&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;threshold&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;46.7&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;odstitle = title;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;inset&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;n&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mean&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;std&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Std Dev'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;skewness&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5.3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pos&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = ne&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;header&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Summary Statistics'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just curious:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;I want to make sure that&amp;nbsp;the output is 2-parameters lognormal (not 3 parameters).&lt;/P&gt;&lt;P&gt;2. how do we know the lower bound/theta? should&amp;nbsp;I start from considering the&amp;nbsp;data range (minimum value)?&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13723iE3F0547897EDE137/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="distribution output.JPG" title="distribution output.JPG" /&gt;</description>
      <pubDate>Wed, 19 Apr 2017 03:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351117#M63887</guid>
      <dc:creator>Peaw</dc:creator>
      <dc:date>2017-04-19T03:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351212#M63894</link>
      <description>&lt;P&gt;Yes, your model is two-parameter when you specify the THRESHOLD= value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The threshold value comes from using domain&amp;nbsp;knowledge of the data. For example, the lognormal and Weibull distributions are often used to model time-to-failure for some component. The time must always be positive, so threshold=0 for that application.&amp;nbsp;Most two-parameter families implicitly assume that the threshold is zero.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 09:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351212#M63894</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-04-19T09:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351568#M63944</link>
      <description>Thank you so much for your kindness.&lt;BR /&gt;it helps a lot.</description>
      <pubDate>Thu, 20 Apr 2017 07:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/351568#M63944</guid>
      <dc:creator>Peaw</dc:creator>
      <dc:date>2017-04-20T07:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/355121#M64166</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Reference is made to my questions on the SAS communities regarding 2 or 3 parameters distribution. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;As I’m still not sure about the output, could you please let me have more clarification as following?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;The data that I used for fitting distribution is loss data (claim) with range [50 to 524] (after transforming data by square root).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Because, I don’t know how to set the threshold, I ran SAS as “threshold = est”. So I got the threshold value which is 46.9. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;After that, I specified the mentioned threshold value of 46.9 in the histogram statement again. I think I got the 2 parameter log normal distribution (with p-value 0.017) as per suggestion. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;However, could you please let me have your confirmation if this model is valid? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Additionally, I am not sure for the next step of “simulation”. Please advise us how to simulate the 2 parameter distribution with specify threshold like this case?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 02:39:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/355121#M64166</guid>
      <dc:creator>Peaw</dc:creator>
      <dc:date>2017-05-02T02:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/355209#M64170</link>
      <description>&lt;P&gt;Technically you have fit a three-parameter distribution because you are using a threshold parameter that came from estimating the data.&amp;nbsp;A &amp;nbsp;proper two-parameter family would use a threshold parameter that is based on domain-specific knowledge of the population distribution, not a sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I don't understand why you are worrying about this subtle aspect of the problem. If your goal is to simulate from a two-parameter lognormal distribution and thereby generate many samples that look like the observed data, then what you have done is&amp;nbsp;perfectly fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For simulation, see the article&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2017/05/10/simulate-lognormal-data-sas.html" target="_self"&gt;"Simulate lognormal data in SAS."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 19:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-univariate/m-p/355209#M64170</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-05-10T19:37:55Z</dc:date>
    </item>
  </channel>
</rss>

