scalarInRange {ASSISTant} | R Documentation |
Is a scalar quantity is a specified range?
Description
Check if the argument is a scalar within specified range
Check if the argument is within specified range
Check if the argument is a scalar integer within specified range
Check if the argument is an integer vector within specified range
The computation involves a J-1
multivariate normal integral
of the conditional density of the i
-th subgroup statistic
given that it was maximal among all subgroups:
Usage
scalarInRange(x, low = -Inf, high = Inf)
numberInRange(x, low = -Inf, high = Inf)
scalarIntegerInRange(x, low = -Inf, high = Inf)
integerInRange(x, low = -Inf, high = Inf)
den.vs(v, i, mu.prime, Sigma.prime, fut)
Arguments
low |
the lower bound, default |
high |
the upper bound, default |
v |
the value of the statistic |
i |
the subgroup |
mu.prime |
the conditional mean vector of the distribution of
length |
Sigma.prime |
the conditional covariance matrix of dimension
|
fut |
the futility boundary, which is |
Details
\phi_i(v)(\int_0^v\int_0^v\ldots
\int_0^{\tilde{b}} \phi_v(z_{-i})dz_{-i})
where z_{-i}
denotes all subgroups other than i
.
Value
TRUE
or FALSE
TRUE
or FALSE
TRUE
or FALSE
TRUE
or FALSE
the conditional probability