coding dependent variable as dummy