Estimating p with Bernoulli Sample

  • Context: Graduate 
  • Thread starter Thread starter chicory
  • Start date Start date
  • Tags Tags
    Bernoulli
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
chicory
Messages
3
Reaction score
0
A Bernoulli random sample :

X=1 , Pr(X=1)=p;
X=0 , Pr(X=0)=1-p;

taken X1, ..., Xn

and if it is known that 0=< p =<0.5

find a method of moments estimator of p

If I just take estimator of P =(sum Xi )/n than the estimate p may be bigger than 0.5 as in extreme case all Xi =1 .
What should I do , take estimator of p = Max (0.5*n , Sum Xi) /n ?
 
Physics news on Phys.org
chicory said:
A Bernoulli random sample :

X=1 , Pr(X=1)=p;
X=0 , Pr(X=0)=1-p;

taken X1, ..., Xn

and if it is known that 0=< p =<0.5

find a method of moments estimator of p

If I just take estimator of P =(sum Xi )/n than the estimate p may be bigger than 0.5 as in extreme case all Xi =1 .
What should I do , take estimator of p = Max (0.5*n , Sum Xi) /n ?

Just simply state that fact, that is

P= sum Xi /n if sum Xi /n < 0.5
P= 0.5 otherwise.
 
But... is it too artificial?
Pr( estimator (p) = 0.5 ) is slightly bigger ...?
 
Artificial? You like better min( sum Xi/n, 0.5) ?

No, p will not be generally bigger and you will rarely get estimations of 0.7 or 0.8, remember that they already assure you that the real p is no higher than 0.5

Adjusting the estimation makes the value p=0.5 more common but that is irrelevant and only makes the estimation more accurate.
 
Last edited:
Thank you so much !