WeibullDataSet Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 70: | Line 70: | ||
'''Analysis Settings''' | '''Analysis Settings''' | ||
*AnalysisSettings of type ''[[WeibullAnalysisOptions_Class|WeibullAnalysisOptions]]'' | *AnalysisSettings of type ''[[WeibullAnalysisOptions_Class|WeibullAnalysisOptions]]'' (ReadOnly) | ||
:{{APIComment|{{Template:WeibullDataSet.AnalysisSettings.Cmt}}}} | :{{APIComment|{{Template:WeibullDataSet.AnalysisSettings.Cmt}}}} | ||
*'''[[WeibullDataSet.BestFitSettings|BestFitSettings]]''' {{APIComment|{{Template:WeibullDataSet.BestFitSettings.Cmt}}}} | *'''[[WeibullDataSet.BestFitSettings|BestFitSettings]]''' {{APIComment|{{Template:WeibullDataSet.BestFitSettings.Cmt}}}} |
Revision as of 23:01, 18 February 2014
Provides 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
- WeibullDataSet() Initializes a new instance of the WeibullDataSet class with a system-supplied data set name.
- WeibullDataSet( ByVal Name As String ) Initializes a new instance of the WeibullDataSet class with a specified data set name.
Parameters
- Name: The name of the data set.
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.
Name | Return Type | Description | |
Add/Remove Data | |||
AddFailure( Value As Double , NumberInGroup As Integer ) | None | Adds failure times to the data set, using the specified time and number of failures at that time. | |
AddSuspension( Value As Double , NumberInGroup As Integer ) | None | Adds suspensions to the data set, using the specified time and number of suspensions at that time. | |
Analyze Data | |||
Calculate() | None | Fits the distribution to the current data set using the settings specified in the AnalysisSettings property. | |
CalculateBestFit() | None | Automatically finds the best fitting distribution and fits that distribution to the current data set using the settings specified in the BestFitSettings property. |
Add/Remove Data
- AddFailure( Value As Double , NumberInGroup As Integer )
- Adds failure times to the data set, using the specified time and number of failures at that time.
- AddSuspension( Value As Double , NumberInGroup As Integer )
- Adds suspensions to the data set, using the specified time and number of suspensions at that time.
- AddFailureInterval Adds interval censored failures to the data set, using the specified start/end times and number of failures that occurred within the interval.
- AddSuspensionInterval Adds interval censored suspensions to the data set, using the specified start/end times and number of suspensions for that interval.
- AddFreeForm Adds a free-form data point to the data set, using the specified time and percentage values.
- ClearDataSet Clears all data in the data set and removes the fitted model, if any.
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.
Name | Type | Description |
Analysis Settings | ||
AnalysisSettings | WeibullAnalysisOptions | Sets the control panel settings for use with the Calculate method. |
BestFitSettings | WeibullBestFitOptions | Sets the Distribution Wizard and control panel settings for use with the CalculateBestFit method. |
GeneralSettings | WeibullGeneralOptions | Sets some of the Application Setup calculation options that can apply to both the Calculate and CalculateBestFit methods. |
Analysis Results | ||
FittedModel | cModel | Gets the fitted model from the life data analysis. This property is cleared if the analysis could not be completed. |
AnalysisResults | WeibullAnalysisResults | Gets the correlation coefficient, likelihood value and percent non-zero values that were estimated from the analysis, if applicable. |
Analysis Settings
- AnalysisSettings of type WeibullAnalysisOptions (ReadOnly)
- Sets the control panel settings for use with the Calculate method.
- BestFitSettings Sets the Distribution Wizard and control panel settings for use with the CalculateBestFit method.
- GeneralSettings Sets some of the Application Setup calculation options that can apply to both the Calculate and CalculateBestFit methods.
Analysis Results
- FittedModel Gets the fitted model from the life data analysis. This property is cleared if the analysis could not be completed.
- AnalysisResults Gets the correlation coefficient, likelihood value and percent non-zero values that were estimated from the analysis, if applicable.
Data Set Properties
- DatasetName Gets or sets the name of the data set, which will be displayed on any plot you create.
- FailureCount Gets the total number of failures in the data set.
- SuspensionCount Gets the total number of suspensions in the data set.
Events
- WeibullEvents Class all the event handlers that can be called by WeibullDataSet. To use events, you must inherit the class, override its methods and assign its instance to the Events property of a WeibullDataSet. WeibullEvents inheritance is not available in VB6/VBA.