Confidence Interval - Theta Hit

theta_hit(lo, theta, up)

Arguments

lo

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

theta

Numeric. Population parameter \(\left( \theta \right)\).

up

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

Value

Returns TRUE if theta \(\left( \theta \right)\) is between the interval lo \(\left( \hat{\theta}_{\mathrm{lo}} \right)\) to up \(\left( \hat{\theta}_{\mathrm{up}} \right)\). Returns FALSE if theta \(\left( \theta \right)\) 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(), zero_hit()

Author

Ivan Jacob Agaloos Pesigan

Examples

# FALSE theta_hit(lo = 1, theta = 0, up = 2)
#> [1] FALSE
# TRUE theta_hit(lo = -1, theta = 0, up = 1)
#> [1] TRUE