I'm trying to calculate a confidence interval on an estimate of the cumulative distribution of a two-parameter Weibull distribution. (Actually 1-cdf, the survival probability.) I want to do this using the likelihood ratio bounds method.
The only reference I've found for how to do this, is this page on reliawiki.org.
According to that page, this is done by finding the solutions to this equation:
Where $\hat{\beta}$ and $\hat{\eta}$ are the estimated parameters of the Weibull distribution, $R$ is the reliability for which to find the confidence bounds, and $L$ is the likelihood function:
Here $x_i$ is the i-th time-to-failure datapoint.
I've been able to write code to solve this numerically, and get the same results as the ones shown in the reliawiki article. However, some things indicate that something about these results are wrong. Here, the likelihood ratio confidence limits are plotted in light blue and purple:
The blue line is the estimated reliability whose confidence bounds I'm trying to find. Also plotted is the maximum likelihood confidence interval on the same estimate. As you can see, the likelihood ratio method give bounds that are much wider.
Another problem is that the likelihood function is a product of small numbers, so for larger datasets, the likelihood becomes exactly 0 because of underflow.
Two questions:
1) Am I right in assuming that the likelihood ratio based confidence interval is too wide?
2) How can I avoid the underflow issue when computing the likelihood functions?