Let $X_1,\ldots X_n \sim Bern(p)$, be random variables with Bernoulli distribution and $x_1,\ldots x_n$ the observed data. This distribution has $\sigma^2$ the variance. Suppose I choose for the parameter $p$ the estimate $\hat{p}=\frac{x_1+\ldots x_n}{n}$. I want to know how the estimator $\overline X_n=\frac{X_1+\ldots X_n}{n}$ fluctuates in order to analyze whether $\hat p$ is a good estimate or not. Then I will find the variance of this estimator (the less variance the better).
Question 1.
All my reasoning is correct so far?
Question 2.
I've seen a bunch of formulas and I don't know why we have so many different formulas for the same concept (variance) and which one I need to choose.
$var(\bar X)=\frac{\sigma^2}{n}=\frac{p(1-p)}{n}$
$var(\bar X) = \frac{s^2}{n}$, where $s=\frac{\sum_{i=1}^n (x_i-\bar X)^2}{n}$
$var(\hat p)=MSE(\hat p)-bias(\hat p,p)= \mathbb E[(p-\hat p)^2]-bias(\hat p,p)$