Bayesian analysis with threshold data | Vose Software

Bayesian analysis with threshold data

We are often faced with data which says that an observation was above or below a threshold, rather than an exact value. The analysis requires that we work with cumulative distribution functions F(x) in the likelihood function.

Example: Mean time to failure (MTTF) of a component

10 components of the same type are run for 3000 hours and 4 fail within that time. Assuming that the components have a constant instantaneous failure rate, what is the MTTF?

Components with a constant instantaneous failure rate fail according to a Poisson process and therefore have a lifetime that is Exponentially distributed with a mean defined as the MTTF. The probability p that a component with MTTF = q hours will fail within 3000 hours is given by the cumulative distribution function of the Exponential:

p = VoseExponProb(3000,1/q,1) = 1-EXP(-3000/q)

Assuming that all components are manufactured in the same ways, and tested separately, each component will fails independently of the others, so they all undergo the same binomial trials. The probability that 4 fail in 10 is therefore:

P(4 fail from 10) = VoseBinomialProb(4,10,p,0)

This model ( MTTF.xls) constructs the posterior distribution assuming an uninformed prior p(q) µ 1/q. The prior distribution, likelihood function and posterior distribution, all rescaled for comparison, are shown in Figure 1.

 

Figure 1: Prior density, likelihood function and posterior density for MTTF example plotted to have same graph area for comparison

It is quite interesting to split up the likelihood function into the information provided by knowing how many failed and how many did not, and look at how much information is contained in the two halves:

The likelihood function for the failed components is proportional to p4

The likelihood function for the non-failed components is proportional to (1-p)6

Figure 2 plots these two components together with the composite likelihood function, all rescaled for comparison:

Figure 2: The failed components provide information that tightly pulls (has higher probability) the MTTF estimate to lower values, whilst the components that didn't fail give a looser pull to the right, resulting in the likelihood function that is bound by both pulls.

See Also

 

Navigation