The Exponential Distribution
Probability Density Function
Define the Probability Density Function (PDF) of the random variable X by entering the function f(x) along with the lowest and highest x-values it supports.
In[199]:=
Property 1: Ensure f(x) ≥ 0 for all x by plotting it.
In[205]:=
Property 2: Ensure f(x) integrates to exactly 1 over the random variable's support.
In[206]:=
Out[206]=
Property 3: P(X = c) = 0, or the probability assigned to any particular value c is zero.
Property 4: Create the Cumulative Distribution Function (CDF).
In[231]:=
Out[231]=
Plot the CDF.
In[233]:=
Property 5: Use the PDF to compute probability, where a and b are the lower and upper bounds of the interval of interest.
In[234]:=
Property 6: Use the CDF to compute probability.
In[238]:=
Property 7: Compute the Expected Value.
In[242]:=
Out[242]=
In[243]:=
Out[243]=
Using similar methods, we find that the expected value is
In[244]:=
Out[244]=
Property 8: Compute the Variance/Standard Deviation.
In[245]:=
Out[245]=
In[246]:=
Out[246]=
In[247]:=
Out[247]=
Finally, the formula for the variance is
In[248]:=
Out[248]=
In[249]:=
Out[249]=
Property 9: Use the CDF to find a percentile.
NOTE: "ExpValue" simply specifies a starting value for the "FindRoot" search. For the Weibull, the expected value is a reasonable starting point for most percentiles.
In[250]:=
Out[251]=
In[252]:=
Out[252]=
Created by Mathematica (July 20, 2006) |