Confidence Interval - Zero Hit

zero_hit(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)\).

Value

Returns TRUE if zero is between the interval lo \(\left( \hat{\theta}_{\mathrm{lo}} \right)\) to up \(\left( \hat{\theta}_{\mathrm{up}} \right)\). Returns FALSE if zero is outside the interval lo \(\left( \hat{\theta}_{\mathrm{lo}} \right)\) to up \(\left( \hat{\theta}_{\mathrm{up}} \right)\).

See also

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

Author

Ivan Jacob Agaloos Pesigan

Examples

# FALSE zero_hit(lo = 1, up = 2)
#> [1] FALSE
# TRUE zero_hit(lo = -1, up = 1)
#> [1] TRUE