WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "WeibullDataSet.AddSuspensionInterval" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}


Inserts a suspension interval
{{Template:WeibullDataSet.AddSuspensionInterval.Cmt}}


== Method Syntax ==
== Method Syntax ==
{{APIName|'''AddSuspensionInterval'''(}}
{{Template:WeibullDataSet.AddSuspensionInterval}}
{{APIPrefix|ByVal}}
{{APIName|Value}}
{{APIPrefix|As Double}}
{{APIName|,}}
{{APIPrefix|ByVal}}
{{APIName|EndValue}}
{{APIPrefix|As Double}}
{{APIName|,}}
{{APIPrefix|ByVal}}
{{APIName|NumberInGroup}}
{{APIPrefix|AsLong}}
{{APIName|)}}<br>
{{APIComment|Inserts a suspension interval to the WeibullDataSet.}}


== Parameters ==
== Parameters ==

Revision as of 17:25, 29 January 2014



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

Method Syntax

AddSuspensionInterval(ByValStartValueAs Double,ByValEndValueAs Double,ByValNumberInGroupAs Integer)

Parameters

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

Adds a Suspension interval data point to the collection of data points in the data set.

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)