is.outside_CI {Spower} | R Documentation |
Evaluate whether parameter is outside a given confidence interval
Description
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.
Usage
is.outside_CI(P0, CI)
Arguments
P0 |
parameter to evaluate |
CI |
confidence interval |
Value
logical
Author(s)
Phil Chalmers rphilip.chalmers@gmail.com
See Also
Examples
p0 <- .3
CI <- c(.2, .4)
is.outside_CI(p0, CI)
# complement indicates if p0 is within CI
!is.outside_CI(p0, CI)
[Package Spower version 0.2.3 Index]