# WeibullAnalysisResults Class

Member of: SynthesisAPI

Represents the correlation coefficient, likelihood ratio and PNZ values from the life data analysis of the associated WeibullDataSet object.

## Properties

Name Description
CorrelationCoefficientGets the correlation coefficient (rho value), assuming the parameters of the distribution were estimated using rank regression. Double.
LikelihoodValueGets the likelihood function value (LK value). Double.
PercentNonZeroGets the percent non-zero (Pnz) value of the data set. Double. A value of 1 indicates that there are no zero failure times in the data set; a decimal value indicates that the data set includes zero failure times.

## Example

The following example demonstrates how to return the correlation coefficient of a particular WeibullDataSet object.

VBA

'Declare a WeibullDataSet object.
Dim WDS as New WeibullDataSet

'Add the failure times 10, 20 and 30 to the data set.

'Fit the data to a life distribution, using all default settings.
WDS.Calculate

'Retrieve the value of the correlation coefficient.
Dim CorrCoeff As Double
CorrCoeff = WDS.AnalysisResults.CorrelationCoefficient
Msgbox(CorrCoeff)

VB.NET

'Declare a WeibullDataSet object.
Dim WDS as New WeibullDataSet

'Add the failure times 10, 20 and 30 to the data set.

'Fit the data to a life distribution, using all default settings.
WDS.Calculate

'Retrieve the value of the correlation coefficient.
Dim CorrCoeff As Double
CorrCoeff = WDS.AnalysisResults.CorrelationCoefficient
Msgbox(CorrCoeff)