how to calculate environmental correlation estimate