Problems with ranksum function

5 views (last 30 days)
Emily
Emily on 18 Apr 2011
I am trying to do the nonparametric test on my data called ranksum or also known as Whiney-U test. I have very little data points, only as much as 13. I load the .txt files my data is in, then I define each sample file as x and y and when I put in
[p,h] =ranksum (x,y)
I get this error message
??? Undefined function or method 'statgetargs' for input arguments of type 'cell'.
Error in ==> ranksum at 56 [eid,emsg,alpha,method] = statgetargs(oknames,dflts,varargin{:});
All this stuff is another language to me... I have done this test before and it worked on another computer. Is it my file name, the data, or the different computer???...I have no idea, but I need this done tonight!
Thanks!

Answers (1)

Walter Roberson
Walter Roberson on 18 Apr 2011
If that doesn't work them please cross-check that your version of the Statistics Toolbox matches your version of MATLAB .

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!