WeibullAnalysisOptions Class

From ReliaWiki
Revision as of 19:15, 6 February 2014 by John Leavitt (talk | contribs)
Jump to navigation Jump to search


Sets the WeibullDataSet.AnalysisSettings property.

Properties

  • Distribution As WeibullSolverDistribution Sets the life distribution to fit to the data set.
  • Parameters As WeibullSolverNumParameters Sets the form of the selected life distribution (e.g., 2-parameter Weibull vs. mixed Weibull).
  • 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).
  • UngroupGroupedData As Boolean Sets whether grouped data will be ungrouped when using rank regression.
  • Subpopulations As Integer Sets the number of subpopulations in the mixed data set (mixed Weibull analysis only).
  • Weibull_UnbiasParameters As Boolean Sets whether the biased beta estimate (due to MLE sampling error) will be corrected for the 2-parameter Weibull distribution.
  • Bayesian_PriorDistribution As WeibullBayesianPriorDistribution Sets the distribution to be used as the prior distribution of beta for Bayesian-Weibull analysis.
  • Bayesian_Mean As Double Sets the mean parameter to use for Bayesian-Weibull analysis when the normal distribution is assumed.
  • Bayesian_Std As Double Sets the standard deviation parameter to use for Bayesian-Weibull analysis when the normal distribution is assumed.
  • Bayesian_Lambda As Double Sets the lambda parameter to use for Bayesian-Weibull analysis when the exponential distribution is assumed.
  • Bayesian_MinBeta As Double Sets the minimum beta parameter to use for Bayesian-Weibull analysis when a uniform distribution is assumed.
  • Bayesian_MaxBeta As Double Sets the maximum beta parameter to use for Bayesian-Weibull analysis when the assumed distribution is uniform.
  • Bayesian_Results As WeibullBayesianResultsOption Sets whether the point estimates for beta are calculated from the median or mean value of the posterior distribution.
  • SortBeforeCalculations As Boolean Sets whether times-to-failure data will be sorted in ascending order before calculation.
  • UseSpecialSort As Double Sets whether failures will always be put before suspensions when two identical times are encountered.

Formatted Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Set the various Settings.

       WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull        
       WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter
       WDS.AnalysisSettings.Analysis = WeibullSolverMethod.MLE
       WDS.AnalysisSettings.RankingMethod = WeibullSolverRankMethod.Median
       WDS.AnalysisSettings.UseRSRegression = False
       WDS.AnalysisSettings.ConfBounds = WeibullSolverCBMethod.FisherMatrix
       WDS.AnalysisSettings.UngroupGroupedData = False
       WDS.AnalysisSettings.Subpopulations = 2
       WDS.AnalysisSettings.Weibull_UnbiasParameters = False
       WDS.AnalysisSettings.Bayesian_PriorDistribution = WeibullBayesianPriorDistribution.Normal
       WDS.AnalysisSettings.Bayesian_Mean = 2
       WDS.AnalysisSettings.Bayesian_Std = 1
       WDS.AnalysisSettings.Bayesian_Lambda = 2
       WDS.AnalysisSettings.Bayesian_MinBeta = 1
       WDS.AnalysisSettings.Bayesian_MaxBeta = 2
       WDS.AnalysisSettings.Bayesian_ResultsAs = WeibullBayesianResultsOption.Median
       WDS.AnalysisSettings.SortBeforeCalculations = True
       WDS.AnalysisSettings.UseSpecialSort = True