Results 1 to 6 of 6

Math Help - Hypothesis Testing - Binomial Distribution

  1. #1
    Super Member craig's Avatar
    Joined
    Apr 2008
    Posts
    748
    Thanks
    1
    Awards
    1

    Hypothesis Testing - Binomial Distribution

    Hi, been looking over my Hypothesis Testing notes, and can't seen to find anything about testing the Binomial. For example a recent question read something like this.

    A coin was tossed 20 times, with 16 tails and 4 heads. Let Y be the number of heads thrown. How would I test this?

    Guessing you'd start off with something like:

    Y - Bi(20,p)

    H_0: p=0.5

    H_A: p \neq0.5

    Not sure how to procede from here, if I was testing a Normal Distribution I'd calculate a p-vaule, just not sure how to do it for the Binomial.

    Thanks in advance
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member craig's Avatar
    Joined
    Apr 2008
    Posts
    748
    Thanks
    1
    Awards
    1
    Just found something online that's similar to what I'm looking for.

    What they did was to calculate P(Y \leq 4) = 0.00591.

    How ever because a value of 16 heads would count against H_0 just as much, then we must also take into account P(Y \geq 4).

    P(Y \geq 4) = P(Y \leq 4) because of symmetry, so the p-value is 2(P(Y \geq 4)) = 0.0118.

    This indicates good evidence against H_0, ie. evidence against the coin being fair.

    Does this look ok?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Master Of Puppets
    pickslides's Avatar
    Joined
    Sep 2008
    From
    Melbourne
    Posts
    5,236
    Thanks
    28
    I was going to suggest finding \text{C.I}_{0.95} if p=0.5 is not in this interval reject H_0 . This could be done by using the normal approximation to the binomial. But I think n is too small in your case.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member craig's Avatar
    Joined
    Apr 2008
    Posts
    748
    Thanks
    1
    Awards
    1
    Quote Originally Posted by pickslides View Post
    I was going to suggest finding \text{C.I}_{0.95} if p=0.5 is not in this interval reject H_0 . This could be done by using the normal approximation to the binomial. But I think n is too small in your case.
    Yeh I'd done that before with a different question, but as you said n was too small this time.

    Was what I did correct?
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Master Of Puppets
    pickslides's Avatar
    Joined
    Sep 2008
    From
    Melbourne
    Posts
    5,236
    Thanks
    28
    Quote Originally Posted by craig View Post
    Yeh I'd done that before with a different question, but as you said n was too small this time.
    To have a normal approximation to the binomial then np>10 and (1-p)n>0

    In your case np = 4


    Quote Originally Posted by craig View Post

    What what I did correct?
    Not sure what you are saying here.

    Interval I had in mind was,

    \text{C.I}_{0.95} = p\pm Z_{\frac{\alpha}{2}}\times \sqrt{\frac{p(1-p)}{n}}
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Super Member craig's Avatar
    Joined
    Apr 2008
    Posts
    748
    Thanks
    1
    Awards
    1
    Quote Originally Posted by pickslides View Post
    Not sure what you are saying here.
    Oops sorry typo, fixed that.


    Quote Originally Posted by pickslides View Post
    Interval I had in mind was,

    \text{C.I}_{0.95} = p\pm Z_{\frac{\alpha}{2}}\times \sqrt{\frac{p(1-p)}{n}}
    Ahh right thankyou!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Hypothesis testing normal distribution
    Posted in the Statistics Forum
    Replies: 1
    Last Post: June 22nd 2011, 02:21 AM
  2. Hypothesis Testing with Binomial Distribution
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: May 10th 2010, 10:48 PM
  3. hypothesis testing, poisson distribution
    Posted in the Statistics Forum
    Replies: 4
    Last Post: April 17th 2010, 06:48 AM
  4. Hypothesis testing with binomial distribution
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: November 7th 2009, 12:57 PM
  5. hypothesis testing with normal distribution
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: October 29th 2009, 03:50 AM

Search Tags


/mathhelpforum @mathhelpforum