WeibullBestFitOptions Class

From ReliaWiki
Revision as of 16:13, 21 February 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


Sets the Distribution Wizard and control panel settings for use with the CalculateBestFit method.

Properties

Distribution Wizard Settings

  • AllowExponential1 (type: boolean) Sets whether the 1-parameter exponential distribution will be considered.
  • AllowExponential2 (type: boolean) Sets whether the 2-parameter exponential distribution will be considered.
  • AllowNormal (type: boolean) Sets whether the normal distribution will be considered.
  • AllowLognormal (type: boolean) Sets whether the lognormal distribution will be considered.
  • AllowWeibull2 (type: boolean) Sets whether the 2-parameter Weibull distribution will be considered.
  • AllowWeibull3 (type: boolean) Sets whether the 3-parameter Weibull distribution will be considered.
  • AllowGamma (type: boolean) Sets whether the gamma distribution will be considered.
  • AllowGenGamma (type: boolean) Sets whether the generalized gamma distribution will be considered.
  • AllowLogistic (type: boolean) Sets whether the logistic distribution will be considered.
  • AllowLoglogistic (type: boolean) Sets whether the log-logistic distribution will be considered.
  • AllowGumbel (type: boolean) Sets whether the Gumbel distribution will be considered.

General Analysis Settings

  • Analysis (type: WeibullSolverMethod) Sets the Weibull solver analysis methods
  • RankingMethod (type: WeibullSolverRankMethod) Sets ranking method
  • UseRSRegression (type: boolean) Sets whether or not to use RSRegression
  • ConfBounds (type: WeibullSolverCBMethod) Sets Confidence Bounds
  • SortBeforeCalculations (type: WeibullSolverMethod) Sets whether or not data is sorted before calculations.
  • UngroupGroupedData (type: boolean) Sets whether or not data is ungrouped data

Application Setup Option

Formatted Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Set the various Settings.

       WDS.BestFitSettings.AllowExponential1 = True
       WDS.BestFitSettings.AllowExponential2 = True
       WDS.BestFitSettings.AllowNormal = True
       WDS.BestFitSettings.AllowLognormal = True
       WDS.BestFitSettings.AllowWeibull2 = True
       WDS.BestFitSettings.AllowWeibull3 = True
       WDS.BestFitSettings.AllowGamma = True
       WDS.BestFitSettings.AllowGenGamma = True
       WDS.BestFitSettings.AllowLogistic = True
       WDS.BestFitSettings.AllowLoglogistic = True
       WDS.BestFitSettings.AllowGumbel = True
       WDS.BestFitSettings.Analysis = WeibullSolverMethod.MLE
       WDS.BestFitSettings.RankingMethod = WeibullSolverRankMethod.Median
       WDS.BestFitSettings.UseRSRegression = False
       WDS.BestFitSettings.ConfBounds = WeibullSolverCBMethod.FisherMatrix
       WDS.BestFitSettings.UngroupGroupedData = False
       WDS.BestFitSettings.SortBeforeCalculations = True
       WDS.BestFitSettings.UseSpecialSort = True