WeibullAnalysisResults Class

From ReliaWiki
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 WeibullDataSet. 
 Dim WDS as New WeibullDataSet
 
 'Add three failure times to the raw data. See AddFailure. 
 WDS.AddFailure(1, 1)
 WDS.AddFailure(2, 1)
 WDS.AddFailure(3, 1)
 
 'Fit the data to a life distribution, using all default settings. See CalculateBestFit. 
 WDS.Calculate
 
 'Retrieve the results.  In this example, the correlation coefficient result value is retrieved. 
 Dim CorrCoeff As Double
 CorrCoeff = WDS.AnalysisResults.CorrelationCoefficient