Skip to content

Commit

Permalink
version 1.01
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias-Fuchs committed Mar 6, 2019
1 parent b5ca4ab commit 96dfb08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions confIntVariance/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ConfIntVariance
Type: Package
Title: ConfIntVariance
Version: 1.0
Date: 2019-03-01
Version: 1.01
Date: 2019-03-06
Author: Mathias Fuchs
Maintainer: <[email protected]>
Description: Surrounds the usual sample variance of a univariate numeric sample with a confidence interval.
Expand Down
2 changes: 1 addition & 1 deletion confIntVariance/R/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ varianceOfSampleVariance <- function(x) {
n <- length(x)
# expectation of square minus square of expectation, and analogously for the estimators
# the first term estimates its expectation, the second term the square of the expectation of the unbiased sample variance, i.e., the square of the population variance
var(x)^2 - lsepvs2(x)
var(x)^2 - lsepvs(x)
}

# the confidence interval for the population variance around the usual unbiased sample variance
Expand Down

0 comments on commit 96dfb08

Please sign in to comment.