phi function

Find the phi coefficient of correlation between two dichotomous variables