WeibullSolverMethod Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


== Syntax==
== Syntax==
{{APIPrefix|Public Enum}}
{{APIPrefix|Public Enum}}
{{APIName|'''WeibullSolverMethod'''}}<br>
{{APIName|'''WeibullSolverMethod'''}}
<div style="margin-right: 150px;">
 
{{Template:WeibullSolverMethod}}
== Members ==
</div>
 
{| border="1" cellpadding="5" cellspacing="0"
| '''Name''' || '''Description'''
|-
|RRX        || Rank Regression on X (RRX)
|-
|RRY        || Rank Regression Y (RRY)
|-
|MLE        || Maximum Likelihood Estimation (MLE)
|-
|}
 
== 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.Parameters|Parameters]] = [[WeibullSolverNumParameters]].MS_2Parameter
 
{{APIComment|Set MLE as the method that will be used to estimate the parameters.}}
        WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Analysis|Analysis]] = [[WeibullSolverMethod]].MLE

Revision as of 23:23, 12 February 2014


Contains different methods for estimating the parameters of the selected distribution (e.g., rank regression X).

Syntax

Public Enum WeibullSolverMethod

Members

Name Description
RRX Rank Regression on X (RRX)
RRY Rank Regression Y (RRY)
MLE Maximum Likelihood Estimation (MLE)

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

Set MLE as the method that will be used to estimate the parameters.

       WDS.AnalysisSettings.Analysis = WeibullSolverMethod.MLE