WeibullDataSet.AddFailureInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
'''NumberInGroup'''
'''NumberInGroup'''
The number of units that failed during this interval.
The number of units that failed during this interval.
{{APIComment|Adds a Failure interval data point to the collection of data points in the data set.}}


== Usage Example ==
== Usage Example ==

Revision as of 17:26, 29 January 2014



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

Method Syntax

  • AddFailureInterval( ByVal StartValue As Double , ByVal EndValue As Double , ByVal NumberInGroup As Integer )

Parameters

Value 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)