WeibullDataSet.Calculate

From ReliaWiki
Revision as of 17:39, 18 September 2013 by Albert Szeto (talk | contribs)
Jump to navigation Jump to search



Runs the calculation and creates a distribution model for the WeibullDataSet.

Method Syntax

Calculate()

Creates a model from the raw data previously entered in the data set. Also sets the Fitted Model property if successful. Clears it (sets to Nothing) in case of an error.

Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Add values to the raw data.

       WDS.AddFailure(1, 1)
       WDS.AddFailure(2, 1)
       WDS.AddFailure(3, 1)

Calculate the WeibullDataSet.

       WDS.Calculate