get_empirical_variances function

Get empirical variances