# What have I done wrong (Hypothesis Testing S2)Watch

This discussion is closed.
#1
Can anyone tell me where I've gone wrong here please:

'A coin is tossed 20 times and a head is obtained on 6 occasions. Is there evidence to suggest that the coin is biased? Use a 5% two-tailed significance test'

H0: p = 0.5
H1: p ≠ 0.5

If H0 is true, X ~ B(20, 0.5).

If the null hypothesis is true,
P(X ≥ 6) = 1 - P(X < 6) = 1 - P(X ≤ 5) = 1 - 0.0207 = 0.9793
Therefore it is not significant so the coin is not biased.

The answer at the back says it's not biased too but the probably they've worked out is 0.1154, not 0.9793 - have I done something wrong or is the answer at the back is wrong?

Also another question, which I can't answer:

Carry out the following test using the binomial distribution where the random variable X respresents the number of successes:
H0: p = 0.5
H1: p ≠0.5
n = 20
x = 7
(using a 10% level of significance)

0
13 years ago
#2
Hmm...shouldn't you be working out the probability that it's less than equal to 6? If the coin were biased, you'd get less heads, not more.

And I think the second question's the same - except use 7 instead of 6.

Hope this helps.
0
#3
(Original post by drw25)
Hmm...shouldn't you be working out the probability that it's less than equal to 6? If the coin were biased, you'd get less heads, not more.
You've got a point there but that will give me an answer of 0.0577 (from looking up the tables) not 0.1154, which is the book's answer.

(Original post by drw25)
And I think the second question's the same - except use 7 instead of 6.
I've tried answering the question the same way as I have done for the first one but I ended up with the wrong answer.
0
13 years ago
#4
0.0577 is, bizarrely, half of the right answer, though. I'm not quite sure why...maybe the two-tailedness comes into play?
0
13 years ago
#5
(Original post by drw25)
0.0577 is, bizarrely, half of the right answer, though. I'm not quite sure why...maybe the two-tailedness comes into play?
Yes, this is a two-tailed test if you say H1: p≠0.5,
so you would have to divide it, and consider both ends of the binomial distribution and then look it up in the tables for two-tailed test
0
#6
I still don't quite understand it. Can someone show me how to do the second question please.
0
X
new posts
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### University open days

• University of East Anglia
Fri, 4 Jan '19
• University of Lincoln
Mini Open Day at the Brayford Campus Undergraduate
Mon, 7 Jan '19
• Bournemouth University
Wed, 9 Jan '19

### Poll

Join the discussion

#### Did you get less than your required grades and still get into university?

Yes (64)
29.63%
No - I got the required grades (123)
56.94%
No - I missed the required grades and didn't get in (29)
13.43%