WeibullGeneralOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:




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


== Properties  ==
== Properties  ==
Line 26: Line 26:
The following example demonstrates how to initialize the settings for a particular WeibullDataSet object.  
The following example demonstrates how to initialize the settings for a particular WeibullDataSet object.  


  '''VBA'''
  '''VBA|VB.NET'''
   
   
  {{APIComment|'Declare a new WeibullDataSet object.}}
  {{APIComment|'Declare a new WeibullDataSet object.}}
Line 39: Line 39:
   WDS.GeneralSettings.UsePlottedYPoints = False
   WDS.GeneralSettings.UsePlottedYPoints = False
   WDS.GeneralSettings.WarnNegLocation = False
   WDS.GeneralSettings.WarnNegLocation = False
{{APIComment|'Add failure times to the data set.}}
  {{APIPrefix|Call}} WDS.AddFailure(100, 1)
  {{APIPrefix|Call}} WDS.AddFailure(120, 1)
  {{APIPrefix|Call}} WDS.AddFailure(130, 1) 
{{APIComment|'Analyze the data set.}}
  WDS.Calculate()
'''VB.NET'''
{{APIComment|'Declare a new WeibullDataSet object.}}
  {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet
 
{{APIComment|'Specify the settings.}}
  WDS.GeneralSettings.AllowBiasingNormal = False
  WDS.GeneralSettings.DiscardNegLocation = False
  WDS.GeneralSettings.ResetExpLocation = True
  WDS.GeneralSettings.Use3PTrueMLE = False
  WDS.GeneralSettings.UseExtendedGGamma = False
  WDS.GeneralSettings.UsePlottedYPoints = False
  WDS.GeneralSettings.WarnNegLocation = False
 
{{APIComment|'Add failure times to the data set.}}
  WDS.AddFailure(100, 1)
  WDS.AddFailure(120, 1)
  WDS.AddFailure(130, 1) 
{{APIComment|'Analyze the data set.}}
  WDS.Calculate()

Latest revision as of 20:26, 24 June 2016

APIWiki.png


Member of: SynthesisAPI


Represents the calculation settings of the associated WeibullDataSet object.

Properties

Name Description
AllowBiasingNormal Indicates whether to correct the MLE standard deviation (sigma) value for biasedness (applies to complete data only). Boolean. Default value = False.
DiscardNegLocation Indicates whether to discard the location parameter when it contains a negative value. Boolean. Default value = False.
ResetExpLocation Indicates whether to reset the value of the location parameter equal to the first failure time, T1, if the parameter is greater than T1. (Exponential distribution only.) Boolean. Default value = True.
Use3PTrueMLE Indicates whether to use a true 3-parameter MLE solution for 3-parameter Weibull. Boolean. Default value = False.
UseExtendedGGamma Indicates whether to allow the lambda parameter of the generalized gamma distribution to take negative values. Boolean. Default value = True.
UsePlottedYPoints Indicates whether to use the plotted points (using median ranks or Kaplan-Meier) to calculate the difference between observed and model estimated probability for the Kolmogorov-Smirnov test. Boolean. Default value = True.
WarnNegLocation Indicates whether a warning will be generated when the location parameter contains a negative value. Boolean. Default value = False.


Example

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

VBA|VB.NET

 'Declare a new WeibullDataSet object. 
  Dim WDS As New WeibullDataSet
 
 'Specify the settings. 
  WDS.GeneralSettings.AllowBiasingNormal = False
  WDS.GeneralSettings.DiscardNegLocation = False
  WDS.GeneralSettings.ResetExpLocation = True
  WDS.GeneralSettings.Use3PTrueMLE = False
  WDS.GeneralSettings.UseExtendedGGamma = False
  WDS.GeneralSettings.UsePlottedYPoints = False
  WDS.GeneralSettings.WarnNegLocation = False