WeibullDataSet.Calculate: Difference between revisions

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


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


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

Revision as of 23:36, 19 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.

Syntax

 'Declaration 
Public SubCalculate()

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