Calculates confidence interval length.

len(lo, up)

Arguments

lo

Numeric. Lower limit of the estimated confidence interval \(\left( \hat{\theta}_{\mathrm{lo}} \right)\).

up

Numeric. Upper limit of the estimated confidence interval \(\left( \hat{\theta}_{\mathrm{up}} \right)\).

Details

The confidence interval length is given by $$ \mathrm{ confidence \ interval \ length } = \hat{ \theta }_{ \mathrm{ up } } - \hat{ \theta }_{ \mathrm{ lo } } $$

See also

Other confidence intervals functions: bcaci(), bcci(), evalci(), pcci(), shape(), theta_hit(), zero_hit()

Author

Ivan Jacob Agaloos Pesigan