WeibullDataSet.AddFailureInterval

From ReliaWiki
Revision as of 23:27, 19 February 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


Adds interval censored failures to the data set, using the specified start/end times and number of failures that occurred within the interval.

Syntax

 'Declaration 
 Public SubAddFailureInterval(ByValStartValueAs Double,ByValEndValueAs Double,ByValNumberInGroup As Integer)

Parameters

StartValue: The starting value of this failure interval.
EndValue: The ending value of this failure interval.
NumberInGroup: The number of units that failed during this interval.

Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Add values to the raw data.

       WDS.AddFailureInterval(1, 5, 1)
       WDS.AddFailureInterval(6, 10, 1)
       WDS.AddFailureInterval(11, 15, 1)