WeibullSolverNumParameters Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
|-
|-
|}
|}
== Usage Example ==
{{APIComment|Declare a WeibullDataSet object.}}
        Dim WDS as New [[WeibullDataSet Class|WeibullDataSet]]
{{APIComment|Set Weibull as the distribution for analysis.}}
        WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Distribution|Distribution]] = [[WeibullSolverDistribution]].Weibull
{{APIComment|Specify that the 2-parameter Weibull distribution will be used.}}
        WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Distribution|Distribution]] = [[WeibullSolverDistribution]].Weibull

Revision as of 22:53, 12 February 2014


Contains different forms of a life distribution (e.g., 2-parameter vs. 3-parameter).

The life distribution (e.g., Weibull vs. normal) is specified in the Distribution property of the WeibullAnalysisOptions class.

Syntax

Public Enum WeibullSolverNumParameters

Members

Name Description
MS_1Parameter 1 parameter
MS_2Parameter 2 parameters
MS_3Parameter 3 parameters
MS_Mixed Mixed Weibull (for Weibull distribution only)

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.Distribution = WeibullSolverDistribution.Weibull