WeibullDataSet.AddFailureInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:WeibullDataSet.AddFailureInterval.Cmt}}
Adds a failure interval to the data set.  


== Syntax ==
== Syntax ==
<div style="margin-right:150px;">
*AddFailureInterval(StartValue{{APIPrefix|As Double}}, EndValue{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}}) {{APIComment|{{Template:WeibullDataSet.AddFailureInterval.Cmt}}}}
{{APIComment|'Declaration}}
{{APIPrefix|Public Sub}}AddFailureInterval({{APIPrefix|ByVal}}StartValue{{APIPrefix|As Double}},{{APIPrefix|ByVal}}EndValue{{APIPrefix|As Double}},
    {{APIPrefix|ByVal}}NumberInGroup{{APIPrefix|As Integer}})
</div>
Parameters
Parameters
:''StartValue'': The starting value of this failure interval.
:''StartValue'': The starting value of this failure interval.

Revision as of 17:34, 20 February 2014


Adds a failure interval to the data set.

Syntax

  • AddFailureInterval(StartValueAs Double, EndValueAs Double, NumberInGroupAs Integer) Adds interval censored failures to the data set, using the specified start/end times and number of failures that occurred within the interval.

Parameters

StartValue: 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)