fahdguthmy
New member
- Joined
- Jan 3, 2020
- Messages
- 14
Hi there.
I am attempting to perform a Monte Carlo simulation in excel to estimate the p-value using a Kruskal-Wallis test. I am currently reading the book "IBM SPSS Exact Tests" by Mehta and Patel. More specifically I am stuck on page 124 - Monte Carlo P-Values, Step number 1 which says "Generate a new one-way layout of scores by permuting the original layout, 'w', in one of of the N!/(n1!n2!...nK!) equally likely ways." What does this mean exactly? Does it mean I simply generate a random layout with no specific probability distribution or pattern as long as at least one pair in the layout is interchanged? This part has been killing me for the last month and I just can't figure it out. Every other step seems to be alright except this one step. I attached the book which is available online for free.
Please, please save me from this agony.
I am attempting to perform a Monte Carlo simulation in excel to estimate the p-value using a Kruskal-Wallis test. I am currently reading the book "IBM SPSS Exact Tests" by Mehta and Patel. More specifically I am stuck on page 124 - Monte Carlo P-Values, Step number 1 which says "Generate a new one-way layout of scores by permuting the original layout, 'w', in one of of the N!/(n1!n2!...nK!) equally likely ways." What does this mean exactly? Does it mean I simply generate a random layout with no specific probability distribution or pattern as long as at least one pair in the layout is interchanged? This part has been killing me for the last month and I just can't figure it out. Every other step seems to be alright except this one step. I attached the book which is available online for free.
Please, please save me from this agony.