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, sError)

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

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

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

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

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)