Confidence Interval - Theta Hit
theta_hit(lo, theta, up)
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)\). |
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)\).
Ivan Jacob Agaloos Pesigan
# FALSE theta_hit(lo = 1, theta = 0, up = 2)#> [1] FALSE# TRUE theta_hit(lo = -1, theta = 0, up = 1)#> [1] TRUE