28
A Unified Scheme of Some Nonhom ogenous Poisson Process Models for Software Reliability Estima tion C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions on Software Eng ineering 29(3), March 2003 Presented by Teresa C ai Group Meeting 12/9/2 006

A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

Embed Size (px)

Citation preview

Page 1: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software

Reliability Estimation

C. Y. Huang, M. R. Lyu and S. Y. KuoIEEE Transactions on Software Engineering

29(3), March 2003

Presented by Teresa Cai

Group Meeting 12/9/2006

Page 2: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

2

Outline

Background and related workNHPP model and three weighted meansA general discrete modelA general continuous modelConclusion

Page 3: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

3

Software reliability growth modeling (SRGM)

To model past failure data to predict future behavior

Failure rate: the probability that a failure occurs in a certain time period.

Page 4: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

4

SRGM: some examples

Nonhomogeneous Poisson Process (NHPP) model

S-shaped reliability growth model

Musa-Okumoto Logarithmic Poisson model

μ(t) is the mean value of cumulative number of failures by time t

Page 5: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

5

Unification schemes for SRGMs

Langberg and Singpurwalla (1985) Bayesian Network Specific prior distribution

Miller (1986) Exponential Order Statistic models (EOS) Failure time: order statistics of independent nonidentical

ly distributed exponential random variables

Trachtenberg (1990) General theory: failure rates = average size of remainin

g faults* apparent fault density * software workload

Page 6: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

6

Contributions of this paper

Relax some assumptionsDefine a general mean based on three

weighted means: weighted arithmetic means Weighted geometric means Weighted harmonic means

Propose a new general NHPP model

Page 7: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

7

Outline

Background and related workNHPP model and three weighted meansA general discrete modelA general continuous modelConclusion

Page 8: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

8

Nonhomogeneous Poisson Process (NHPP) Model

An SRGM based on an NHPP with the mean value function m(t):

{N(t), t>=0}: a counting process representing the cumulative number of faults detected by the time t

N = 0, 1, 2, ……

Page 9: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

9

NHPP Model

M(t): expected cumulative number of faults detected by time t Nondecreasing m()=a: the expected total number of faults to be detected even

tually

Failure intensity function at testing time t:

Reliability:

Page 10: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

10

NHPP models: examples

Goel-Okumoto model

Gompertz growth curve model

Logistic growth curve model

Yamada delayed S-shaped model

Page 11: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

11

Weighted arithmetic mean

Arithmetic mean

Weighted arithmetic mean

Page 12: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

12

Weighted geometric mean

Geometric mean

Weighted geometric mean

Page 13: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

13

Weighted harmonic mean

Harmonic mean

Weighted harmonic mean

Page 14: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

14

Three weighted means

Proposition 1: Let z1, z2 and z3, respectively, be the weighted ar

ithmetic, the weighted geometric, and the weighted harmonic means of two nonnegative real numbers z and y with weights w and 1- w, where 0< w <1. Then

min(x,y)≤z3 ≤ z2 ≤ z1 ≤ max(x,y)

Where equality holds if and only if x=y.

Page 15: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

15

A more general mean

Definition 1: Let g be a real-valued and strictly monotone function. Let x and y be two nonnegative real numbers. The quasi arithmetic mean z of x and y with weights w and 1-w is defined as

z = g-1(wg(x)+(1-w)g(y)), 0<w<1

Where g-1 is the inverse function of g

Page 16: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

16

Outline

Background and related workNHPP model and three weighted meansA general discrete modelA general continuous modelConclusion

Page 17: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

17

A General discrete model

Testing time t test run i

Suppose m(i+1) is equal to the quasi arithmetic mean of m(i) and a with weights w and 1-w

Then

where a=m(): the expected number of faults to be detected eventually

Page 18: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

18

Special cases of the general model

g(x)=x: Goel-Okumoto model

g(x)=lnx: Gompertz growth curve

g(x)=1/x: logistic growth model

Page 19: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

19

A more general case

W is not a constant for all i w(i)Then

Page 20: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

20

Generalized NHPP model

Generalized Goel NHPP model: g(x)=x, ui=exp[-bic], w(i)=exp{-b[ic-(i-1)c]}

Delayed S-shaped model:

Page 21: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

21

Outline

Background and related workNHPP model and three weighted meansA general discrete modelA general continuous modelConclusion

Page 22: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

22

A general continuous model

Let m(t+Δt) be equal to the quasi arithmetic means of m(t) and a with weights w(t,Δt) and 1-w(t,Δt), we have

where b(t)=(1-w(t,Δt))/Δt as Δt0

Page 23: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

23

A general continuous model

Theorem 1:

g is a real-valued, strictly monotone, and differentiable function

Page 24: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

24

A general continuous model

Take different g(x) and b(t), various existing models can be derived, such as: Goel_Okumoto model Gompertz Growth Curve Logistic Growth Curve ……

Page 25: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

25

Power transformation

A parametric power transformation

With the new g(x), several new SRGMs can be generated

Page 26: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

26

Page 27: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

27

Outline

Background and related workNHPP model and three weighted meansA general discrete modelA general continuous modelConclusion

Page 28: A Unified Scheme of Some Nonhomogenous Poisson Process Models for Software Reliability Estimation C. Y. Huang, M. R. Lyu and S. Y. Kuo IEEE Transactions

28

Conclusion

Integrate the concept of weighted arithmetic mean, weighted geometric mean, weighted harmonic mean, and a more general mean

Show several existing SRGMs based on NHPP can be derived

Propose a more general NHPP model using power transformation