Following is a sequence of heads (H) and tails (T)Â
in tossing a coin 14 times.Â
 HTTHHHTHTTHHTHÂ
 Test whether the heads and tails occur in randomÂ
order.
For the given sequence,
the sample size, n = 14,
number of heads, n1= 8
number of tails, n2= 6
Then for n1 = 8 and n2 = 6 and alpha = 0.05:
RL= 4, RUÂ = 11
number of runs of H, R1 =5
number of runs of T, R2= 4
so that R=R1 + R2 = 5 + 4=9
Since the observed value of "R = 9 \\in [4,11]", we accept H0. It means that the heads and tails occur in random order or it can be said that the coin is unbiased.
Comments
Leave a comment