lfiondella / SRT

Software Reliabilty Testing
5 stars 9 forks source link

DSS MVF Decreases When Subsetting Data #48

Closed a1729nikora closed 8 years ago

a1729nikora commented 8 years ago

When running models on a subset of the data, the MVF plot shown for DSS can sometimes decrease during the initial portion of the plot before it increases again. This is wrong - the curve should be monotonically increasing.

a1729nikora commented 8 years ago

Repaired this problem in RunModels.R in the function "run_models". The cause of the problem is that the FT values when subsetting data were incorrectly computed. When subsetting data, it is necessary to subtract the (n-1)st cumulative failure time if the subset goes from n forward. The subtraction was done an extra time by mistake. The extra subtraction was eliminated, and the DSS MVF curves are now correctly drawn.