# Finding the MME for p of Bin(n,p)

1. Mar 31, 2012

### thesandbox

1. The problem statement, all variables and given/known data

X1,X2,...,Xk ~iid Bin(n,p) find the MME (Method of Moments Estimator) for p

2. Relevant equations

E[X] = n⋅p
Var[X] = n⋅p⋅(1-p)

Var(X) = E[X2] - [E[X]]2

3. The attempt at a solution

Does this look correct?

n⋅p⋅(1-p) = E[X2] - n2⋅p2

E[X2] = n⋅p⋅(1-p) + n2⋅p2

$\bar{X}$=n⋅p

$\bar{X}$2 = n⋅p⋅(1-p) + n2⋅p2

$\bar{X}$2 = $\bar{X}$⋅(1-p) + $\bar{X}$⋅$\bar{X}$

$\hat{p}$ = (($\bar{X}$)2 + $\bar{X}$ - $\bar{X}$2) / $\bar{X}$

Thanks.

Last edited: Mar 31, 2012
2. Mar 31, 2012

### Ray Vickson

I'm not sure what "MME" stands for; In have seen the terms MMSE, MLE, etc., but not MME. Anyway, do you want to take the sample mean $$\bar{X} = \frac{\sum_{i=1}^k X_i}{k}?$$ If so, do you want $E (\bar{X}) \text{ and } \text{Var}( \bar{X})?$ If that is what you want to get, just use standard formulas for the mean and variance of $\bar{X}$ in terms of the means and variances of the $X_i .$ You will get formulas very different from what you wrote (although I must admit I do not know exactly what you were trying to do).

RGV

3. Mar 31, 2012

### thesandbox

MME := Method of Moments Estimator