WeibullDataSet.Calculate

Analyzes the data set and returns a message box that shows the estimated parameters of the life distribution, based on the settings specified in the  property of the WeibullDataSet object. In addition, it creates a retrievable cModel object that represents the fitted model from the life data analysis.

If no data set has been defined, the API prompts the user to enter the parameters for the specified distribution.

Syntax
'''.Calculate

Example
VBA WDS WeibullDataSet WDS.AddFailure(100, 1) WDS.AddFailure(120, 1) WDS.AddFailure(130, 1) WDS.AnalysisSettings.Distribution = WeibullSolverDistribution_Weibull WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters_MS_2Parameter WDS.Calculate model cModel model = WDS.FittedModel r Double r = model.reliability(100) MsgBox( & r)

VB.NET WDS WeibullDataSet WDS.AddFailure(100, 1) WDS.AddFailure(120, 1) WDS.AddFailure(130, 1) WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter WDS.Calculate model cModel model = WDS.FittedModel r Double r = model.reliability(100) MsgBox( & r)