WeibullAnalysisOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
*'''[[WeibullAnalysisOptions.UseSpecialSort|UseSpecialSort]]''' {{APIComment|{{Template:WeibullAnalysisOptions.UseSpecialSort.Cmt}}}}
*'''[[WeibullAnalysisOptions.UseSpecialSort|UseSpecialSort]]''' {{APIComment|{{Template:WeibullAnalysisOptions.UseSpecialSort.Cmt}}}}


== Formatted Usage Example ==
== Usage Example ==
{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
{{APIComment|Declare a WeibullDataSet object.}}
         Dim WDS as New WeibullDataSet
         Dim WDS as New [[WeibullDataSet Class|WeibullDataSet]]


{{APIComment|Set the various Settings.}}
{{APIComment|Set Weibull as the distribution for analysis.}}
         WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull      
         WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Distribution|Distribution]] = [[WeibullSolverDistribution]].Weibull
        WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter
 
        WDS.AnalysisSettings.Analysis = WeibullSolverMethod.MLE
{{APIComment|Specify that the 2-parameter Weibull distribution will be used.}}
        WDS.AnalysisSettings.RankingMethod = WeibullSolverRankMethod.Median
         WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Parameters|Parameters]] = [[WeibullSolverNumParameters]].MS_2Parameter
        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

Revision as of 23:08, 12 February 2014


Sets the WeibullDataSet.AnalysisSettings property.

Properties

Selected Distribution

  • Distribution Sets the life distribution to fit to the data set.
  • Parameters Sets the form of the selected life distribution (e.g., 2-parameter Weibull vs. mixed Weibull).
  • Subpopulations Sets the number of subpopulations in the mixed data set (mixed Weibull analysis only).

Control Panel Analysis Page Settings

  • Analysis Sets the method for estimating the parameters of the selected distribution (e.g., rank regression on X).
  • RankingMethod Sets the method for calculating the unreliability estimates of the times-to-failure data (e.g., median ranks).
  • UseRSRegression Sets whether the ReliaSoft ranking method (RRM) will be used to calculate the unreliability estimates for times-to-failure data.
  • ConfBounds Sets the method for calculating the confidence bounds (e.g., Fisher Matrix).
  • SortBeforeCalculations Sets whether times-to-failure data will be sorted in ascending order before calculation.
  • UngroupGroupedData Sets whether grouped data will be ungrouped when using rank regression.
  • Weibull_UnbiasParameters Sets whether the biased beta estimate (due to MLE sampling error) will be corrected for the 2-parameter Weibull distribution.

Bayesian-Weibull Model Settings

  • Bayesian_PriorDistribution Sets the distribution to be used as the prior distribution of beta for Bayesian-Weibull analysis.
  • Bayesian_Mean Sets the mean parameter to use for Bayesian-Weibull analysis when the normal distribution is assumed.
  • Bayesian_Std Sets the standard deviation parameter to use for Bayesian-Weibull analysis when the normal distribution is assumed.
  • Bayesian_Lambda Sets the lambda parameter to use for Bayesian-Weibull analysis when the exponential distribution is assumed.
  • Bayesian_MinBeta Sets the minimum beta parameter to use for Bayesian-Weibull analysis when a uniform distribution is assumed.
  • Bayesian_MaxBeta Sets the maximum beta parameter to use for Bayesian-Weibull analysis when the assumed distribution is uniform.
  • Bayesian_Results Sets whether the point estimates for beta are calculated from the median or mean value of the posterior distribution.

Application Setup Option

  • UseSpecialSort Sets whether failures will always be put before suspensions when two identical times are encountered.

Usage Example

Declare a WeibullDataSet object.

       Dim WDS as New WeibullDataSet

Set Weibull as the distribution for analysis.

       WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull

Specify that the 2-parameter Weibull distribution will be used.

       WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter