WeibullAnalysisResults Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 10: Line 10:
*PercentNonZero (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.PercentNonZero.Cmt}}}}
*PercentNonZero (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.PercentNonZero.Cmt}}}}


== Formatted Usage Example ==
== Usage Example ==


  {{APIComment|'Declare the WeibullDataSet. See [[WeibullDataSet Class|WeibullDataSet]].}}
  {{APIComment|'Declare the WeibullDataSet. See [[WeibullDataSet Class|WeibullDataSet]].}}

Revision as of 15:47, 28 April 2014


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).

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