ALTAAnalysisResults Class
Jump to navigation
Jump to search
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(30, 1, 200) '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