vApp function

Approximated variance for balanced sample