WeibullDataSet.AddFailureInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}}
{{Template:WeibullDataSet.AddFailureInterval.Cmt}}


== Syntax ==
*AddFailureInterval( StartValue{{APIPrefix|As Double}}, EndValue{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}})
Parameters
:''StartValue'': The starting value of the failure interval.
:''EndValue'': The ending value of the failure interval.
:''NumberInGroup'': The number of failures that occurred during the interval.


== Usage Example ==
<onlyinclude>Adds interval censored failures to the data set.</onlyinclude>


  {{APIComment|'Declare a new WeibullDataSet object. See [[WeibullDataSet Class|WeibullDataSet]].}}
== Syntax  ==
  Dim WDS as New WeibullDataSet
'''.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. Integer. The number of failures that occurred during the interval.
 
 
== Example ==
'''VBA|VB.NET'''
  {{APIComment|'Declare a new WeibullDataSet object.}}  
  {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet
    
    
  {{APIComment|'Add three interval censored data points.}}
  {{APIComment|'Add three interval censored data points.}}  
  WDS.AddFailureInterval(1, 5, 1)
  WDS.AddFailureInterval(1, 5, 1)
  WDS.AddFailureInterval(6, 10, 1)
  WDS.AddFailureInterval(6, 10, 1)
  WDS.AddFailureInterval(11, 15, 1)
  WDS.AddFailureInterval(11, 15, 1)

Revision as of 21:33, 30 March 2016

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. Integer. The number of failures that occurred during the interval.


Example

VBA|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)