WeibullDataSet.Calculate: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{Template:WeibullDataSet.Calculate.Cmt}}  
{{Template:WeibullDataSet.Calculate.Cmt}}  


This is equivalent to clicking the '''Calculate''' icon on the standard folio control panel.
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_Class|WeibullDataSet]].


== Syntax  ==
== Syntax  ==

Revision as of 16:10, 21 February 2014


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