WeibullDataSet.Calculate

From ReliaWiki
Revision as of 16:10, 21 February 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


Fits the distribution to the current data set using the settings specified in the AnalysisSettings property.

This is equivalent to clicking the Calculate icon on the standard folio control panel and publishing the results. The model is saved in the FitModel property of WeibullDataSet.

Syntax

  • Calculate()

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