prior to averaging over n-samples