WeibullBestFitOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 35: Line 35:
== Formatted Usage Example ==
== Formatted Usage Example ==


{{APIComment|'Declare the WeibullDataSet. See [[WeibullDataSet Class|WeibullDataSet]].}}
{{APIComment|'Declare the WeibullDataSet. See [[WeibullDataSet Class|WeibullDataSet]].}}
   Dim WDS as New WeibullDataSet
   Dim WDS as New WeibullDataSet
    
    
{{APIComment|'Specify the settings.}}
{{APIComment|'Specify the settings.}}
   WDS.BestFitSettings.AllowExponential1 = True
   WDS.BestFitSettings.AllowExponential1 = True
   WDS.BestFitSettings.AllowExponential2 = True
   WDS.BestFitSettings.AllowExponential2 = True

Revision as of 22:03, 25 April 2014


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

Methods

  • AllowAllDistributions Sets all the "Allow" properties to True.
  • AllowNoneDistributions Sets all the "Allow" properties to False.

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 (Control Panel) Settings

  • Analysis (as WeibullSolverMethod) Sets the method for estimating the parameters of the selected distribution (e.g., rank regression on X).
  • RankingMethod (as WeibullSolverRankMethod) Sets the method for calculating the unreliability estimates of the times-to-failure data (e.g., median ranks).
  • UseRSRegression (as boolean) Sets whether the ReliaSoft ranking method (RRM) will be used to calculate the unreliability estimates for times-to-failure data.
  • ConfBounds (as WeibullSolverCBMethod) Sets the method for calculating the confidence bounds (e.g., Fisher Matrix).
  • SortBeforeCalculations (as boolean) Sets whether times-to-failure data will be sorted in ascending order before calculation.
  • UngroupGroupedData (as boolean) Sets whether grouped data will be ungrouped when using rank regression.

Application Setup Option

Formatted Usage Example

 'Declare the WeibullDataSet. See WeibullDataSet. 
 Dim WDS as New WeibullDataSet
  
 'Specify the 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