Question: how to calculate the variance of geometric distribution?
Answer: Let X be a discrete random variable with the geometric distribution with parameter p. Then the variance of X is given by: var(X)=p(1−p)2.