WeibullDataSet.AddFreeForm: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
Inserts a free-form (probit) data point to the WeibullDataSet.
== Declaration  ==
== Declaration  ==
{{APIPrefix|Sub}}
{{APIName|AddFreeForm(}}
{{APIName|AddSuspensionInterval(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}
{{APIName|Time}}
{{APIName|Time}}
Line 12: Line 14:
{{APIName|)}}
{{APIName|)}}


{{APIComment|Adds a free-form data point to the collection of data points in the data set.}}
 
== Parameters ==
'''Time'''
The X-Axis value (independent variable), denoted by '''Time''' for this method.
 
'''Percent'''
The cumulative percent of failures for the Y-Axis value, denoted by '''Percent''' for this method.
 
{{APIComment|Adds an Free-Form (probit) data point to the collection of data points in the data set.}}
 
== Usage Example ==
 
{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
        Dim WDS as New WeibullDataSet
 
{{APIComment|Add values to the raw data.}}
        WDS.AddFreeForm(100, 10) 'At 100hr, the probability of failure is 10%
        WDS.AddFreeForm(200, 20) 'At 200hr, the probability of failure is 20%
        WDS.AddFreeForm(300, 30) 'At 300hr, the probability of failure is 30%

Revision as of 17:59, 11 September 2013



Inserts a free-form (probit) data point to the WeibullDataSet.

Declaration

AddFreeForm( ByVal Time As Double , ByVal Percent As Double )


Parameters

Time The X-Axis value (independent variable), denoted by Time for this method.

Percent The cumulative percent of failures for the Y-Axis value, denoted by Percent for this method.

Adds an Free-Form (probit) data point to the collection of data points in the data set.

Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Add values to the raw data.

       WDS.AddFreeForm(100, 10) 'At 100hr, the probability of failure is 10%
       WDS.AddFreeForm(200, 20) 'At 200hr, the probability of failure is 20%
       WDS.AddFreeForm(300, 30) 'At 300hr, the probability of failure is 30%