Sign test - MATLAB signtest - MathWorks - MATLAB and Simulink for Technical Computing
This MATLAB function returns the p-value for a two-sided sign test. ... Test the hypothesis of zero median. Generate the sample data. rng('default') % for reproducibility x = randn(1,25); The sampling distribution of x is symmetric with zero median....