<?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 How Do I Model Data That Follows an Exponential Distribution in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467698#M24317</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to model data that appears to follow the exponential distribution with a mean of 1.8, as indicated by the screenshots from the CAPABILITY procedure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exponential Distribution PDF fitting" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21008i68CF3DE23D8E4396/image-size/large?v=v2&amp;amp;px=999" role="button" title="SEGuide_2018-06-05_10-40-20.png" alt="Exponential Distribution PDF fitting" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Exponential Distribution PDF fitting&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exponential Distribution CDF fitting" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21007i543602BDD2167712/image-size/large?v=v2&amp;amp;px=999" role="button" title="SEGuide_2018-06-05_10-39-43.png" alt="Exponential Distribution CDF fitting" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Exponential Distribution CDF fitting&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Knowing this, how would one go on about trying to build a predictive model for this data? I narrowed down the number of variables to use with the Rapid Predictive Modeler (I do not have Enterprise Miner installed on my computer) and I have tried using the MODEL procedure to do a non-linear modeling of the data but the fit is very poor with an r-square of 0.0674 and a root MSE of 1.8 (to give perspective, the mean of the data is 1.8). Any advice on this topic would be greatly appreciated!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MODEL DATA=stdize_data;
	PARAMETERS 	w_1 0
				w_2 0
				w_3 0
				w_4 0
			  	lambda 1;
	BOUNDS 	w_1 &amp;gt;= 0,
			w_2 &amp;gt;= 0,
			w_3 &amp;gt;= 0,
			w_4 &amp;gt;= 0,
		  	lambda &amp;gt; 0;
	RESTRICT 	w_1 + w_2 + w_3 + w_4 = 1;
	CER = lambda * exp(-lambda * (w_1*x_1 + w_2*x_2 + w_3*x_3 + w_4*x_4));
	FIT CER / MAXITER=10000 OUT=model_results OUTALL;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 05 Jun 2018 15:10:31 GMT</pubDate>
    <dc:creator>DamarC</dc:creator>
    <dc:date>2018-06-05T15:10:31Z</dc:date>
    <item>
      <title>How Do I Model Data That Follows an Exponential Distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467698#M24317</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to model data that appears to follow the exponential distribution with a mean of 1.8, as indicated by the screenshots from the CAPABILITY procedure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exponential Distribution PDF fitting" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21008i68CF3DE23D8E4396/image-size/large?v=v2&amp;amp;px=999" role="button" title="SEGuide_2018-06-05_10-40-20.png" alt="Exponential Distribution PDF fitting" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Exponential Distribution PDF fitting&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exponential Distribution CDF fitting" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21007i543602BDD2167712/image-size/large?v=v2&amp;amp;px=999" role="button" title="SEGuide_2018-06-05_10-39-43.png" alt="Exponential Distribution CDF fitting" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Exponential Distribution CDF fitting&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Knowing this, how would one go on about trying to build a predictive model for this data? I narrowed down the number of variables to use with the Rapid Predictive Modeler (I do not have Enterprise Miner installed on my computer) and I have tried using the MODEL procedure to do a non-linear modeling of the data but the fit is very poor with an r-square of 0.0674 and a root MSE of 1.8 (to give perspective, the mean of the data is 1.8). Any advice on this topic would be greatly appreciated!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MODEL DATA=stdize_data;
	PARAMETERS 	w_1 0
				w_2 0
				w_3 0
				w_4 0
			  	lambda 1;
	BOUNDS 	w_1 &amp;gt;= 0,
			w_2 &amp;gt;= 0,
			w_3 &amp;gt;= 0,
			w_4 &amp;gt;= 0,
		  	lambda &amp;gt; 0;
	RESTRICT 	w_1 + w_2 + w_3 + w_4 = 1;
	CER = lambda * exp(-lambda * (w_1*x_1 + w_2*x_2 + w_3*x_3 + w_4*x_4));
	FIT CER / MAXITER=10000 OUT=model_results OUTALL;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jun 2018 15:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467698#M24317</guid>
      <dc:creator>DamarC</dc:creator>
      <dc:date>2018-06-05T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Model Data That Follows an Exponential Distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467699#M24318</link>
      <description>&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2015/09/16/plot-distrib-exp.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2015/09/16/plot-distrib-exp.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 15:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467699#M24318</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-05T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Model Data That Follows an Exponential Distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467808#M24324</link>
      <description>&lt;P&gt;I guess I don't understand what you mean by "how do I build a predictive&amp;nbsp;model."&amp;nbsp; If there are no covariates, then the expected value of your model is 1.8 and the model&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y = 1.8&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is the linear model that fits the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your PROC MODEL statement, you have X1-X4, which appear to be explanatory variables. But if these are covariates, then you should not have used PROC CAPABILITY to&amp;nbsp;fit the response, you should have used a regression procedure such as PROC GENMOD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please&amp;nbsp;explain whether this is a univariate model or a regression problem. If regression, please describe the data.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 19:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-Do-I-Model-Data-That-Follows-an-Exponential-Distribution/m-p/467808#M24324</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-06-05T19:10:36Z</dc:date>
    </item>
  </channel>
</rss>

