WeibullDataSet.Calculate: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


== Method Syntax ==
== Method Syntax ==
{{APIName|'''Calculate'''()}}<br>
{{Template:WeibullDataSet.Calculate}}
{{APIComment|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 ==
== Usage Example ==

Revision as of 17:32, 29 January 2014



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

Method 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