sampsizepwr for signrank and ranksum non-parametric hypotesis test
Show older comments
Hi, because my data came from a non-normal distribution, I'm using "signrank" and "ranksum" as hypotesis tests to know if both vector samples X and Y have different medians. I want to know the power of the both tests when I decide to reject H0 and accept H1 if p < 0.05, and I found that "sampsizepwr" do this; but I don't know if this function can be applied to non-parametric distributions.
I saw that both "signrank" and "ranksum" use a z-test to calculate the approximated method, but this is achieved by using the rank of the data and not the data itself, so I do not know if I can use the 'z' TESTTYPE in "sampsizepwr" when data came from non-normal distrubutions.
Could any help me, please ??? Thanks, Esteban
Accepted Answer
More Answers (1)
esteban
on 3 Jan 2015
1 Comment
Star Strider
on 3 Jan 2015
Hi Esteban.
I certainly agree that no simple solution exists. The non-parametric power calculations are different from the parametric power calculations, even though the statistics themselves are normally distributed. (The only consideration preventing me from copying and posting the several pages of Hollander was copyright infringement.) I suggest you look to it when you have the opportunity, since it has a discussion of the derivation of the power calculation as well as the result. I’ve only used nonparametric statistics a few times in my career, so I don’t have the experience with them that I would like.
I am going to vote your Question up, and suggest that others do the same. This is an important topic that needs to be incorporated into the Statistics Toolbox. Perhaps you can suggest (Enhancements and Bug Reports) that TMW expand the Statistics Toolbox to include them. The contact page is http://www.mathworks.com/support/contact_us/index.html.
Thank you. I learned from your Question.
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!