WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<div style="margin-right:150px;">
<div style="margin-right:150px;">
  {{APIComment|'Declaration}}
  {{APIComment|'Declaration}}
  {{Template:WeibullDataSet.AddSuspensionInterval}}
{{APIPrefix|Public Sub}}AddSuspensionInterval({{APIPrefix|ByVal}}StartValue{{APIPrefix|As Double}},{{APIPrefix|ByVal}}EndValue{{APIPrefix|As Double}},
    {{APIPrefix|ByVal}}NumberInGroup{{APIPrefix|As Integer}})
</div>
</div>
Parameters
Parameters

Revision as of 23:30, 19 February 2014


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

Syntax

 'Declaration 
Public SubAddSuspensionInterval(ByValStartValueAs Double,ByValEndValueAs Double,
   ByValNumberInGroupAs Integer)

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)