WeibullDataSet Class

From ReliaWiki
Revision as of 18:55, 30 August 2013 by Pantelis (talk | contribs) (Created page with 'Properties and variables: <br> <br> ''DatasetName ''As String  Gets or set the name of the data set. - Events As WeibullEvents<br>Reference to a class that contains ov…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Properties and variables:



DatasetName As String  Gets or set the name of the data set.

- Events As WeibullEvents
Reference to a class that contains overridable methods for handling Weibull solver events.

- ReadOnly GeneralSettings As WeibullGeneralOptions
General settings used when fitting the model or finding the best fit.


- ReadOnly AnalysisSettings As WeibullAnalysisOptions
Settings used when fitting the model.

- ReadOnly BestFitSettings As WeibullBestFitOptions
Settings used when fitting the model or finding the best fit.

- ReadOnly Property FittedModel As cModel
Model, fitted from the raw data. See cModel class for the list of its methods below.

- ReadOnly Property FailureCount As Integer
Total number of failures in the data set.

- ReadOnly Property SuspensionCount As Integer
Total number of suspensions in the data set.

- Public Events As New WeibullEvents
Reference to a class that contains overridable methods for handling Weibull solver events

Methods:
- Sub ClearDataSet()
Clears all data and fitted model. All analysis settings stay unchanged.

- Sub AddFailure(ByVal Value As Double, ByVal NumberInGroup As Integer)
Adds a failure data point to the collection of data points in the data set.

- Sub AddSuspension(ByVal Value As Double, ByVal NumberInGroup As Integer)
Adds a suspension data point to the collection of data points in the data set.

- Sub AddFailureInterval(ByVal StartValue As Double, ByVal EndValue As Double, ByVal NumberInGroup As Long)
Adds a failure interval data point to the collection of data points in the data set.

- Sub AddSuspensionInterval(ByVal StartValue As Double, ByVal EndValue As Double, ByVal NumberInGroup As Long)
Adds a suspension interval data point to the collection of data points in the data set.

- Sub AddFreeForm(ByVal Time As Double, ByVal Percent As Double)
Adds a free-form data point to the collection of data points in the data set.


- Sub Calculate()
Fits a model from the raw data previously enetered in the data set. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.

- Sub CalculateBestFit()
Finds the distribution that fits the data best. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.