WeibullDataSet Class

From ReliaWiki
Jump to navigation Jump to search


Provides the functionality of a Weibull++ standard folio, including entering data in a data set, specifying analysis settings and fitting a distribution to the data set. To create plots, use the WAPlots class.

A usage example for this class is available here.

Constructors

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

Analyze Data

  • Calculate Fits the distribution to the current data set using the settings specified in the AnalysisSettings property.
  • CalculateBestFit Automatically finds the best fitting distribution and fits that distribution to the current data set using the settings specified in the BestFitSettings property.

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

Analysis Results

  • FittedModel (as cModel) Gets the fitted model from the life data analysis. This property is cleared if the analysis could not be completed.
  • AnalysisResults (as WeibullAnalysisResults) Gets the correlation coefficient, likelihood value and percent non-zero values that were estimated from the analysis, if applicable.

Data Set Properties

  • DatasetName (as string) Gets or sets the name of the data set, which will be displayed on any plot you create.
  • FailureCount (as integer) Gets the total number of failures in the data set.
  • SuspensionCount (as integer) Gets the total number of suspensions in the data set.

Events

The WeibullEvents class contains all the event handlers that can be called by WeibullDataSet. These include:

  • Message Called when a message should be displayed. Displays a message.
  • Question Called when an answer to a question is required. Displays a prompt and returns the result.
  • GetDistrParameters Called when additional input is required.
  • UpdateCalculationProgress Called when the calculation progress should be updated. Provides ability to customize the calculation progress display.
  • ShowCalculationProgress Called when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.
  • HideCalculationProgress Called when calculation progress should be hidden. Hides the calculation progress display.