WeibullAnalysisResults Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
*CorrelationCoefficient (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.CorrelationCoefficient.Cmt}}}}
*CorrelationCoefficient (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.CorrelationCoefficient.Cmt}}}}
*LikelihoodValue (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.LikelihoodValue.Cmt}}}}
*LikelihoodValue (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.LikelihoodValue.Cmt}}}}
*PercentNonZero (as ''double) {{APIComment|{{Template:WeibullAnalysisResults.PercentNonZero.Cmt}}}}
*PercentNonZero (as ''double'') {{APIComment|{{Template:WeibullAnalysisResults.PercentNonZero.Cmt}}}}


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

Revision as of 23:39, 20 February 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.

Use the WeibullDataSet.AnalysisResults method to access these results.

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