+ Reply to Thread
Results 1 to 4 of 4

Thread: Sample Size Calculation for Kruskal Wallis test

  1. #1
    Points: 1,722, Level: 24
    Level completed: 22%, Points required for next Level: 78

    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Sample Size Calculation for Kruskal Wallis test




    Sorry if posted in wrong forum

    As the title says it all, how to calculate a sample size for KW test? I'm a bit of a beginner here, should we just calculate for the corresponding one-way Anova and then add 15% or so as I read somewhere or what?

    Thanks

  2. #2
    TS Contributor
    Points: 12,287, Level: 72
    Level completed: 60%, Points required for next Level: 163
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,471
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Sample Size Calculation for Kruskal Wallis test

    hi,
    in Sheskin's Hanbook of parametric and nonparametric statistical procedures there is a formula linking the significance level and sample size to the smallest difference in average ranks between any two groups that are tested. If you can express the strength of the effect you are looking for in terms of rank differences you could use the formula to derive a sample size.

    If linking the effect size to differences in average ranks is not feasible, the strategy with an additional 15 - 20% samples compared to the corresponding parametric test could be a good way to start.

    regards
    rogojel

  3. The Following User Says Thank You to rogojel For This Useful Post:

    Logician (07-07-2014)

  4. #3
    Points: 1,722, Level: 24
    Level completed: 22%, Points required for next Level: 78

    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Re: Sample Size Calculation for Kruskal Wallis test

    Thanks. So these are mainly the two ways to estimate sample size for kruskal Wallis test? any third way?

  5. #4
    TS Contributor
    Points: 12,287, Level: 72
    Level completed: 60%, Points required for next Level: 163
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,471
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Sample Size Calculation for Kruskal Wallis test


    The problem is that KW is applicable for most any distribution, but for a calculation we need a concrete one. If I had this problem and some educated guess on the distribution were availble ai would try something like bootstrapping. I would generate a sample of a given size with the known distribution, add an effect ov a given size and run the test, then repeat a large number of times. Change the effect size and repeat the whole procedure. Then change the sample size and repeat the whole procedure.

    That would give a pretty good picture I guuess

  6. The Following User Says Thank You to rogojel For This Useful Post:

    Logician (07-08-2014)

+ 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