Prerequisite – Jelinski Moranda software reliability model
The Schick-Wolverton (S-W) model is a modification to the J-M model. It is similar to the J-M model except that it further assumes that the failure rate at the ith time interval increases with time ti since the last debugging. In the model, the program failure rate function between the (i-1)th and the ith failure can be expressed as
![]()
where
and N are the same as that defined in the J-M model and ti is the test time since the (i-1)th failure.
The pdf(probability distribution function) of
can be obtained as follows:
![]()
Hence, the software reliability function is
![Rendered by QuickLaTeX.com $$R(t_i)=e^{- \int_0^{t_i} \lambda (t_i)dt_i }$$ $$=e^{-\frac{\phi [N-(i-1)]t_i^2}{2}}$$](https://web.archive.org/web/20200927081631im_/https://www.geeksforgeeks.org/wp-content/ql-cache/quicklatex.com-ee292d79d7b19e870793b9b273d0e7ef_l3.png)
We now wish to estimate N assuming that
is given. Using the MLE method, the log likelihood function is given by,
![Rendered by QuickLaTeX.com $ln L(N) &=ln\left \{ \prod_{i=1}^nf(t_i)\right \}\\$ $$&=ln\left \{ \prod_{i=1}^n\left [ \phi [N-(i-1)]t_ie^{\frac{[N-(i-1)]t_i^2}{2}\right ]\right \}\\$$ $$&=nln\phi + \sum_{i=1}^nln[N-(i-1)]+\sum_{i=1}^nlnt_i-\sum_{i=1}^n\phi [N-(i-1)]\frac{t_i^2}{2}\\$$ $$](https://web.archive.org/web/20200927081631im_/https://www.geeksforgeeks.org/wp-content/ql-cache/quicklatex.com-40e7ff95a06538b6d032132f37115732_l3.png)
Taking the first derivative with respect to N, we have,
![Rendered by QuickLaTeX.com $$ \frac{\partial}{\partial N}[ln L(N)]=\sum_{i=1}^n \frac{1}{N-(i-1)}-\phi \sum_{i=1}^n \frac{t_i^2}{2}=0 $$](https://web.archive.org/web/20200927081631im_/https://www.geeksforgeeks.org/wp-content/ql-cache/quicklatex.com-f39b0a76063ee0f0eeb91fd2827f21fc_l3.png)
Therefore, the MLE of N can be obtained by solving the following equation:

Next, we assume that both N and ? are unknown. Hence we obtain,
![Rendered by QuickLaTeX.com $$\frac{\partial}{\partial \phi}[ln L(N, \phi )]=\sum_{i=1}^n \frac{1}{N-(i-1)}-\phi \sum_{i=1}^n \frac{t_i^2}{2}=0$$](https://web.archive.org/web/20200927081631im_/https://www.geeksforgeeks.org/wp-content/ql-cache/quicklatex.com-a96d7975d21e95c049a6f9303cf03637_l3.png)
and
![Rendered by QuickLaTeX.com $$\frac{\partial}{\partial \phi}[ln L(N, \phi )]=\frac{n}{\phi }-\sum_{i=1}^n [N-(i-1)]\frac{t_i^2}{2}=0$$](https://web.archive.org/web/20200927081631im_/https://www.geeksforgeeks.org/wp-content/ql-cache/quicklatex.com-e3b3ec336b85ff416707e43fb2a0ffab_l3.png)
Therefore, the MLEs of N and
can be found by solving the two equations simultaneously as follows:
![Rendered by QuickLaTeX.com $$\phi = 2\sum_{i=1}^n \frac{1}{[N-(i-1)]T}$$ $$N=\frac{2n}{\phi T}+\frac{\sum_{i=1}^n (i-1)t_i^2}{T}$$](https://web.archive.org/web/20200927081631im_/https://www.geeksforgeeks.org/wp-content/ql-cache/quicklatex.com-693215b16babe9b46a725edc84b24c9a_l3.png)
where

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
Recommended Posts:
- Software Engineering | Jelinski Moranda software reliability model
- Software Engineering | Reliability Growth Models
- Site Reliability Engineering
- Software Engineering | Pham-Nordmann-Zhang Model (PNZ model)
- Software Testing | Reliability Testing
- Getting high reliability in Software
- Reliability Attributes in Software Development
- Software Engineering | Introduction to Software Engineering
- Software Engineering | COCOMO Model
- Software Engineering | Classical Waterfall Model
- Software Engineering | Iterative Waterfall Model
- Software Engineering | Spiral Model
- Software Engineering | Rapid application development model (RAD)
- Software Engineering | Incremental process model
- Software Engineering | Capability maturity model (CMM)
- Software Engineering | RAD Model vs Traditional SDLC
- Software Engineering | SDLC V-Model
- Software Engineering | Comparison between Agile model and other models
- Software Engineering | Goel-Okumoto Model
- Software Engineering | Mills' Error Seeding Model
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

