You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,13 @@ The validity of the confidence interval is confirmed by a coverage probability s
7
7
It works by implementing an unbiased estimator of the variance of the sample variance, and then setting up the standard studentized confidence interval using the square of that unbiased estimator. So far, the strategy is the same as the one used to obtain the confidence interval for the mean, as it is implemented in the t.test function in R, for instance.
8
8
9
9
There exists a closed form for the variance of this estimator but it involves the square of the underlying distribution's variance.
10
-
The difficulty is to estimate that square.
10
+
The difficulty is to estimate that square of the variance. There is a U-statistic estimator for it but a naive implementation would be of complexity O(n^4) where n is the sample size which is prohibitively costly. In this package, we solve the problem by reducing the computation to complexity O(n) using a dynamic programming.
11
+
12
+
# Related work
13
+
There are implementations of confidence intervals but they all suffer from a drawback, either
14
+
* they assume normality of the underlying distribution, basically replacing the fourth moment with a known value.
15
+
* or they use heuristics such as bootstrapping etc., which are only approximately valid.
16
+
Here, we implemement a confidence interval that relies on the universally best (in the least-mean-squared sense) estimator of the variance of the sample variance, it being the U-statistic estimator. So, the validity of the approach is mathematically proven.
11
17
12
18
# Reference
13
19
The underlying U-statistics variance estimator is a special case of the one underlying this publication [http://dx.doi.org/10.1080/15598608.2016.1158675](http://dx.doi.org/10.1080/15598608.2016.1158675), freely available [https://epub.ub.uni-muenchen.de/27656/7/TR.pdf](here).
@@ -19,7 +25,7 @@ One can easily verify the validity of the confidence interval by choosing a popu
0 commit comments