WeibullAnalysisResults Class

From ReliaWiki
Revision as of 22:15, 25 April 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


Stores the correlation coefficient, likelihood value and percent non-zero values that were estimated from the analysis, if applicable.

These are equivalent to the "Rho," "LK Value" and "Pnz" results that can be shown in the Analysis Summary of the standard folio control panel.

Properties

  • CorrelationCoefficient (as double) The correlation coefficient value (Rho).
  • LikelihoodValue (as double) The likelihood value (LK Value).
  • PercentNonZero (as double) The percent non-zero value (Pnz).

Formatted Usage Example

 'Declare the WeibullDataSet. See New WeibullDataSet for additional details. 
 Dim WDS as New WeibullDataSet
 
 'Add values to the raw data. See AddFailure for additional details. 
 WDS.AddFailure(1, 1)
 WDS.AddFailure(2, 1)
 WDS.AddFailure(3, 1)
 
 'Calculate the WeibullDataSet. See CalculateBestFit for additional details. 
 WDS.Calculate
 
 'Retrieve the results.  In this example, the correlation coefficient result value is retrieved. 
 Dim CorrCoeff As Double
 CorrCoeff = WDS.AnalysisResults.CorrelationCoefficient