updated to save group averages (and variance) for parametric statistics