WeibullDataSet.AddFailureInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "WeibullDataSet.AddFailureInterval" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}}


Inserts a failure interval


== Method Syntax ==
<onlyinclude>Adds interval censored failures to the data set.</onlyinclude>
{{APIName|'''AddFailureInterval'''(}}
{{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 failure interval to the WeibullDataSet.}}


== Parameters ==
== Syntax  ==
'''Value'''
'''.AddFailureInterval'''(''StartValue'', ''EndValue'', ''NumberInGroup'')
The starting value of this failure interval.


'''EndValue'''
===Parameters===
The ending value of this failure interval.
''StartValue''
:Required. Double. The starting value of the failure interval.  


'''NumberInGroup'''
''EndValue''
The number of units that failed during this interval.
:Required. Double. The ending value of the failure interval.


{{APIComment|Adds a Failure interval data point to the collection of data points in the data set.}}
''NumberInGroup''
:Required. Double. The number of failures that occurred during the interval.


== Usage Example ==
== Example ==
'''VBA'''
{{APIComment|'Declare a new WeibullDataSet object.}}
  {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet
 
{{APIComment|'Add three interval censored data points.}}
  {{APIPrefix|Call}} WDS.AddFailureInterval(1, 5, 1)
  {{APIPrefix|Call}} WDS.AddFailureInterval(6, 10, 1)
  {{APIPrefix|Call}} WDS.AddFailureInterval(11, 15, 1)


{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
'''VB.NET'''
        Dim WDS as New WeibullDataSet
 
{{APIComment|'Declare a new WeibullDataSet object.}}  
{{APIComment|Add values to the raw data.}}
  {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet
        WDS.AddFailureInterval(1, 5, 1)
 
        WDS.AddFailureInterval(6, 10, 1)
{{APIComment|'Add three interval censored data points.}}  
        WDS.AddFailureInterval(11, 15, 1)
  WDS.AddFailureInterval(1, 5, 1)
  WDS.AddFailureInterval(6, 10, 1)
  WDS.AddFailureInterval(11, 15, 1)

Latest revision as of 17:59, 16 January 2018

APIWiki.png


Member of: SynthesisAPI.WeibullDataSet


Adds interval censored failures to the data set.

Syntax

.AddFailureInterval(StartValue, EndValue, NumberInGroup)

Parameters

StartValue

Required. Double. The starting value of the failure interval.

EndValue

Required. Double. The ending value of the failure interval.

NumberInGroup

Required. Double. The number of failures that occurred during the interval.

Example

VBA

 'Declare a new WeibullDataSet object.  
  Dim WDS As New WeibullDataSet
 
 'Add three interval censored data points.  
  Call WDS.AddFailureInterval(1, 5, 1)
  Call WDS.AddFailureInterval(6, 10, 1)
  Call WDS.AddFailureInterval(11, 15, 1)
VB.NET

 'Declare a new WeibullDataSet object.  
  Dim WDS As New WeibullDataSet
 
 'Add three interval censored data points.  
  WDS.AddFailureInterval(1, 5, 1)
  WDS.AddFailureInterval(6, 10, 1)
  WDS.AddFailureInterval(11, 15, 1)