A helper function to find the lambda for all potential outliers in each iteration.
Usage
esd.critical(alpha, N, i)
Arguments
- alpha
(numeric
)
type-I-risk, \(\alpha\).
- N
(integer
)
the total number of samples.
- i
(integer
)
the iteration number, less than the number of biggest
potential outliers.
Value
a lambda value calculated from the formula.
Examples
esd.critical(alpha = 0.05, N = 100, i = 1)
#> [1] 3.384083