WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


== Syntax ==
== Syntax ==
*AddSuspensionInterval(StartValue{{APIPrefix|As Double}}, EndValue{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}})          {{Template:WeibullDataSet.AddSuspensionInterval.Cmt}}
*AddSuspensionInterval(StartValue{{APIPrefix|As Double}}, EndValue{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}})          {{APIComment|{{Template:WeibullDataSet.AddSuspensionInterval.Cmt}}}}
Parameters
Parameters
:''StartValue'': The starting value of this suspension interval.
:''StartValue'': The starting value of this suspension interval.

Revision as of 17:40, 20 February 2014


Adds interval censored data (suspensions) to the data set.

Syntax

  • AddSuspensionInterval(StartValueAs Double, EndValueAs Double, NumberInGroupAs Integer) Adds interval censored suspensions to the data set, using the specified start/end times and number of suspensions for that interval.

Parameters

StartValue: The starting value of this suspension interval.
EndValue: The ending value of this suspension interval.
NumberInGroup: The number of units that were suspended 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.AddSuspensionInterval(1, 5, 1)
       WDS.AddSuspensionInterval(6, 10, 1)
       WDS.AddSuspensionInterval(11, 15, 1)