ALTAAnalysisOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|ALTADataSet_Class|ALTADataSet}}
{{Template:API}}{{Template:APIBreadcrumb}}
{{Template:ALTADataSet.AnalysisSettings.Cmt}}


== Properties ==
*ModelType (as ''[[ALTASolverModel Enumeration|ALTASolverModel]]'') {{APIComment|{{Template:ALTAAnalysisOptions.ModelType.Cmt}}}}
*Distribution (as ''[[ALTASolverDistribution Enumeration|ALTASolverDistribution]]'') {{APIComment|{{Template:ALTAAnalysisOptions.Distribution.Cmt}}}}
*Analysis (as ''[[ALTASolverMethod Enumeration|ALTASolverMethod]]'') {{APIComment|{{Template:ALTAAnalysisOptions.Analysis.Cmt}}}}
*UngroupGroupedData (as ''boolean'') {{APIComment|{{Template:ALTAAnalysisOptions.UngroupGroupedData.Cmt}}}}
*SortBeforeCalculations (as ''boolean'') {{APIComment|{{Template:ALTAAnalysisOptions.SortBeforeCalculations.Cmt}}}}


== Usage Example ==
Represents the analysis settings of the associated [[ALTADataSet Class|ALTADataSet]] object.
{{APIComment|Declare the ALTADataSet. See [[ALTADataSet Constructors]] for additional details.}}
        Dim ALTADS as New ALTADataSet


{{APIComment|Set the various Settings.}}
== Properties  ==
        ALTADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
{| {{APITable}}
        ALTADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
|-
        ALTADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
| style="width: 180px;"|Analysis||Gets or sets a value from the '''[[ALTASolverMethod_Enumeration|ALTASolverMethod]]''' enumeration, which specifies the method for estimating the parameters. Default value = 0 (MLE).
        ALTADS.AnalysisSettings.UngroupGroupedData = False
|-
        ALTADS.AnalysisSettings.SortBeforeCalculations = True
|Distribution||Gets or sets a value from the '''[[ALTASolverDistribution_Enumeration|ALTASolverDistribution]]''' enumeration, which specifies the life distribution that will be used to perform the accelerated life testing data analysis. Default value = 0 (Weibull distribution).
|-
|ModelType||Gets or sets a value from the '''[[ALTASolverModel_Enumeration|ALTASolverModel]]''' enumeration, which specifies the life-stress relationship that will be used to perform accelerated life testing data analysis. Default value = 0 (Arrhenius model).
|-
|SortBeforeCalculations||Indicates whether the failures/suspension times in the data set are sorted in ascending order before calculation. '''Boolean'''. Default value = True.
|-
|UngroupedGroupedData||Indicates whether to ungroup a grouped data set. '''Boolean'''. Default value = False.
|}
 
 
== Example ==
 
'''VBA|VB.NET'''
{{APIComment|'Declare a new ALTADataSet object.}}
  {{APIPrefix|Dim}} ADS {{APIPrefix|As New}} ALTADataSet
 
{{APIComment|'Specify the analysis settings.}}
  ADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
  ADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
  ADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
  ADS.AnalysisSettings.SortBeforeCalculations = True
  ADS.AnalysisSettings.UngroupGroupedData = False

Latest revision as of 20:30, 24 June 2016

APIWiki.png


Member of: SynthesisAPI


Represents the analysis settings of the associated ALTADataSet object.

Properties

Name Description
Analysis Gets or sets a value from the ALTASolverMethod enumeration, which specifies the method for estimating the parameters. Default value = 0 (MLE).
Distribution Gets or sets a value from the ALTASolverDistribution enumeration, which specifies the life distribution that will be used to perform the accelerated life testing data analysis. Default value = 0 (Weibull distribution).
ModelType Gets or sets a value from the ALTASolverModel enumeration, which specifies the life-stress relationship that will be used to perform accelerated life testing data analysis. Default value = 0 (Arrhenius model).
SortBeforeCalculations Indicates whether the failures/suspension times in the data set are sorted in ascending order before calculation. Boolean. Default value = True.
UngroupedGroupedData Indicates whether to ungroup a grouped data set. Boolean. Default value = False.


Example

VBA|VB.NET

 'Declare a new ALTADataSet object. 
  Dim ADS As New ALTADataSet
 
 'Specify the analysis settings. 
  ADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
  ADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
  ADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
  ADS.AnalysisSettings.SortBeforeCalculations = True
  ADS.AnalysisSettings.UngroupGroupedData = False