+ Reply to Thread
Results 1 to 8 of 8

Thread: Sample Size for Chi Square test

  1. #1
    Points: 8,003, Level: 60
    Level completed: 27%, Points required for next Level: 147

    Posts
    276
    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: 9,648, Level: 65
    Level completed: 99%, Points required for next Level: 2
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,765
    Thanks
    0
    Thanked 139 Times in 125 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,003, Level: 60
    Level completed: 27%, Points required for next Level: 147

    Posts
    276
    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: 9,648, Level: 65
    Level completed: 99%, Points required for next Level: 2
    Dragan's Avatar
    Location
    Illinois, US
    Posts
    1,765
    Thanks
    0
    Thanked 139 Times in 125 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: 20,569, Level: 90
    Level completed: 44%, Points required for next Level: 281
    Awards:
    Downloads
    gianmarco's Avatar
    Location
    Italy
    Posts
    993
    Thanks
    139
    Thanked 190 Times in 139 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,003, Level: 60
    Level completed: 27%, Points required for next Level: 147

    Posts
    276
    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: 9,832, Level: 66
    Level completed: 46%, Points required for next Level: 218
    Karabiner's Avatar
    Location
    Schalke 04, Germany
    Posts
    1,496
    Thanks
    27
    Thanked 372 Times in 354 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,003, Level: 60
    Level completed: 27%, Points required for next Level: 147

    Posts
    276
    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