Re: Coin flipping



Anon. skrev:

There are change-point models you could try, but you could probably get
a pretty good idea by using a GAM (generalised additive model) to smooth
the probability of a head (i.e. you plot H or T against the run number,
and smooth that). Depending on what you're doing, that might be enough.

Thanks! Looking into change-point models gave me some interesting
results. If I let heads=0 and tails=1, I can for example use a model
like

y(t) = 0.5 + 0.17*k(t) + e(t)

Where k(t) = 1 if t1<=t<=t2 (time is within the range [t1,t2] being
tested) and 0 otherwise. e(t) is the error term. I can then go through
all possible values of t1 and t2 and see for which values this model
gives the best fit (in a least square sense).

Now to my next question, when I have found likely values of t1 and t2
(the biased range), is it possible to calculate the probability of this
observation in fact being due to chance (with the unbiased coin)?

Daniel

.



Relevant Pages

  • Re: Coin flipping
    ... a pretty good idea by using a GAM to smooth ... the probability of a head (i.e. you plot H or T against the run number, ... the likelihood is beta distributed, and the point estimate is the proportion of tails. ...
    (sci.stat.math)
  • Re: function of uniform probability
    ... probability is *proportional* to d - c, ... I don't see that a smooth bounded periodic function ... (with a given sampling frequency fe) ...
    (sci.math)

Quantcast