The Weibull 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[90]:=
Property 1: Ensure f(x) ≥ 0 for all x by plotting it.
In[95]:=
Property 2: Ensure f(x) integrates to exactly 1 over the random variable's support.
In[105]:=
Out[105]=
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[129]:=
Out[129]=
Plot the CDF.
In[130]:=
Property 5: Use the PDF to compute probability, where a and b are the lower and upper bounds of the interval of interest.
In[121]:=
Property 6: Use the CDF to compute probability.
In[131]:=
Property 7: Compute the Expected Value.
In[137]:=
Out[137]=
In[138]:=
Out[138]=
Using similar methods, we find that the expected value is
In[139]:=
Out[139]=
Property 8: Compute the Variance/Standard Deviation.
In[140]:=
Out[140]=
In[141]:=
Out[141]=
In[142]:=
Out[142]=
Finally, the formula for the variance is
In[143]:=
Out[143]=
In[144]:=
Out[144]=
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[145]:=
Out[146]=
In[147]:=
Out[147]=
Created by Mathematica (July 20, 2006) |