Fits a life distribution and life-stress relationship to the current data set, and creates a cModel object that represents the fitted model.

Remarks: To specify the distribution, life-stress relationship and other analysis settings, use the AnalysisSettings and GeneralSettings properties of the object. To return the cModel object that is produced, use the FittedModel property of the ALTADataSet object.

## Syntax

.Calculate()


## Example

VBA

'Define a stress type with use stress level = 300.

'Add failure times for Stress1 = 190 and 235.

'Analyze the data set, using all default analysis settings.

'Calculate the reliability at 100 hrs and display the result.
Dim r As Double
MsgBox("Reliability at 100 hrs: " & r)

VB.NET

'Define a stress type with use stress level = 300.

'Add failure times for Stress1 = 190 and 235.

'Analyze the data set, using all default analysis settings.