is.outside_CI | R Documentation |
Returns TRUE
if parameter reflecting a null hypothesis
falls outside a given confidence interval. This is an alternative approach
to writing an experiment that returns a p-value.
is.outside_CI(P0, CI)
P0 |
parameter to evaluate |
CI |
confidence interval |
logical
Phil Chalmers rphilip.chalmers@gmail.com
is.CI_within
, Spower
p0 <- .3
CI <- c(.2, .4)
is.outside_CI(p0, CI)
# complement indicates if p0 is within CI
!is.outside_CI(p0, CI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.