outcome study calculates z

Signed-off-by: beccawilson <rebecca.c.wilson@gmail.com>