1
$\begingroup$

I have a real data set 275, 13, 147, 23, 181, 30, 65, 10, 300, 173, 106, 300, 300, 212, 300, 300, 300, 2, 261, 293, 88, 247, 28, 143, 300, 23, 300, 80, 245, 266 and try to fit a Weibull distribution using Maximum Likelihood. I used Mathematica for analysis and Mathematica gives me the parameter estimates of Weibull distribution as $\alpha=1.07484, \beta=171.242,\gamma=9.46641$ where $\alpha,\beta$ and $\gamma$ are the shape, scale and location parameters, respectively. Now my two questions are:

  1. If I find CDF of Weibull distribution using estimated parameters for minimum value of data set answer is Zero which is obvious but for maximum value the answer become 0.828829 Why it is not One?
  2. How I find the estimated value using these parameter estimates?

Note. Question 1 problem also occurs for other distributions as well; here the Weibull distribution is taken as an example. Mathematica code's and result are here

$\endgroup$
10
  • 2
    $\begingroup$ This is normal. In this case, the CDF of the Weibull distribution goes to 1 as $x$ goes to infinity. The empirical CDF is 1 for the maximum value in your dataset: DiscretePlot[CDF[EmpiricalDistribution[data1], x], {x, 0, 400}]. If you use MLE to estimate the parameters of a theoretical distribution, the CDF of this distribution is not limited to your data set. I don't understand the second question. What do to you mean by "estimated value"? $\endgroup$ Commented Jul 18, 2013 at 8:27
  • 2
    $\begingroup$ Not your question, but 8/30 values in your data are equal to the maximum 300. You are evidently fitting a three-parameter version of the Weibull, but even so, these data don't look like a good candidate for such a distribution. Some kind of censoring issue? $\endgroup$
    – Nick Cox
    Commented Jul 18, 2013 at 8:32
  • $\begingroup$ @COOLSerdash: The maximum value of data set is 300 not 400. If it is so why it is exactly zero for 2 minimum value in general it is for 0 and for second question estimated values mean fitted values closest to observed value, to compare the actual value and fitted value's. $\endgroup$
    – SAAN
    Commented Jul 18, 2013 at 8:41
  • 1
    $\begingroup$ Total probability being 1 taught in elementary school now? More seriously, I don't see why you are puzzled or surprised here. Any distribution without a finite upper bound will give a finite estimated probability for values being greater than the sample maximum. I don't know how seriously you take your example, but it's pathological given the spike of tied maxima. $\endgroup$
    – Nick Cox
    Commented Jul 18, 2013 at 9:18
  • 1
    $\begingroup$ Azeem I am well aware that the maximum of your data set is 300. The 400 is the limitation of the plot (did you even run it?). Again: This is not a problem but an expected result. Why do you think that the CDF should be 1 for your maximum value? The support of your fitted distribution is $(\gamma, +\infty)$ (i.e. it has probability zero when $x\leq\gamma$). This means that the CDF is an integral of the PDF from $\gamma$ to $+\infty$. This means the CDF approaches 1 if $x\rightarrow+\infty$. $\endgroup$ Commented Jul 18, 2013 at 9:18

1 Answer 1

2
$\begingroup$

I'm posting this as an answer because I want to include a graphic for illustration. Azeem: Look the fitted Weibull CDF and compare it to the empirical CDF:

data1 = {275, 13, 147, 23, 181, 30, 65, 10, 300, 173, 106, 300, 300, 
  212, 300, 300, 300, 2, 261, 293, 88, 247, 28, 143, 300, 23, 300, 80,
   245, 266}

param = FindDistributionParameters[data1, 
  WeibullDistribution[a, b, c]]

Plot[{CDF[WeibullDistribution[a, b, c] /. param, x], 
  CDF[EmpiricalDistribution[data1], x]}, {x, 0, 400}, 
 Exclusions -> None]

WeibullFit

The fit doesn't look very good. Also, what about @Nick's point about the excess values of 300? Could you please explain how these data were collected? What do they represent?

$\endgroup$
9
  • $\begingroup$ Thanks for the Answer, Yes Using Likelihood ratio criterion I already know Weibull distribution not fit it well, for research purpose I have modified Weibull distribution which fits better, now I easily adds new distribution fit on it. Thats exactly what I want. $\endgroup$
    – SAAN
    Commented Jul 18, 2013 at 10:11
  • $\begingroup$ I don't use Mathematica, but a fit that gives a fitted minimum less than the observed minimum seems dubious. $\endgroup$
    – Nick Cox
    Commented Jul 18, 2013 at 10:17
  • 2
    $\begingroup$ 2. This site is not just about answering individuals' questions in public but about providing a resource for others to use later. Only the examples you give can be discussed; referring to other examples we can't see is of no use or interest to anybody. $\endgroup$
    – Nick Cox
    Commented Jul 18, 2013 at 10:29
  • 2
    $\begingroup$ 3. Meeker and Escobar (1998) is not a full reference. I'd guess that the values of 300 were censored, i.e. failures not observed at time 300. $\endgroup$
    – Nick Cox
    Commented Jul 18, 2013 at 10:30
  • 2
    $\begingroup$ Statistical Methods for Reliability Data by William Q. Meeker and Luis A. Escobar, published by John Wiley & Sons, 1998. $\endgroup$
    – SAAN
    Commented Jul 18, 2013 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.