BoundsValues Class
Jump to navigation
Jump to search
Stores the upper and lower confidence bounds estimated from a cModel object.
Properties
- Upper (as double) Gets the upper value.
- Lower (as double) Gets the lower value.
Usage Example
'Initialize a new cModel object (life distribution with specified parameters). See cModel. Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100) 'Specify that the 90% two-sided confidence bounds will be calculated. See cModel.SetConfidenceLevel. Dim SuccessSetConfLevel As Boolean Dim SetsError As String SuccessSetConfLevel = newModel.SetConfindenceLevel(.9, ConfBoundsSides.TwoSidedBoth, False, SetsError) Get an object containing the bounds on reliability at time = 100. Dim ModelBoundsValue as BoundsValues ModelBoundsValue = AModel.Bounds_Reliability(100) 'Save the upper and lower bounds. Dim UpperBoundValue as Double Dim LowerBoundValue as Double UpperBoundValue = ModelBoundsValue.Upper LowerBoundValue = ModelBoundsValue.Lower