WeibullDataSet Class

A usage example for this class is available here.

Constructors

 * WeibullDataSet
 * WeibullDataSet( String )

Methods
Use these methods to enter data points into a data sheet and analyze them. The settings for the analysis are specified with this class's properties.

Add/Remove Data
 * AddFailure( Double, Integer )
 * AddSuspension( Double, Integer )
 * AddFailureInterval( Double, Double, Integer )
 * AddSuspensionInterval( Double, Double, Integer )
 * AddFreeForm( Double, Double )
 * ClearDataSet

Analyze Data
 * Calculate
 * CalculateBestFit

Properties
Use these properties to specify analysis settings and view analysis results, as well as view or edit properties of the data set.

Analysis Settings
 * AnalysisSettings (as WeibullAnalysisOptions)
 * BestFitSettings (as WeibullBestFitOptions)
 * GeneralSettings (as WeibullGeneralOptions)

Analysis Results
 * FittedModel (as cModel)
 * AnalysisResults (as WeibullAnalysisResults)

Data Set Properties
 * DatasetName (as string)
 * FailureCount (as integer)
 * SuspensionCount (as integer)

Events
The WeibullEvents class contains

The event handlers include:


 * Message( WeibullDataSet, String, String, Boolean )
 * Question( WeibullDataSet, String, MsgBoxStyle, MsgBoxResult )
 * GetDistrParameters( WeibullDataSet, String, Boolean, List( Of ParamInputInfo ), Boolean )
 * UpdateCalculationProgress( WeibullDataSet, String, String, Double, Boolean, Long, Boolean )
 * ShowCalculationProgress( WeibullDataSet )
 * HideCalculationProgress( WeibullDataSet )

Usage Example
This example demonstrates how to fit a times-to-failure data set to a life distribution and then use the fitted distribution to calculate the reliability at a specified time. Full application examples are available at Synthesis_API_Reference.

Dim ADS As New WeibullDataSet("DataSet1") WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter WDS.AnalysisSettings.Analysis = WeibullSolverMethod.MLE WDS.AnalysisSettings.RankingMethod = WeibullSolverRankMethod.Median WDS.AnalysisSettings.UseRSRegression = False WDS.AnalysisSettings.ConfBounds = WeibullSolverCBMethod.FisherMatrix WDS.AnalysisSettings.SortBeforeCalculations = True WDS.AnalysisSettings.UngroupGroupedData = False WDS.AnalysisSettings.UseSpecialSort = True WDS.GeneralSettings.AllowBiasingNormal = False WDS.GeneralSettings.DiscardNegLocation = False WDS.GeneralSettings.ResetExpLocation = False WDS.GeneralSettings.Use3PTrueMLE = False WDS.GeneralSettings.UseExtendedGGamma = False WDS.GeneralSettings.UsePlottedYPoints = False WDS.GeneralSettings.WarnNegLocation = False WDS.AddFailure(16, 1) WDS.AddFailure(34, 1) WDS.AddFailure(53, 1) WDS.AddFailure(75, 1) WDS.AddFailure(93, 1) WDS.AddFailure(120, 1) WDS.AddFailure(120, 4) WDS.Calculate Dim Rel As Double Rel = WDS.FittedModel.Reliability(300)