David K. Shin
Status: This Code is ready to be used in your project. Unit Testing is implemented.
Follows a formula by Cochran (1977), tested against the bootstrap method by Gatz and Smith (1995). See discussion on stackexchange forum, especially David Hoffman's comment for the computationally friendly form.