Re: Coin flipping
- From: daniel_nordlund_1982@xxxxxxxxxxx
- Date: 25 Sep 2006 06:34:29 -0700
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
.
- Follow-Ups:
- Re: Coin flipping
- From: Anon.
- Re: Coin flipping
- References:
- Coin flipping
- From: daniel_nordlund_1982
- Re: Coin flipping
- From: Anon.
- Coin flipping
- Prev by Date: field f(script(A)) generated by a class script(A)
- Next by Date: Re: The maximum safe difference between Population proportions
- Previous by thread: Re: Coin flipping
- Next by thread: Re: Coin flipping
- Index(es):
Relevant Pages
|