CVb {RDHonest} | R Documentation |
Critical values for CIs based on a biased Gaussian estimator.
Description
Computes the critical value such that
the confidence interval
has coverage
, where the estimator
is normally
distributed with variance equal to
and maximum bias at most
.
Usage
CVb(B, alpha = 0.05)
Arguments
B |
Maximum bias, vector of non-negative numbers. |
alpha |
Determines CI level, |
Value
Vector of critical values, one for each value of maximum bias
supplied by B
.
Examples
## 90% critical value:
CVb(B = 1, alpha = 0.1)
## Usual 95% critical value
CVb(0)
## Returns vector with 3 critical values
CVb(B = c(0, 0.5, 1), alpha = 0.05)
[Package RDHonest version 1.0.0 Index]