Question: how to calculate standard deviation binary variable?
Answer: The standard deviation of the 1s and 0s is the square root of the mean of the squared deviations of the 1s and 0s from the mean of the 1s and 0s. Thus, where x is 1 or 0, and M is the mean x, the standard deviation of x = SQRT ( ( SUM ( ( x - M ) ^ 2 ) ) / N ).