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

  • Thread starter Thread starter thesandbox
  • Start date Start date
thesandbox
Messages
10
Reaction score
0

Homework Statement



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

Homework Equations



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

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

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:
Physics news on Phys.org
thesandbox said:

Homework Statement



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

Homework Equations



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

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

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.

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
 
MME := Method of Moments Estimator
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top