Dear Nora,
The bug is in taking only 3 terms from the original series in Fisher's paper. At non significant samples g is small resulting in a sum over many large terms. This results in numerical errors which in turn fails to estimate the true p-value. In my submission I bypassed it by finding first the 5% significance g value and set it as a threshold below which p value is 1.

Dear Nora,
The bug is in taking only 3 terms from the original series in Fisher's paper. At non significant samples g is small resulting in a sum over many large terms. This results in numerical errors which in turn fails to estimate the true p-value. In my submission I bypassed it by finding first the 5% significance g value and set it as a threshold below which p value is 1.

Excellent function, works really well. I made a few changes that extends this program for semilogx, semilogy, and loglog plots. Check it out here: http://www.mathworks.com/matlabcentral/fileexchange/46431-format-tick-labels--extended-v2-

4

21 Jan 2014

Format Tick Labels
Replace Tick Label with Specified Formattable Objects.

Comment only