<div dir="ltr"><div>FTR: I am not aware of any NCL script/function that computes this statistic. <br><br>===<br><br></div><div>Of course, NCL can sort a series (rank) so if all elements are unique the ranks are
well defined.<br>However, what about &#39;ties&#39; ? Does the Lepage test require special handling in these cases?<br><br></div><div>undef(&quot;lepage&quot;)<br></div><div>function lepage(x:numeric, ndim[1]:integer, na[1]:integer, nb[1]:integer, ....)<br></div><div>local xsort, nab, HK<br></div><div>begin<br></div><div>     nab   = na+nb<br></div><div>     xsort = <strong>dim_pqsort_n</strong>(x,2,nDim)     ; read documentation<br>      :<br></div><div>     HK = ....<br></div><div>     HK@long_name = &quot;Lepage statistic&quot;<br></div><div>     return(HK)<br></div><div>end<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 12:28 AM, Lyndon Mark Olaguera <span dir="ltr">&lt;<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear fellow NCL Users,<div><br></div><div>Has anyone tried to do a Lepage test in ncl?</div><div>For example,Yonetani and McCabe (1994) </div><div><br></div><div>[Link to article] <a href="http://www.int-res.com/articles/cr/4/c004p013.pdf" target="_blank">http://www.int-res.com/<wbr>articles/cr/4/c004p013.pdf</a><br></div><div><br></div><div>If yes, I&#39;ll appreciate if anyone can suggest how to do this in ncl.</div><div><br></div><div>Many thanks,</div><div><br></div><div>Sincerely,</div><div><br clear="all"><div><div class="m_-6222430877216012192gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon</u></b></font></div></div></div></div></div></div></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>