adds function to calculate real and null variance ratio across replicates