A helper function for computing D-coefficients used in the case of the overlapping sample if(!exists(".Rdpack.currefs")) .Rdpack.currefs <-new.env();Rdpack::insert_citeOnly(keys="BODNAR21dynshrink",package="DOSPortfolio",cached_env=.Rdpack.currefs)