WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
== Usage Example ==
== Usage Example ==


{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
{{APIComment|Declare a new WeibullDataSet object. See [[WeibullDataSet Class|WeibullDataSet]].}}
        Dim WDS as New WeibullDataSet
  Dim WDS as New WeibullDataSet
 
 
{{APIComment|Add values to the raw data.}}
{{APIComment|Add interval suspensions to the data set.}}
        WDS.AddSuspensionInterval(1, 5, 1)
  WDS.AddSuspensionInterval(1, 5, 1)
        WDS.AddSuspensionInterval(6, 10, 1)
  WDS.AddSuspensionInterval(6, 10, 1)
        WDS.AddSuspensionInterval(11, 15, 1)
  WDS.AddSuspensionInterval(11, 15, 1)

Revision as of 18:40, 6 May 2014


Adds interval censored suspensions to the data set, using the specified start/end times and number of suspensions for that interval.

Syntax

  • AddSuspensionInterval( StartValueAs Double, EndValueAs Double, NumberInGroupAs Integer)

Parameters

StartValue: The starting value of the suspension interval.
EndValue: The ending value of the suspension interval.
NumberInGroup: The number of units that were suspended during the interval.

Usage Example

 Declare a new WeibullDataSet object. See WeibullDataSet. 
 Dim WDS as New WeibullDataSet
 
 Add interval suspensions to the data set. 
 WDS.AddSuspensionInterval(1, 5, 1)
 WDS.AddSuspensionInterval(6, 10, 1)
 WDS.AddSuspensionInterval(11, 15, 1)