WeibullGeneralOptions Class

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


Sets some of the Application Setup calculation options that can apply to both the Calculate and CalculateBestFit methods.

In Weibull++, these settings can be found on the Calculations page of the Application Setup window.

Properties

Special Options on Location Parameter

  • WarnNegLocation (type: boolean) Sets whether a warning will be generated when the location parameter contains a negative value.
  • DiscardNegLocation (type: boolean) Sets whether to discard the location parameter when it contains a negative value.
  • ResetExpLocation (type: boolean) Sets whether to reset the value of the location parameter equal to the first failure time, T1, if the parameter is greater than T1. (Exponential distribution only.)
  • Use3PTrueMLE (type: boolean) Sets whether to use a true 3-parameter MLE solution for 3-parameter Weibull.
  • UseExtendedGGamma (type: boolean) Sets whether to allow the lambda parameter of the generalized gamma distribution to take negative values.

Other Options

  • AllowBiasingNormal (type: boolean) Sets whether to correct the MLE standard deviation (sigma) value for biasedness (complete data only).
  • UsePlottedYPoints (type: boolean) Sets whether to use the plotted points (using median ranks or Kaplan-Meier) to calculate the difference between observed and model estimated probability for the Kolmogorov-Smirnov test.

Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Set various settings.

       WDS.GeneralSettings.AllowBiasingNormal = False
       WDS.GeneralSettings.DiscardNegLocation = False
       WDS.GeneralSettings.ResetExpLocation = True
       WDS.GeneralSettings.Use3PTrueMLE = False
       WDS.GeneralSettings.UseExtendedGGamma = False
       WDS.GeneralSettings.UsePlottedYPoints = False
       WDS.GeneralSettings.WarnNegLocation = False