ALTADataSet.Calculate

Fits a life distribution and life-stress relationship to the current data set, and creates a cModel object that represents the fitted model. Returns a message box that shows the estimated parameters of the fitted model.

To specify the life distribution, life-stress relationship and other analysis settings, use the  and   properties of the associated   object.

Syntax
.Calculate

Example
VBA ADS ALTADataSet ADS.AddStressDefinition(,,300) ADS.AddFailure_2(100, 1, 190) ADS.AddFailure_2(120, 1, 190) ADS.AddFailure_2(130, 1, 235) ADS.AddFailure_2(140, 1, 235) ADS.Calculate r Double r = ADS.FittedModel.Reliability(100) MsgBox( & r)

VB.NET ADS ALTADataSet ADS.AddStressDefinition(,,300) ADS.AddFailure(100, 1, 190) ADS.AddFailure(120, 1, 190) ADS.AddFailure(130, 1, 235) ADS.AddFailure(140, 1, 235) ADS.Calculate r Double r = ADS.FittedModel.Reliability(100) MsgBox( & r)