WeibullAnalysisOptions Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|'Initialize a new WeibullDataSet object.}} | |||
{{APIComment| | Dim WDS As New WeibullDataSet | ||
{{APIComment|'Set the WeibullAnalysisOptions properties.}} | |||
{{APIComment|Set | 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.Subpopulations = 0 | |||
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 16:13, 28 April 2014
Sets the control panel settings for use with the Calculate method.
Properties
Life Distribution
- 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).
- Subpopulations (as integer) Sets the number of subpopulations in the mixed data set (mixed Weibull analysis only).
General Analysis 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.
- 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-Weibull Analysis Settings
- 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.
Application Setup Option
- UseSpecialSort (as boolean) Sets whether failures will always be put before suspensions when two identical times are encountered.
Usage Example
'Initialize a new WeibullDataSet object. Dim WDS As New WeibullDataSet 'Set the WeibullAnalysisOptions properties. 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.Subpopulations = 0 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