WeibullDataSet.AddFailureInterval: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Alex Ulanov (talk | contribs) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template: | {{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}} | ||
{{Template:WeibullDataSet | |||
<onlyinclude>Adds interval censored failures to the data set.</onlyinclude> | |||
{{APIComment|'Declare a new WeibullDataSet object. | == 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''' | |||
{{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) | |||
'''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(6, 10, 1) | |||
WDS.AddFailureInterval(11, 15, 1) |
Latest revision as of 17:59, 16 January 2018
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)