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}}  


== Syntax  ==
*Calculate()
== Remarks ==
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.
== Syntax  ==
<div style="margin-right: 150px;">
{{APIComment|'Declaration}}
{{APIPrefix|Public Sub}}Calculate()
<div style="margin-right: 150px;">


== Usage Example ==
== Usage Example ==

Revision as of 17:48, 20 February 2014


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

Syntax

  • Calculate()

Remarks

This is equivalent to clicking the Calculate icon on the standard folio control panel.

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