WeibullAnalysisOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:




<onlyinclude>Represents the analysis settings for the life data analysis of an associated [[WeibullDataSet Class|WeibullDataSet]] object.</onlyinclude>
<onlyinclude>Represents the analysis settings of an associated [[WeibullDataSet Class|WeibullDataSet]] object.</onlyinclude>


== Properties  ==
== Properties  ==

Revision as of 23:02, 13 April 2016

APIWiki.png


Member of: SynthesisAPI


Represents the analysis settings of an associated WeibullDataSet object.

Properties

Name Description
Analysis Gets or sets a value from the WeibullSolverMethod enumeration, which specifies the method (e.g., RRX, MLE, etc.) for estimating the parameters of the distribution. Double.
Bayesian_Lambda Gets or sets the value of the lambda parameter of the prior distribution. Applies to Bayesian-Weibull analyses where the prior distribution of beta is assumed to follow an exponential distribution. Double.
Bayesian_MaxBeta Gets or sets the value of the maximum value of the beta parameter of the prior distribution. Applies to Bayesian-Weibull analyses where the prior distribution of beta is assumed to follow a uniform distribution. Double.
Bayesian_Mean Gets or sets the value of the mean parameter of the prior distribution. Applies to Bayesian-Weibull analyses where the prior distribution of beta is assumed to follow a normal distribution. Double.
Bayesian_MinBeta Gets or sets the value of the minimum value of the beta parameter of the prior distribution. Applies to Bayesian-Weibull analyses where the prior distribution of beta is assumed to follow a uniform distribution. Double.
Bayesian_PriorDistribution Gets or set a value from the WeibullBayesianPriorDistribution enumeration, which specifies the prior distribution for the Bayesian-Weibull analysis.
Bayesian_ResultsAs Gets or sets a value from the WeibullBayesianResultsOption enumeration, which specifies whether to obtain the point estimates of beta from the median value or the mean value of the posterior distribution.
Bayesian_Std Gets or sets the value of the standard deviation parameter of the prior distribution. Applies to Bayesian-Weibull analyses where the prior distribution of beta is assumed to follow a normal distribution. Double.
ConfBounds Gets or sets a value from the WeibullSolverCBMethod enumeration, which specifies the method for calculating the confidence bounds (e.g., Fisher Matrix).
Distribution Gets or sets a value from the WeibullSolverDistribution enumeration, which specifies the life distribution to fit to the data set.
Parameters Gets or sets a value from the WeibullSolverNumParameters enumeration, which specifies the form (e.g., 2-parameter, 3-parameter, etc.) of the Weibull distribution.
RankingMethod Gets or sets a value from the WeibullSolverRankMethod, which specifies the rank method (e.g., median ranks or Kaplan-Meier) for calculating the unreliability estimates of the times-to-failure data.
SortBeforeCalculations Indicates whether the failures/suspension times in the data set are sorted in ascending order before calculation. Boolean.
Subpopulations Gets or sets the number of subpopulations in the data set. Applies to mixed Weibull analysis only. Integer.
UngroupedGroupedData Indicates whether to ungroup a grouped data set when using rank regression. Boolean.
UseRSRegression Indicates whether to use ReliaSoft's ranking method (RRM) to calculate the unreliability estimates for times-to-failure data. Boolean.
UseSpecialSort Indicates whether failures will always be put before suspensions when two identical times are encountered.. Boolean.
Weibull_UnbiasParameters Indicates whether the biased beta estimate (due to MLE sampling error) will be corrected for the 2-parameter Weibull distribution. Boolean.


Example

The following example demonstrates how to initialize some of the analysis settings for a particular WeibullDataSet object.

VBA

 'Declare a new WeibullDataSet object. 
  Dim WDS As New WeibullDataSet
 
 'Specify the analysis settings. 
  WDS.AnalysisSettings.Distribution = WeibullSolverDistribution_Weibull
  WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters_MS_2Parameter
  WDS.AnalysisSettings.Analysis = WeibullSolverMethod_RRX
  WDS.AnalysisSettings.RankingMethod = WeibullSolverRankMethod_Median
  WDS.AnalysisSettings.UseRSRegression = False
  WDS.AnalysisSettings.ConfBounds = WeibullSolverCBMethod_FisherMatrix
  WDS.AnalysisSettings.UngroupGroupedData = False
  WDS.AnalysisSettings.Weibull_UnbiasParameters = False
  WDS.AnalysisSettings.SortBeforeCalculations = True
  WDS.AnalysisSettings.UseSpecialSort = True

 'Add failure times to the data set. 
  Call WDS.AddFailure(100, 1)
  Call WDS.AddFailure(120, 1)
  Call WDS.AddFailure(130, 1)  

 'Analyze the data set. 
  WDS.Calculate()
VB.NET

 'Declare a new WeibullDataSet object. 
  Dim WDS As New WeibullDataSet
 
 'Specify the analysis settings. 
  WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull
  WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter
  WDS.AnalysisSettings.Analysis = WeibullSolverMethod.RRX
  WDS.AnalysisSettings.RankingMethod = WeibullSolverRankMethod.Median
  WDS.AnalysisSettings.UseRSRegression = False
  WDS.AnalysisSettings.ConfBounds = WeibullSolverCBMethod.FisherMatrix
  WDS.AnalysisSettings.UngroupGroupedData = False
  WDS.AnalysisSettings.Weibull_UnbiasParameters = False
  WDS.AnalysisSettings.SortBeforeCalculations = True
  WDS.AnalysisSettings.UseSpecialSort = True

 'Add failure times to the data set. 
  WDS.AddFailure(100, 1)
  WDS.AddFailure(120, 1)
  WDS.AddFailure(130, 1)  

 'Analyze the data set. 
  WDS.Calculate()