+ Reply to Thread
Results 1 to 8 of 8

Thread: Sample Size for Chi Square test

  1. #1
    Points: 8,343, Level: 61
    Level completed: 65%, Points required for next Level: 107

    Posts
    278
    Thanks
    14
    Thanked 7 Times in 7 Posts

    Sample Size for Chi Square test




    Hello,

    I need to calculate a minimum sample size for the chi square test.

    I have two groups, sick and healthy patients, and I have a new test that should detect the sick patients. The machine tell "sick" or "healthy". I was asked to check if the results of the test (E) are independent to the status (D). This is a simple 2X2 table. What is the required sample size for the appropriate chi square test ?

  2. #2
    Super Moderator
    Points: 10,084, Level: 67
    Level completed: 9%, Points required for next Level: 366
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,820
    Thanks
    0
    Thanked 153 Times in 136 Posts

    Re: Sample Size for Chi Square test

    Quote Originally Posted by NN_STAT View Post
    Hello,

    I need to calculate a minimum sample size for the chi square test.

    I have two groups, sick and healthy patients, and I have a new test that should detect the sick patients. The machine tell "sick" or "healthy". I was asked to check if the results of the test (E) are independent to the status (D). This is a simple 2X2 table. What is the required sample size for the appropriate chi square test ?
    Basically, just look at your expected frequencies in your 2X2 table...they shouldn't be less than 5.

  3. #3
    Points: 8,343, Level: 61
    Level completed: 65%, Points required for next Level: 107

    Posts
    278
    Thanks
    14
    Thanked 7 Times in 7 Posts

    Re: Sample Size for Chi Square test

    under H0 my expected frequencies should reflect independence.

    so you are saying that I should put in every cell in the table a size of 5 patients, so I need 10 sick and 10 healthy ?

  4. #4
    Super Moderator
    Points: 10,084, Level: 67
    Level completed: 9%, Points required for next Level: 366
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,820
    Thanks
    0
    Thanked 153 Times in 136 Posts

    Re: Sample Size for Chi Square test

    Quote Originally Posted by NN_STAT View Post
    under H0 my expected frequencies should reflect independence.

    so you are saying that I should put in every cell in the table a size of 5 patients, so I need 10 sick and 10 healthy ?
    Essentially, what you need is an expected frequency of at least 5 in each of the 4 cells of a 2x2 chi-square design to justify the use of an (asymptotic) approximation of a chi-square statistic under a true null hypothesiss that the two variables are independent...Let your software package compute the expected frequencies.

  5. #5
    TS Contributor
    Points: 22,114, Level: 92
    Level completed: 77%, Points required for next Level: 236
    Awards:
    Downloads
    gianmarco's Avatar
    Location
    Italy
    Posts
    1,070
    Thanks
    160
    Thanked 212 Times in 156 Posts

    Re: Sample Size for Chi Square test

    Hi!
    May be Dragan was warning you about the fact that in order for chi-square test to be reliable none of the expected frequencies should be smaller that 5. I have made some search in the web, and I have realized that this is a rather controversial topic....but this is another story...
    As for your question, provided that I do not know the size of your sample, you could use Fisher test instead, since you have a 2x2 table. For further info, you could jump to this link.

    Hope this helps,
    Regards
    Gm
    Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read -Groucho Marx-

  6. #6
    Points: 8,343, Level: 61
    Level completed: 65%, Points required for next Level: 107

    Posts
    278
    Thanks
    14
    Thanked 7 Times in 7 Posts

    Re: Sample Size for Chi Square test

    thank you to both of you !

    ginamarco said: "I do not know the size of your sample". Well, this is the problem, I do not have one, I need to decide how many to sample....

  7. #7
    TS Contributor
    Points: 10,499, Level: 68
    Level completed: 13%, Points required for next Level: 351
    Karabiner's Avatar
    Location
    Schalke 04, Germany
    Posts
    1,607
    Thanks
    28
    Thanked 395 Times in 377 Posts

    Re: Sample Size for Chi Square test

    So you'll have to do some sample size calculations? Maybe a software like
    G*power http://www.psycho.uni-duesseldorf.de...n/aap/gpower3/
    or similar sample size calculation software can help you.

    Kind regards

    K.

  8. #8
    Points: 8,343, Level: 61
    Level completed: 65%, Points required for next Level: 107

    Posts
    278
    Thanks
    14
    Thanked 7 Times in 7 Posts

    Re: Sample Size for Chi Square test


    thanks, I found another software (PS), and now I understand the rationale behind the calculations.

+ Reply to Thread

           




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats