halfWidth

fun halfWidth(level: Double = DEFAULT_CONFIDENCE_LEVEL): Double

Gets the confidence interval half-width. Simply the standard error times the confidence coefficient based on a StudentT distribution approximation.

Return

A double representing the half-width or Double.NaN if < 1 observation

Parameters

level

the confidence level