The question:
1) Verify whether this is True or False: $$ \sum_{k=0}^n \left( \frac{k}{n} -p \right) {n \choose k} p^k(1-p)^{n-k} = 0 $$
2) This is not relevant to Q1.
The question is if $X_1,X_2,\dots,X_n$ are Bernoulli (p) RVs, then the sum of all of them is a Binomial(n,p) RVs. Is this statement True or False?
My attempt:
1) I don't know how to derive the sum of the term $$\frac{k}{n} -p$$ Without this term, the sum of the other term is indeed the pmf of Binomial Distribution and it should be equal to 1 (I am not sure if it is a good idea to make it equal 1 straight away or if I have to manipulate it further somehow). And I guess this somehow cannot be equal to 0 (just guessing). But since I stuck with deriving the first term, I still can't conclude anything about the whole sum.
2) I know it looks true at first but it is indeed false since we missed the word ''independent''. My question is why the words independent Bernoulli RVs'' is so important here ?
ps: I am not sure what the green tick means (i am new to forum) since i appreciate anyone who helps me to answer but i realize i cannot tick for everyone so may i just vote up for everyone ? Is it ok?
Any help would be appreciated. Thank you :)
Let $X$ be a random variable having binomial distribution with parameters $n$ and $p$.
Then:
$$\sum_{k=0}^{n}\left(\frac{k}{n}-p\right)\binom{n}{k}p^{k}\left(1-p\right)^{n-k}=\frac{1}{n}\sum_{k=0}^{n}kP\left(X=k\right)-p\sum_{k=0}^{n}P\left(X=k\right)=\frac{1}{n}\mathsf{E}X-p=$$$$\frac{1}{n}np-p=0$$
2) These words are important because they insure that $X:=\sum_{i=1}^nX_i$ has binomial distribution with parameters $n$ and $p$. If they are missing then for instance it is not excluded that we have $X_1=X_2=\cdots=X_n$ leading to a random variable $X=\sum_{i=1}^nX_i$ that only takes values in $\{0,n\}$, hence (for $n>1$) evidently not binomial.