WeibullDataSet.AddFreeForm

From ReliaWiki
Revision as of 17:29, 29 January 2014 by John Leavitt (talk | contribs)
Jump to navigation Jump to search


Adds a free-form data point to the data set, using the specified time and percentage values.

Method Syntax

  • AddFreeForm( Time As Double , 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.

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%