ALTAAnalysisResults Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) |
||
Line 19: | Line 19: | ||
ALTADS.AddFailure(10, 1, 200) | ALTADS.AddFailure(10, 1, 200) | ||
ALTADS.AddFailure(20, 1, 200) | ALTADS.AddFailure(20, 1, 200) | ||
ALTADS.AddFailure( | ALTADS.AddFailure(5, 1, 250) | ||
{{APIComment|'Fit the data to a model using default analysis settings.}} | {{APIComment|'Fit the data to a model using default analysis settings.}} |
Revision as of 20:54, 26 March 2014
Gets the likelihood function value that was estimated from the analysis.
In ALTA, this is the LK Value that can appear in the Analysis Summary area on the control panel.
Properties
- LikelihoodValue (as double) The likelihood function value.
Usage Example
'Declare the ALTADataSet. See ALTADataSet Constructors. Dim ALTADS as New ALTADataSet 'Define a single stress. See AddStressDefinition. ALTADS.AddStressDefinition("Stress1", ALTASolverLSR.Exponential, 100) 'Add failure times to the data set. See AddFailure ALTADS.AddFailure(10, 1, 200) ALTADS.AddFailure(20, 1, 200) ALTADS.AddFailure(5, 1, 250) 'Fit the data to a model using default analysis settings. ALTADS.Calculate() 'Retrieve and save the likelihood result value. Dim Likelihood As Double Likelihood = ALTADS.AnalysisResults.LikelihoodValue