CModel.SetConfidenceLevel

Sets the confidence level for all subsequent confidence bounds calculations. Returns a Boolean value; when true, indicates a successful update.

Syntax
.SetConfidenceLevel(Level, Sides, UseConfidenceLevelInPercents, isError)

Parameters
Level
 * Double. The confidence level, entered as a percentage. (Required)

Sides
 * The sides setting (e.g., lower bound) for this confidence level. Can be any ConfBoundsSides constant. (Required)

UseConfidenceLevelInPercents
 * Boolean. When true, the result is shown as a percentage; otherwise, it is shown as a decimal. (Required)

sError
 * String. Returns a string for any error results. (Required)

Example
VBA AModel cModel ErrorMsg String AModel.SetConfidenceLevel(0.9, ConfBoundsSides_TwoSidedBoth, False, ErrorMsg) ResultValue BoundsValues ResultValue = AModel.Bounds_Reliability(100)

VB.NET AModel cModel ErrorMsg String AModel.SetConfidenceLevel(0.9, ConfBoundsSides.TwoSidedBoth, False, ErrorMsg) ResultValue BoundsValues ResultValue = AModel.Bounds_Reliability(100)