Struct ber_interval_t¶
A rate with its exact interval. Assert on lo , never onp_hat .More...
#include <ber_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| double | conf |
| size_t | errors |
| double | hi |
| double | lo |
| double | p_hat |
| double | rel |
| size_t | symbols |
Detailed Description¶
Under inverse binomial sampling the trials N are the random variable, not the errors, so the naive r/N is biased (the unbiased estimator is (r-1)/(N-1)) and the interval is the Gamma/chi-square one, [chi2_{a/2}(2r)/2N, chi2_{1-a/2}(2r)/2N]. Comparing lo against a spec is the form that cannot flake on counting noise; comparing p_hat will.
Public Attributes Documentation¶
variable conf¶
Confidence level used.
variable errors¶
r.
variable hi¶
Upper confidence limit.
variable lo¶
Lower confidence limit.
variable p_hat¶
Unbiased point estimate (r-1)/(N-1).
variable rel¶
Relative standard error 1/sqrt(r).
variable symbols¶
N (or bits, for a BER).
The documentation for this class was generated from the following file native/inc/ber/ber_core.h